How I stop AI hallucinations in business apps: grounding, verification and the honest fallback

The short answer
You stop hallucinations with three layers. Ground the model so it answers only from approved sources. Verify each sentence of the answer against those sources and drop what cannot be traced. Fall back honestly when nothing survives: say you don't know and route to a person. No single layer is enough on its own.
Why 'the model got better' is not a plan
Clients often ask me to wait for the next model release before fixing hallucinations. I understand the hope. Models do get better. But a business cannot build a refund policy on 'usually right'. Legal, finance and healthcare need an answer that is right or an honest admission that it is not. That is an engineering outcome, not a model property.
So I treat hallucination as a pipeline problem. Here is the pipeline.
Layer one: grounding
The model never answers from memory about your business. It answers from a knowledge base you approved: product docs, policies, contracts, CRM facts. Retrieval pulls the relevant passages, a reranker orders them by actual relevance rather than keyword overlap, and only those passages go into the prompt alongside a strict instruction to use nothing else.
Two details matter more than people expect. First, chunking with context: a paragraph about 'the fee' is useless unless the chunk also says which product and which plan. Anthropic's contextual retrieval write-up covers why. Second, reranking: on the workforce intelligence platform I led for eFinancialCareers, adding a Cohere reranking step did more for answer quality than any prompt change we tried.

Layer two: verification
Grounding reduces hallucination. It does not eliminate it. The model can still blend two passages into a claim neither one makes. So after the answer is drafted, a second pass checks it sentence by sentence against the retrieved sources and removes anything that cannot be traced. On that same eFinancialCareers platform we called this citation validation. Every claim had to point at a passage, or it did not ship.
The assistant in the corner of this site does the same thing on a smaller scale. It answers only from the content of these pages, each line is checked against that content, and lines that fail are dropped before you see them. I log how many get dropped per run, which tells me when a prompt has drifted.
Layer three: the honest fallback
Sometimes verification leaves nothing. That is a good outcome, not a failure. The system says it does not have that information and offers a human or a link. Users forgive 'I don't know' instantly. They do not forgive a confident wrong answer about their invoice.
Side by side
| Prompt-only | Grounded | Grounded + verified | |
|---|---|---|---|
| Answers from | Model memory | Your approved sources | Your sources, checked |
| Wrong but confident | Common | Occasional | Rare |
| Can cite its source | No | Usually | Always, or it says nothing |
| Cost per answer | Lowest | Moderate | Moderate plus a check |
| Fit for | Drafting, brainstorming | Support, internal search | Finance, legal, healthcare, anything customer-facing |
What this costs you
Latency and a little money. The verification pass adds a model call, and a reranker adds a few hundred milliseconds. For a chat assistant that is invisible. For a voice agent it is tight, so there I verify only the sentences that contain a number, a date or a commitment, which is where the damage lives.
How to decide
- If a wrong answer costs you money or trust, you need all three layers. No exceptions.
- If the assistant only drafts for a human who edits, grounding alone is fine.
- Measure dropped sentences per hundred answers. If it climbs, your knowledge base has a gap, not your model.
Related reading
Sources
Related service
RAG & Document AI
AI that answers from your own data, not guesses. Sohaib builds RAG systems over documents, websites, APIs and databases, with PDF ingestion, question answering and executive summaries for contracts, financials and government forms.

