RoutingResult

Result of routing a task to a model.

Usage

Source

RoutingResult(
    model,
    reason,
    complexity,
    alternatives=list(),
)

Parameters

model: ModelProfile

The selected model profile.

reason: str

Human-readable explanation of why this model was chosen.

complexity: TaskComplexity

The estimated task complexity.

alternatives: list[ModelProfile] = list()
Other candidate models that also met requirements, ranked by preference.