The Hybrid Architecture: State Machine + LLM Reasoner
- Hard State Transitions: States (e.g.,
TRIAGE_COLLECTING ->SLOT_SELECTION ->PAYMENT_GATE ) can only transition upon meeting strict validation criteria. - Constrained Extraction Prompts: At each node, the model is only permitted to extract variables required for the current state, preventing scope drift.
- Predictable Error Recovery: If the model encounters an ambiguous caller response, the state machine triggers a deterministic clarifying fallback rather than guessing.
