What a hallucination looks like in business
Examples we see: a chatbot invents a refund window; quotes a price that was discontinued; names a feature the product lacks; cites a policy page that does not exist; or confidently answers about a competitor. The text sounds right, which is why customers believe it and why the consequences can be real. In some countries companies have been held to what their chatbots said, so treat the bot as a spokesperson.
Layer 1: Ground the answers in approved content
Use retrieval so that the model answers from passages you control rather than from memory. Then instruct it to base the answer on those passages only. This does more than any other step. It only works if the sources are accurate, current and unambiguous, so fix your documents first: remove contradictions, date everything, give each topic one authoritative page.
Layer 2: Limit the scope
Decide the topics the bot covers and write refusals for everything else. A bot for a dental clinic need not discuss politics, other clinics or medication doses. Put the allowed and disallowed topics in the instructions, and provide a standard reply such as "I can help with appointments and clinic information; for anything else, I'll connect you with the team".
Layer 3: Allow "I don't know"
Models tend to please. Give explicit permission and a script for uncertainty: if the passages do not contain the answer, say so and offer a handover or a form. Then test with questions that have no answer in your content, and count how often it still guesses.
Layer 4: Use structured data for facts that must be exact
Prices, stock, opening hours, order status and appointment availability should come from a system via an API call, not from text. Let the model format the result but not generate the value. For example, the bot calls "get order status" and reports what returns. If the call fails, it says so.
Layer 5: Require citations
Ask the bot to include the source of each answer and display it. Citations help users and let you audit. If a response has no supporting passage, block it or replace it with a handover. Some systems add a verification step where a second pass checks whether each claim in the answer is supported by the retrieved text.
Layer 6: Constrain output
Use templates for sensitive categories. A refund answer might be assembled from fixed policy text with the model only filling variables. Avoid open-ended creativity in a customer service setting: keep the temperature setting low, limit length and forbid promises, commitments and legal statements.
Layer 7: Handle conflicts and stale content
When two passages disagree, the bot should say it cannot confirm and escalate, or prefer the newer document if that rule is explicit. Set up re-indexing when pages change and remove retired pages. Many wrong answers trace back to old files still in the index.
Layer 8: Restrict actions
If the bot can take actions, such as cancelling a booking or issuing a credit, limit it. Require authentication, confirm the action with the user, cap amounts, and log everything. High-risk actions go to a person.
Layer 9: Test and monitor
Create a test set with traps: unanswerable questions, outdated facts, trick prompts. Rerun it after every change. Monitor live: review a sample of conversations weekly, read all thumbs-down answers, and track phrases such as "I'm sure" or numbers in replies, which deserve extra checks. Add every discovered error to your tests.
Layer 10: Be honest with users
State that it is an automated assistant, show sources, and provide an easy route to a person. Add a short notice that answers may be incomplete for important decisions. This sets expectations and reduces harm when mistakes happen.
A practical checklist
- Approved sources only, kept current.
- Retrieval with metadata filters.
- Exact data pulled from systems, not generated.
- Explicit "I don't know" behaviour.
- Topic limits and refusal text.
- Citations visible to users.
- Limited actions with confirmation.
- Test set and weekly log review.
- Named owner for corrections.
What does not work
Telling the model "do not hallucinate" in capital letters. It helps slightly at best. Real reduction comes from the system design around the model.
Our involvement
We design the grounding, guardrails and testing for chatbots that talk to customers, and we audit existing bots to find where their wrong answers come from.
Questions, answered
A language model generates likely-sounding text. When it lacks the facts, it can still produce a fluent answer that is wrong. Grounding it in your content and allowing "I don't know" reduces this.
It may reduce them, but it does not remove them. Design choices such as retrieval, constraints and checks matter more.
Usually not for facts. Fine-tuning shapes style and behaviour, while changing facts is easier and safer through retrieval from current documents.
Be cautious. Limit it to general information from approved content, add clear notices, and hand over to a qualified person for anything specific.