public sealed class Answer.Types.Reference.Types.ChunkInfo : IMessage<Answer.Types.Reference.Types.ChunkInfo>, IEquatable<Answer.Types.Reference.Types.ChunkInfo>, IDeepCloneable<Answer.Types.Reference.Types.ChunkInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Answer.Types.Reference.Types.ChunkInfo.
Chunk information.
Implements
IMessageAnswerTypesReferenceTypesChunkInfo, IEquatableAnswerTypesReferenceTypesChunkInfo, IDeepCloneableAnswerTypesReferenceTypesChunkInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
ChunkInfo()
public ChunkInfo()
ChunkInfo(ChunkInfo)
public ChunkInfo(Answer.Types.Reference.Types.ChunkInfo other)
Parameter | |
---|---|
Name | Description |
other |
AnswerTypesReferenceTypesChunkInfo |
Properties
Chunk
public string Chunk { get; set; }
Chunk resource name.
Property Value | |
---|---|
Type | Description |
string |
Content
public string Content { get; set; }
Chunk textual content.
Property Value | |
---|---|
Type | Description |
string |
DocumentMetadata
public Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata DocumentMetadata { get; set; }
Document metadata.
Property Value | |
---|---|
Type | Description |
AnswerTypesReferenceTypesChunkInfoTypesDocumentMetadata |
HasRelevanceScore
public bool HasRelevanceScore { get; }
Gets whether the "relevance_score" field is set
Property Value | |
---|---|
Type | Description |
bool |
RelevanceScore
public float RelevanceScore { get; set; }
Relevance score.
Property Value | |
---|---|
Type | Description |
float |