generative-ai-python

google.generativeai.protos.AttributionSourceId.SemanticRetrieverChunk

Identifier for a Chunk retrieved via Semantic Retriever specified in the GenerateAnswerRequest using SemanticRetrieverConfig.

`source` `str` Output only. Name of the source matching the request's SemanticRetrieverConfig.source. Example: ``corpora/123`` or ``corpora/123/documents/abc``
`chunk` `str` Output only. Name of the ``Chunk`` containing the attributed text. Example: ``corpora/123/documents/abc/chunks/xyz``