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

public sealed class Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent : IMessage<Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent>, IEquatable<Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent>, IDeepCloneable<Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent.

Chunk content.

Inheritance

object > Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

ChunkContent()

public ChunkContent()

ChunkContent(ChunkContent)

public ChunkContent(Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent other)
Parameter
Name Description
other AnswerTypesReferenceTypesUnstructuredDocumentInfoTypesChunkContent

Properties

Content

public string Content { get; set; }

Chunk textual content.

Property Value
Type Description
string

HasRelevanceScore

public bool HasRelevanceScore { get; }

Gets whether the "relevance_score" field is set

Property Value
Type Description
bool

PageIdentifier

public string PageIdentifier { get; set; }

Page identifier.

Property Value
Type Description
string

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