Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RetrieveContextsRequest (v0.61.0)

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

Request message for VertexRagService.RetrieveContexts.

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

#vertex_rag_store

def vertex_rag_store() -> ::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore
Returns

#vertex_rag_store=

def vertex_rag_store=(value) -> ::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore
Parameter
Returns