Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AsyncRetrieveContextsRequest.
Request message for VertexRagService.AsyncRetrieveContexts.
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
- (::Google::Cloud::AIPlatform::V1::RagQuery) — Required. Single RAG retrieve query.
#query=
def query=(value) -> ::Google::Cloud::AIPlatform::V1::RagQuery
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagQuery) — Required. Single RAG retrieve query.
Returns
- (::Google::Cloud::AIPlatform::V1::RagQuery) — Required. Single RAG retrieve query.
#tools
def tools() -> ::Array<::Google::Cloud::AIPlatform::V1::Tool>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Tool>) — Optional. The tools to use for AskContexts.
#tools=
def tools=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Tool>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Tool>) — Optional. The tools to use for AskContexts.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Tool>) — Optional. The tools to use for AskContexts.