public sealed class GroundedGenerationContent : IMessage<GroundedGenerationContent>, IEquatable<GroundedGenerationContent>, IDeepCloneable<GroundedGenerationContent>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationContent.
Base structured datatype containing multi-part content of a message.
Implements
IMessageGroundedGenerationContent, IEquatableGroundedGenerationContent, IDeepCloneableGroundedGenerationContent, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.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 |