Class ChunkInfo (0.17.0)

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

Chunk information.

Attributes

Name Description
chunk str
Chunk resource name.
content str
Chunk textual content.
document_metadata google.cloud.discoveryengine_v1beta.types.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata
Metadata of the document from the current chunk.

Classes

DocumentMetadata

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

Document metadata contains the information of the document of the current chunk.