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 \ RoutingConfigMethods
__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 |