Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
When manual routing is set, the specified model will be used directly.
Instance Attribute Summary collapse
-
#model_name ⇒ String
The model name to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode
constructor
A new instance of GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode
Returns a new instance of GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode.
10917 10918 10919 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10917 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_name ⇒ String
The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.
5-pro-001'.
Corresponds to the JSON property modelName
10915 10916 10917 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10915 def model_name @model_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10922 10923 10924 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10922 def update!(**args) @model_name = args[:model_name] if args.key?(:model_name) end |