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.
Implements
IMessageFactChunk, IEquatableFactChunk, IDeepCloneableFactChunk, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
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 |