ChunkInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Chunk information.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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_v1.types.Answer.Reference.ChunkInfo.DocumentMetadata
Document metadata. |
Classes
DocumentMetadata
DocumentMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Document metadata.