Skip to content
← How we build

backend/src/models/routing.py

"""Routing decision model produced by the Router, consumed by the Orchestrator/Skills."""

from __future__ import annotations

from pydantic import BaseModel, Field


class RoutingDecision(BaseModel):
    route_name: str | None
    skills: list[str]
    confidence: float
    matched_entities: dict = Field(default_factory=dict)
    low_confidence: bool = False
    reasoning: str

Follow the work.

Occasional updates on SignalFoundry, MarketCompass, and what we are building at CompassFoundry Labs.

No spam. Unsubscribe anytime.