generative-ai-python

google.generativeai.protos.AttributionSourceId.GroundingPassageId

Identifier for a part within a GroundingPassage.

`passage_id` `str` Output only. ID of the passage matching the ``GenerateAnswerRequest``'s GroundingPassage.id.
`part_index` `int` Output only. Index of the part within the ``GenerateAnswerRequest``'s GroundingPassage.content.