Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode

Inherits:
Object
  • Object
show all
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

The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode

Returns a new instance of GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode.



16181
16182
16183
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16181

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#model_nameString

The name of the model to use. Only public LLM models are accepted. Corresponds to the JSON property modelName

Returns:

  • (String)


16179
16180
16181
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16179

def model_name
  @model_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16186
16187
16188
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16186

def update!(**args)
  @model_name = args[:model_name] if args.key?(:model_name)
end