Class GroundingChunk (1.57.0)

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

Grounding chunk.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
web google.cloud.aiplatform_v1beta1.types.GroundingChunk.Web
Grounding chunk from the web. This field is a member of oneof_ chunk_type.
retrieved_context google.cloud.aiplatform_v1beta1.types.GroundingChunk.RetrievedContext
Grounding chunk from context retrieved by the retrieval tools. This field is a member of oneof_ chunk_type.

Classes

RetrievedContext

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

Chunk from context retrieved by the retrieval tools.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Web

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

Methods

GroundingChunk

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

Grounding chunk.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields