
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
by Owen Brin · Fenix Quill Books
🎁Buy 3 (or 2 paperbacks), choose 1 free. Your gift as an ebook on Google Play or an audiobook on Spotify — for the first 1,000 readers, until January 31, 2027.How it worksYour 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.











