Class Retrieval (1.48.0)

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

Defines a retrieval tool that model can call to access external knowledge.

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

Attributes

NameDescription
vertex_ai_search google.cloud.aiplatform_v1.types.VertexAISearch
Set to use data source powered by Vertex AI Search. This field is a member of oneof_ source.
disable_attribution bool
Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

Methods

Retrieval

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

Defines a retrieval tool that model can call to access external knowledge.

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