What Is RAG and Why Your Support Bot Shouldn't Guess
Chirps Team
2026-06-06
A customer asks your chatbot whether you refund annual plans after 30 days. A guessing bot invents a generous "yes, anytime" policy. A RAG (Retrieval-Augmented Generation) bot searches your billing page first, finds "annual plans are non-refundable after 14 days," and answers accurately—with a link to the source.
Customers can tell when a bot makes things up. One wrong refund promise costs more than a year of chat software. RAG retrieves facts from your indexed content, then generates a natural-language answer grounded in those facts—not from memory of the whole internet.
How RAG works in plain English
- A visitor asks a question in natural language.
- The system searches indexed website pages and uploaded files (PDFs, docs).
- Relevant snippets are passed to the model as context.
- The model writes an answer constrained by that context.
- If nothing relevant is found, the bot should escalate—not guess.
Before and after: the same question
Guessing bot vs RAG-powered Chirps
Question: "Do you ship to Canada and how long does it take?" Before (no RAG): "Yes! Free 2-day shipping to Canada on all orders." *(Wrong—you do not ship to Canada.)* After (Chirps RAG): "We ship to the US and UK only. Canada is not on our shipping page. I can alert the team if you want notification when we expand—what is your email?" *(Grounded in your actual shipping policy crawl.)*
Why rule-based bots failed—and what RAG still cannot do
Strengths and human handoff
- RAG handles paraphrases: "return window" vs "how long to send it back."
- Multi-part questions: shipping + duties + processing in one message.
- Still needs humans for account-specific lookups, billing disputes, and safety issues.
Common RAG mistakes (and fixes)
- Stale index after pricing changes → recrawl after every launch.
- Missing PDFs not on public HTML → upload rate cards and policy docs.
- No escalation when confidence is low → dispatch to WhatsApp/SMS/Telegram.
- Over-broad crawl pulling blog opinions → crawl canonical policy pages only.
- Voice ignored on mobile → enable browser voice on the same RAG index.
How Chirps implements RAG
Crawl your domain into a vector index. Upload PDFs for off-site content. Customize instructions for tone and boundaries. When retrieval confidence is low or the user asks for a human, dispatch fires to WhatsApp, SMS, Telegram, or Discord with the full transcript. Recrawl after pricing, shipping, or terms updates—and monthly for active catalogs.
RAG testing checklist
- Ask the ten most common tickets—verbatim and paraphrased.
- Ask a recently changed policy—confirm recrawl picked it up.
- Ask something not in docs—bot should IDK or escalate, not invent.
- Ask a trick question with a false premise ("lifetime refunds?").
- Test mobile browser voice; verify GDPR consent for EU traffic.
- Trigger escalation; confirm dispatch arrives with transcript context.
Stop guessing bots
Ground every answer in your real content—crawl your site, upload PDFs, and escalate when the bot should not guess.