Discovery Engine v1beta API - Class FactChunk (1.0.0-beta17)

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

Reference documentation and code samples for the Discovery Engine v1beta API class FactChunk.

Fact Chunk.

Inheritance

object > FactChunk

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

FactChunk()

public FactChunk()

FactChunk(FactChunk)

public FactChunk(FactChunk other)
Parameter
Name Description
other FactChunk

Properties

ChunkText

public string ChunkText { get; set; }

Text content of the fact chunk. Can be at most 10K characters long.

Property Value
Type Description
string

Index

public int Index { get; set; }

The index of this chunk. Currently, only used for the streaming mode.

Property Value
Type Description
int

Source

public string Source { get; set; }

Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.

Property Value
Type Description
string

SourceMetadata

public MapField<string, string> SourceMetadata { get; }

More fine-grained information for the source reference.

Property Value
Type Description
MapFieldstringstring