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.
11641 11642 11643 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11641 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
11639 11640 11641 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11639 def model_name @model_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11646 11647 11648 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11646 def update!(**args) @model_name = args[:model_name] if args.key?(:model_name) end |