How to Build an AI Support Chatbot That Can Show Its Sources

A customer asks whether a sale item can be returned. Your chatbot confidently says yes. The current policy says clearance purchases are final. A fluent answer just turned a support question into a dispute. Here’s how to build a chatbot that can show where its answer came from.

Books organized on shelves inside a library
Photo by CHUTTERSNAP on Unsplash

What RAG does for a customer support chatbot

Retrieval-augmented generation (RAG) gives a language model approved material to read before it writes an answer. For a returns question, the system retrieves relevant sections from the current returns policy, then asks the model to answer from that text and link to the source. Modern retrieval tools can search for related meaning as well as exact words. Your team still decides which documents qualify as evidence and who can access them. OpenAI retrieval documentation

Start with three documents your team already trusts

  1. Choose a current returns policy, a shipping FAQ and a contact or escalation guide. Assign each document an owner and include an effective date.
  2. Split documents at meaningful headings and keep a link from each section to the original policy. Archive expired versions separately so the bot searches only current guidance.
  3. Ask the bot to answer with a source when it has evidence and hand off when the evidence is missing or conflicts. Keep customer records outside the public search collection.

Use two layers when a question involves someone’s order

A policy lookup can explain whether standard delivery typically takes two or five business days. A question like “Where is my package?” needs an authenticated order lookup. Give the public bot access to general guidance and let an authenticated workflow handle personal order details. Have staff own exceptions such as delivery disputes and policy overrides.

Test the answers your customers actually need

Collect 20 common questions and add a handful of ambiguous, out-of-scope and policy-change cases. Check whether the bot found the right document, answered correctly, showed a working source link, and handed off when appropriate. Repeat the test whenever you change a policy or the underlying model. Track wrong answers alongside handoffs so a lower escalation rate never hides a drop in quality.

See how the bot handles a returns question

“Can I return a clearance item?”

If the current policy explicitly marks clearance purchases as final sale, answer in one sentence and link to the clearance section.

“A staff member promised an exception. Can you approve it?”

Offer a handoff. The chatbot can explain the standard policy and share the customer’s question with the team through the approved support channel.

Explore a support chatbot built around your own policies or book a free consultation with Enterprise97.


nieuwe casinos casino zonder cruks