Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AskContextsRequest.
Agentic Retrieval Ask API for RAG.
Request message for VertexRagService.AskContexts .
Generated from protobuf message google.cloud.aiplatform.v1.AskContextsRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
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
↳ tools
getParent
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}
.
string
setParent
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}
.
var
string
$this
getQuery
Required. Single RAG retrieve query.
hasQuery
clearQuery
setQuery
Required. Single RAG retrieve query.
$this
getTools
Optional. The tools to use for AskContexts.
setTools
Optional. The tools to use for AskContexts.
$this
static::build
parent
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}
. Please see VertexRagServiceClient::locationName()
for help formatting this field.
query

