Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode

Returns a new instance of GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode.



966
967
968
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 966

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

Instance Attribute Details

#model_nameString

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

Returns:

  • (String)


964
965
966
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 964

def model_name
  @model_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



971
972
973
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 971

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