Google Cloud Ai Platform V1 Client - Class ManualRoutingMode (1.6.0)

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

When manual routing is set, the specified model will be used directly.

Generated from protobuf message google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingMode

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig \ RoutingConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_name string

The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.

getModelName

The model name to use. Only the public LLM models are accepted. e.g.

'gemini-1.5-pro-001'.

Returns
Type Description
string

hasModelName

clearModelName

setModelName

The model name to use. Only the public LLM models are accepted. e.g.

'gemini-1.5-pro-001'.

Parameter
Name Description
var string
Returns
Type Description
$this