Google Cloud Ai Platform V1 Client - Class Model (1.13.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Model.

Metadata of the backend deployed model.

Generated from protobuf message google.cloud.aiplatform.v1.AugmentPromptRequest.Model

Namespace

Google \ Cloud \ AIPlatform \ V1 \ AugmentPromptRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model string

Optional. The model that the user will send the augmented prompt for content generation.

↳ model_version string

Optional. The model version of the backend deployed model.

getModel

Optional. The model that the user will send the augmented prompt for content generation.

Returns
Type Description
string

setModel

Optional. The model that the user will send the augmented prompt for content generation.

Parameter
Name Description
var string
Returns
Type Description
$this

getModelVersion

Optional. The model version of the backend deployed model.

Returns
Type Description
string

setModelVersion

Optional. The model version of the backend deployed model.

Parameter
Name Description
var string
Returns
Type Description
$this