Discovery Engine v1 API - Class GroundedGenerationContent (1.5.0)

public sealed class GroundedGenerationContent : IMessage<GroundedGenerationContent>, IEquatable<GroundedGenerationContent>, IDeepCloneable<GroundedGenerationContent>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationContent.

Base structured datatype containing multi-part content of a message.

Inheritance

object > GroundedGenerationContent

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

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