Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AugmentPromptRequest.
Request message for AugmentPrompt.
Generated from protobuf message google.cloud.aiplatform.v1.AugmentPromptRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ vertex_rag_store
↳ parent
string
Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}
.
↳ contents
↳ model
getVertexRagStore
Optional. Retrieves contexts from the Vertex RagStore.
hasVertexRagStore
setVertexRagStore
Optional. Retrieves contexts from the Vertex RagStore.
$this
getParent
Required. The resource name of the Location from which to augment prompt.
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 augment prompt.
The users must have permission to make a call in the project.
Format: projects/{project}/locations/{location}
.
var
string
$this
getContents
Optional. Input content to augment, only text format is supported for now.
setContents
Optional. Input content to augment, only text format is supported for now.
$this
getModel
Optional. Metadata of the backend deployed model.
hasModel
clearModel
setModel
Optional. Metadata of the backend deployed model.
$this
getDataSource
string
static::build
parent
string
Required. The resource name of the Location from which to augment prompt.
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.
model
vertexRagStore

