Class ChunkInfo (0.13.3)

ChunkInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
chunk str
Chunk resource name.
content str
Chunk textual content.
relevance_score float
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. This field is a member of oneof_ _relevance_score.
document_metadata google.cloud.discoveryengine_v1beta.types.Answer.Reference.ChunkInfo.DocumentMetadata
Document metadata.

Classes

DocumentMetadata

DocumentMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Document metadata.