
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
di Owen Brin · Fenix Quill Books
🎁Compra 3 libri (o 2 cartacei), scegline 1 in regalo. Il tuo regalo in ebook o audiolibro su Google Play, oppure in audiolibro su Spotify — per i primi 1,000 lettori, fino al 31 gennaio 2027Come funzionaYour 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.











