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.

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
vertex_ai_search google.cloud.aiplatform_v1beta1.types.VertexAISearch
Set to use data source powered by Vertex AI Search. This field is a member of oneof_ source.
vertex_rag_store google.cloud.aiplatform_v1beta1.types.VertexRagStore
Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. 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.

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