Google Cloud Ai Platform V1 Client - Class ModelRoutingPreference (1.13.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ModelRoutingPreference.

The model routing preference.

Protobuf type google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig \ RoutingConfig \ AutoRoutingMode

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN

Value: 0

Unspecified model routing preference.

Generated from protobuf enum UNKNOWN = 0;

PRIORITIZE_QUALITY

Value: 1

Prefer higher quality over low cost.

Generated from protobuf enum PRIORITIZE_QUALITY = 1;

BALANCED

Value: 2

Balanced model routing preference.

Generated from protobuf enum BALANCED = 2;

PRIORITIZE_COST

Value: 3

Prefer lower cost over higher quality.

Generated from protobuf enum PRIORITIZE_COST = 3;