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.



195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 195

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