Class: Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/content.rb

Overview

When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.

Defined Under Namespace

Modules: ModelRoutingPreference

Instance Attribute Summary collapse

Instance Attribute Details

#model_routing_preference::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode::ModelRoutingPreference

Returns The model routing preference.



273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 273

class AutoRoutingMode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The model routing preference.
  module ModelRoutingPreference
    # Unspecified model routing preference.
    UNKNOWN = 0

    # Prefer higher quality over low cost.
    PRIORITIZE_QUALITY = 1

    # Balanced model routing preference.
    BALANCED = 2

    # Prefer lower cost over higher quality.
    PRIORITIZE_COST = 3
  end
end