Discovery Engine v1beta API - Class Answer.Types.Reference.Types.ChunkInfo (1.0.0-beta18)

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 v1beta API class Answer.Types.Reference.Types.ChunkInfo.

Chunk information.

Inheritance

object > Answer.Types.Reference.Types.ChunkInfo

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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

ChunkAsChunkName

public ChunkName ChunkAsChunkName { get; set; }

ChunkName-typed view over the Chunk resource name property.

Property Value
Type Description
ChunkName

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; }

The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.

Property Value
Type Description
float