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.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 219

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