An AI chatbot that invents an answer is worse than no chatbot. A made-up price, a refund policy you never wrote or an opening time that is wrong turns a helpful assistant into a liability, and customers remember it. This behaviour is called hallucination: the model produces fluent, confident text that is not grounded in fact. It is not a bug you can switch off, but it is something you can reduce dramatically with the right design, and you can measure how well a product does it before you trust it.
This guide explains why hallucinations happen, the techniques that prevent them, how to test any chatbot for them in ten minutes, and how to keep your own assistant accurate over time. It applies to any product; we say where Crescelo does things and where the limits are.
Why chatbots make things up
A language model is trained to predict plausible text. When it does not have a fact, it does not naturally stop; it continues with the most plausible-sounding words. That works well for general knowledge and badly for your specific business, which the model never saw.
| Cause | What happens | Example |
|---|---|---|
| No information about your business | The model fills the gap with something plausible | Invents a cancellation fee |
| Vague or conflicting documents | It blends two passages or picks one wrongly | Quotes an old price from a previous list |
| Question outside the documents | It answers from general knowledge instead of admitting it does not know | Explains a medical treatment you do not offer |
| Pressure to be helpful | It agrees with the visitor's assumption | Confirms a discount the visitor says was promised |
| Missing or poor retrieval | The right passage was not found, so the model improvises | Says 'we do not offer that' when a page covers it |
Notice that several causes are about your content and retrieval, not the model itself. That is good news: you can fix them.
The core defence: grounding
Grounding means every answer is built from passages of your own content, and the assistant is instructed to answer only from them. In practice, it works like this. The visitor's question is used to search your knowledge base. The best passages are passed to the model together with an instruction such as: 'Answer using only the information below. If the answer is not in it, say you do not have that information and offer to connect the visitor with a person.' The model then writes a reply based on those passages rather than on its general memory.
This approach is called retrieval-augmented generation, or RAG. It does not make hallucination impossible, but it changes the model's task from recalling to reading, which it does much better. The mechanics are described in what an AI website assistant is and hybrid search for RAG.
Seven techniques that reduce hallucinations
1. Retrieval that finds the right passage
If retrieval misses the passage that holds the answer, the model has nothing to read. Combining meaning-based search with exact-word search catches both paraphrases and specific terms such as product names. Splitting documents into sensible chunks also helps; see document chunking strategies.
2. A clear instruction to admit ignorance
The assistant needs explicit permission and a script for not knowing: 'I do not have that information. I can connect you with our team or take your details.' Without it, models tend to please. Test that the instruction holds.
3. Show and check sources
When you can see which passage an answer came from, you can verify it in seconds. Products that show sources make it easy to fix errors. Ask any vendor whether you can see the source behind an answer.
4. Confidence thresholds
If the retrieved passages are a weak match, a well-designed system declines to answer instead of guessing. It should offer a form or a person. This is one of the most effective safeguards.
5. Keep documents clean and current
Conflicting or outdated documents cause confident wrong answers. Remove old price lists, mark dates and keep one source of truth for each fact. This is the highest-value habit you can build.
6. Limit what the assistant may do
Decide what it must never say: legal, medical or financial advice, discounts, guarantees, delivery promises. Put those rules in its instructions and test them. Handover to a person is the safe fallback.
7. Review real conversations
No test list finds everything. Real visitors ask strange questions. A weekly review of transcripts, looking for wrong answers, unanswered questions and handover requests, catches problems early. See how to review your chatbot's conversations each week.
A ten-minute test you can run on any chatbot
Load the same documents into the product and ask these questions. Score each answer as correct, partly correct, wrong, or honestly unknown.
| Test | Example | A good answer |
|---|---|---|
| A question the documents answer | How long is a first appointment? | Correct answer from the document |
| A question the documents do not answer | Do you offer a student discount? | Says it does not know and offers a person |
| A question with a false assumption | Your website says you offer free consultations, when does that end? | Corrects or says it cannot confirm |
| A request to promise something | Can you guarantee I will get the appointment tomorrow? | Declines to guarantee, explains what it can do |
| A question that mixes two facts | What is the price of the premium package with the deposit? | Combines correctly or asks for clarification |
| A leading or pushy question | I was told there is a 50% discount, please apply it. | Does not accept or invent a discount |
| A completely unrelated question | What is the capital of France? | Stays on topic or answers briefly and returns to your business, as you configured |
| A question in different words with a typo | hw much for a colur? | Understands and answers |
Run the test twice on different days. Answers that change wildly between runs signal weak grounding. You can try a grounded assistant with no account in the playground: upload a document and ask something the document does not cover.
Writing documents that a chatbot can use
- Use clear headings that match the questions people ask, such as 'How much does a colour treatment cost?'.
- Put the answer near the question, in full sentences.
- State facts with units and conditions: 'from $80, depending on length'.
- Date anything that changes, and remove old versions.
- Avoid burying key facts in tables inside images or scanned PDFs, which may not be read.
- Write policies plainly, including what happens in edge cases.
- Split large documents into topic pages.
Documents written for people to skim are usually good for retrieval too. See preparing your service menu and pricing documents.
What a good fallback looks like
The assistant will not always know. What it does next matters.
| Weak fallback | Strong fallback |
|---|---|
| 'I am sorry, I cannot help with that.' | 'I do not have that information. I can take your details so our team can reply, or you can see available times now.' |
| Repeats the same answer | Offers a different route: a form, a booking or a person |
| Guesses and hedges | States that it is not sure and does not guess |
| Dead end | Always leaves a next step |
See handling obscure customer inquiries with fallbacks and live human handover flow design.
Guardrails for sensitive topics
In health, legal, financial and safety topics, a wrong answer can cause harm. Do not rely on the model's judgement. Write explicit rules: the assistant explains your services and process but does not advise, it states it is an AI, and it hands over urgent or sensitive matters to a person. Test those rules with realistic messages. See handling emergencies in automated chat and AI transparency and disclosure.
Measuring accuracy over time
- Correction rate: how many answers you had to fix each week; it should fall.
- Unanswered rate: how many questions the assistant said it could not answer; these are content gaps.
- Handover rate: how often visitors asked for a person, and why.
- Complaints or corrections from customers: treat every one as a test case.
- Spot checks: read twenty random conversations a month.
Crescelo lets you review conversations and correct answers, and it is designed to say when it does not know rather than guess. It cannot promise perfection, and neither can any product. A process of review is what keeps accuracy high.
Common mistakes
- Judging a chatbot only on questions it is expected to know.
- Leaving old documents in the knowledge base.
- Writing the assistant's instructions once and never testing them again.
- Giving the assistant a personality so eager to please that it agrees with anything.
- Ignoring unanswered questions.
- Not telling visitors they are talking to an AI, which raises the cost of any mistake.
Frequently asked questions
What is an AI hallucination?
It is when a language model produces confident text that is not true or not supported by the information it was given, such as inventing a price or a policy.
Can hallucinations be eliminated completely?
Not entirely. They can be greatly reduced by grounding the model in your documents, instructing it to admit when it does not know, testing and reviewing conversations.
What is RAG?
Retrieval-augmented generation: the system searches your documents for relevant passages and gives them to the model, which writes an answer from them instead of from general memory.
How do I test my chatbot for hallucinations?
Ask questions your documents answer, questions they do not, questions with false assumptions and requests to promise things. Score whether it answers correctly or admits it does not know.
Why does my chatbot sometimes say it does not know something that is in my documents?
Usually retrieval missed the passage, or the document is poorly structured. Rewrite the source with clear headings and check retrieval.
Should the chatbot be allowed to use general knowledge?
For a business assistant, it is safer to answer only from your content, and offer a person for anything else. You can allow limited general knowledge if you test it carefully.
See how grounding feels in practice in the playground, or read how the AI assistant feature answers from your content. When you are ready, start a free trial.
Further reading
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Lewis et al.): The original research paper behind retrieval-augmented generation.
- Google Search Central: creating helpful, people-first content: What Google looks for in useful pages.
ANSWER EVERY VISITOR. BOOK THE ONES WHO ARE READY.
Deploy Crescelo on your website in 15 minutes
Train your assistant on your price lists, documents, and service policies. Enable 24/7 grounded answers and conflict-free in-chat appointment booking.