Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::AskContextsRequest (v1.37.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AskContextsRequest.

Agentic Retrieval Ask API for RAG. Request message for VertexRagService.AskContexts.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.
Returns
  • (::String) — Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

#query

def query() -> ::Google::Cloud::AIPlatform::V1::RagQuery
Returns

#query=

def query=(value) -> ::Google::Cloud::AIPlatform::V1::RagQuery
Parameter
Returns

#tools

def tools() -> ::Array<::Google::Cloud::AIPlatform::V1::Tool>
Returns

#tools=

def tools=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Tool>
Parameter
Returns