DeploymentRouting interface

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

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?: string

Property Value

string

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?: DeploymentModel[]

Property Value