Class ChunkInfo (0.12.2)

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.