Routing, Fallbacks, and Graceful Degradation
Language AI HandbookAll chapters A support assistant can still show an official return policy if the component that normally summarizes it is down. The same fallback may be useless for a question that depends on a personal order record. The router needs to know which components are permitted to see the request, which are available, and what information would make a response useful. Those checks lead to different branches.
We will build a three-tier cascade for fictional support answers. A seeded simulation compares fixed policies on identical candidate responses, then separate fixtures test provider unavailability, eligibility, partial service, and abstention. The notebook uses local Python 3.11 records and Matplotlib through the repository's locked runtime. It calls no model or network service.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!