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
Returns
- (::Boolean) — 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.
#disable_attribution=
def disable_attribution=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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.
Returns
- (::Boolean) — 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.
#vertex_ai_search
def vertex_ai_search() -> ::Google::Cloud::AIPlatform::V1::VertexAISearch
Returns
- (::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.
#vertex_ai_search=
def vertex_ai_search=(value) -> ::Google::Cloud::AIPlatform::V1::VertexAISearch
Parameter
- value (::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.
Returns
- (::Google::Cloud::AIPlatform::V1::VertexAISearch) — Set to use data source powered by Vertex AI Search.