public sealed class GroundedGenerationContent : IMessage<GroundedGenerationContent>, IEquatable<GroundedGenerationContent>, IDeepCloneable<GroundedGenerationContent>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationContent.
Base structured datatype containing multi-part content of a message.
Implements
IMessageGroundedGenerationContent, IEquatableGroundedGenerationContent, IDeepCloneableGroundedGenerationContent, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
GroundedGenerationContent()
public GroundedGenerationContent()GroundedGenerationContent(GroundedGenerationContent)
public GroundedGenerationContent(GroundedGenerationContent other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundedGenerationContent |
Properties
Parts
public RepeatedField<GroundedGenerationContent.Types.Part> Parts { get; }Ordered Parts that constitute a single message.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldGroundedGenerationContentTypesPart |
|
Role
public string Role { get; set; }Producer of the content. Must be either user or model.
Intended to be used for multi-turn conversations. Otherwise, it can be left unset.
| Property Value | |
|---|---|
| Type | Description |
string |
|