Class Retrieval (1.62.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

Name Description
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. Deprecated. This option is no longer supported.

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