
When the Bot Should Not Answer
Build and Test a RAG Support Assistant in Plain Python That Cites Its Sources, Says When It Doesn't Know, and Hands Off to a Human
von Owen Brin · Fenix Quill Books
🎁Kauf 3 (oder 2 Taschenbücher), wähl 1 gratis. Dein Geschenk als E-Book oder Hörbuch auf Google Play oder als Hörbuch auf Spotify – für die ersten 1,000 Leserinnen und Leser, bis 31. Januar 2027So funktioniert’sYour help desk bot answered a customer with confidence, and it was wrong. Or it quoted an internal note. Or it answered a question your documents never cover. This book shows you how to build a support assistant that drafts answers with sources, keeps restricted documents away from the wrong people, says when the knowledge base has no answer, and hands hard cases to a person.
When the Bot Should Not Answer is a hands-on guide to retrieval-augmented generation (RAG) for customer support, in plain Python. You build one complete assistant for an invented help desk and test it question by question, so you see what it does on your own questions before your agents rely on it.
HOW DO I STOP A RAG ASSISTANT FROM ANSWERING WHEN IT SHOULD NOT?
Filter by role before you search. Remove retired articles. Set a minimum search score on practice questions. Route legal threats, chargebacks, and large refunds to a person. Ask for detail when a ticket is too vague. Make every sentence of a draft cite the passage it came from, then check every citation in code. Test all of it on questions you wrote before you chose any setting.











