generative-ai-python

google.generativeai.protos.AttributionSourceId

Identifier for the source contributing to this attribution.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

`grounding_passage` `google.ai.generativelanguage.AttributionSourceId.GroundingPassageId` Identifier for an inline passage. This field is a member of `oneof`_ ``source``.
`semantic_retriever_chunk` `google.ai.generativelanguage.AttributionSourceId.SemanticRetrieverChunk` Identifier for a ``Chunk`` fetched via Semantic Retriever. This field is a member of `oneof`_ ``source``.

Child Classes

class GroundingPassageId

class SemanticRetrieverChunk