How AI hallucinations happen
A language model writes its reply one piece at a time, picking words that are likely to come next. Nothing in that process checks whether a statement is true. When the facts it needs are in front of it, the model usually repeats them faithfully. When they're missing, it can fill the gap with something that reads just as smoothly.
In customer service, most hallucinations start with one of four gaps:
- Missing knowledge. The help center doesn't cover the question, so the model answers from general patterns.
- Conflicting sources. Two articles give different refund windows, and the model blends them or picks the old one.
- Failed lookups. A call to the order system errors out, and the model writes a plausible status anyway.
- Instructions that only reward helpfulness. Nothing tells the agent it's fine to say it doesn't know.
Examples in customer service
- A shopper asks about returns and hears about a 60-day window the policy never offered.
- A caller is told a package arrives Thursday, although the tracking lookup returned nothing.
- An agent says "I've refunded your order" when no refund action ran.
- A reply cites a help article, complete with a title and a link, that doesn't exist.
Why hallucinations matter
A wrong answer from an AI agent arrives in the same confident tone as a right one, so customers have no reason to doubt it. They act on it, and the cost lands later: an exception the company has to honor, a complaint, a second contact.
Companies can be held to those answers. In Moffatt v. Air Canada (2024), a British Columbia tribunal found the airline responsible for wrong bereavement fare information its website chatbot gave a customer. The airline argued it couldn't be held liable for what the chatbot said, and the tribunal rejected that, holding it responsible for all the information on its website, chatbot included.
AI hallucination vs grounding and guardrails
Hallucination is the failure. AI grounding and AI guardrails are two of the main defenses against it. Grounding hands the model the facts at the moment it answers, so it has less reason to invent them. Guardrails set the rules it works within, such as never confirming an action that didn't run.
Testing before launch, and reviewing real conversations after it, shows whether both are holding up. For step-by-step fixes, see this guide on how to prevent LLM hallucinations.