Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig.
The configuration for routing the request to a specific model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_mode
def auto_mode() -> ::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode- (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode) — Automated routing.
Note: The following fields are mutually exclusive:
auto_mode,manual_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auto_mode=
def auto_mode=(value) -> ::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode- value (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode) — Automated routing.
Note: The following fields are mutually exclusive:
auto_mode,manual_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
- (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode) — Automated routing.
Note: The following fields are mutually exclusive:
auto_mode,manual_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#manual_mode
def manual_mode() -> ::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode- (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode) — Manual routing.
Note: The following fields are mutually exclusive:
manual_mode,auto_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#manual_mode=
def manual_mode=(value) -> ::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode- value (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode) — Manual routing.
Note: The following fields are mutually exclusive:
manual_mode,auto_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
- (::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode) — Manual routing.
Note: The following fields are mutually exclusive:
manual_mode,auto_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.