public sealed class GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode : IMessage<GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode>, IEquatable<GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode>, IDeepCloneable<GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode.
When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.
Implements
IMessageGenerationConfigTypesRoutingConfigTypesAutoRoutingMode, IEquatableGenerationConfigTypesRoutingConfigTypesAutoRoutingMode, IDeepCloneableGenerationConfigTypesRoutingConfigTypesAutoRoutingMode, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
AutoRoutingMode()
public AutoRoutingMode()
AutoRoutingMode(AutoRoutingMode)
public AutoRoutingMode(GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode other)
Parameter | |
---|---|
Name | Description |
other |
GenerationConfigTypesRoutingConfigTypesAutoRoutingMode |
Properties
HasModelRoutingPreference
public bool HasModelRoutingPreference { get; }
Gets whether the "model_routing_preference" field is set
Property Value | |
---|---|
Type | Description |
bool |
ModelRoutingPreference
public GenerationConfig.Types.RoutingConfig.Types.AutoRoutingMode.Types.ModelRoutingPreference ModelRoutingPreference { get; set; }
The model routing preference.
Property Value | |
---|---|
Type | Description |
GenerationConfigTypesRoutingConfigTypesAutoRoutingModeTypesModelRoutingPreference |