Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Retrieval.
Defines a retrieval tool that model can call to access external knowledge.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disable_attribution
def disable_attribution() -> ::Boolean- (::Boolean) — Optional. Deprecated. This option is no longer supported.
#disable_attribution=
def disable_attribution=(value) -> ::Boolean- value (::Boolean) — Optional. Deprecated. This option is no longer supported.
- (::Boolean) — Optional. Deprecated. This option is no longer supported.
#vertex_ai_search
def vertex_ai_search() -> ::Google::Cloud::AIPlatform::V1::VertexAISearch-
(::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search,vertex_rag_store. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vertex_ai_search=
def vertex_ai_search=(value) -> ::Google::Cloud::AIPlatform::V1::VertexAISearch-
value (::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search,vertex_rag_store. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search,vertex_rag_store. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vertex_rag_store
def vertex_rag_store() -> ::Google::Cloud::AIPlatform::V1::VertexRagStore-
(::Google::Cloud::AIPlatform::V1::VertexRagStore) — Set to use data source powered by Vertex RAG store.
User data is uploaded via the VertexRagDataService.
Note: The following fields are mutually exclusive:
vertex_rag_store,vertex_ai_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vertex_rag_store=
def vertex_rag_store=(value) -> ::Google::Cloud::AIPlatform::V1::VertexRagStore-
value (::Google::Cloud::AIPlatform::V1::VertexRagStore) — Set to use data source powered by Vertex RAG store.
User data is uploaded via the VertexRagDataService.
Note: The following fields are mutually exclusive:
vertex_rag_store,vertex_ai_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::VertexRagStore) — Set to use data source powered by Vertex RAG store.
User data is uploaded via the VertexRagDataService.
Note: The following fields are mutually exclusive:
vertex_rag_store,vertex_ai_search. If a field in that set is populated, all other fields in the set will automatically be cleared.