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
- (::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.
#vertex_rag_store
def vertex_rag_store() -> ::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore Returns
- (::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore) — The data source for Vertex RagStore.
#vertex_rag_store=
def vertex_rag_store=(value) -> ::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore Parameter
- value (::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore) — The data source for Vertex RagStore.
Returns
- (::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore) — The data source for Vertex RagStore.