Discovery Engine v1beta API - Class GroundedGenerationContent (1.0.0-beta18)

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.

Inheritance

object > GroundedGenerationContent

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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