Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Retrieval (v0.44.0)

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

#vertex_ai_search=

def vertex_ai_search=(value) -> ::Google::Cloud::AIPlatform::V1::VertexAISearch
Parameter
Returns