DeploymentRoutingInput interface

Input type for Routing configuration for the model-router deployment. Specifies how requests are routed across multiple models.

Extends

Properties

mode

The model-router routing mode that determines how requests are distributed across models.

models

Optional. The list of model-router supported models that the model router can use to route requests across. If not specified, the model router will route to all available models specified in the model-router version.

Property Details

mode

The model-router routing mode that determines how requests are distributed across models.

mode?: ExpressionOrValue<string>

Property Value

models

Optional. The list of model-router supported models that the model router can use to route requests across. If not specified, the model router will route to all available models specified in the model-router version.

models?: any

Property Value

any