AI chatbot giving wrong answers? How to find the cause and fix it
Most wrong chatbot answers come from one of six causes: the bot has no access to the right information, it retrieves the wrong passage, its source documents are out of date, its instructions let it guess, nobody tests it, or it has no route to a person. Collect twenty wrong answers, sort them by cause, and fix the commonest cause first. Better prompting alone rarely fixes it.
First, collect the wrong answers
Do not start by changing the prompt. Export the conversation logs and pull out twenty answers that were wrong. For each one, note the question, the answer, and what the correct answer was and where it is written down. If your chatbot does not keep logs, that is the first fix, because nothing below can be diagnosed without them.
Then sort the twenty by cause, using the table below. Most bots have one dominant cause.
| What you see | Most likely cause |
|---|---|
| Confident answers about things that are not in any of your documents | 1. No grounding |
| Answers that are correct for a different product, plan or city | 2. Wrong passage retrieved |
| Old prices, discontinued products, last year's policy | 3. Stale source documents |
| Plausible guesses where it should have said "I don't know" | 4. Instructions that allow guessing |
| A fix to one answer broke another | 5. No test set |
| Refunds, complaints or legal questions answered by the bot | 6. No handoff |
The six causes, with before-and-after examples
The examples below are illustrations of each cause, not transcripts.
1. No grounding: the bot answers from the model's general knowledge
Before. "Do you deliver to Shillong?" "Yes, we deliver across India within 5–7 days." Nobody told it that; it filled the gap with a typical answer. OWASP's 2025 list of risks for LLM applications describes this directly: hallucinations happen when models "fill gaps in their training data using statistical patterns".
After. The bot looks up your serviceable-pincode list before answering and says "I can't confirm delivery to that pincode. Here is how to check" when it is not listed.
Fix. Connect the bot to your own content and data, and instruct it to answer only from what it retrieves. This is what retrieval-augmented generation does.
2. Wrong passage retrieved
Before. "What is the warranty on the 1.5-ton model?" The bot answers with the warranty for the 1-ton model, because both passages look similar and the search picked the wrong one.
After. Each document chunk carries its product, model number and date as metadata, and the search filters on them before ranking.
Fix. Check what was retrieved for each wrong answer. If the right passage was not in the retrieved set, the problem is retrieval, not the model: chunking, metadata and search settings need work. This is most of the job in RAG development.
3. Stale source documents
Before. The bot quotes last season's price list, because the old PDF and the new one are both in its knowledge base.
After. One current version per document, an owner for each, and a dated re-index whenever a price or policy changes.
Fix. Remove superseded files, and make "update the bot" a step in the process that changes a price or policy.
4. Instructions that allow guessing
Before. "Can I return a used item?" The bot, told to "always be helpful", says yes.
After. The instructions say: answer only from the provided documents; if they do not cover the question, say so and offer a person. Anthropic's guidance lists giving the model explicit permission to say "I don't know" as a basic step, along with restricting it to the provided documents and checking each claim against a quote.
Fix. Rewrite the instructions to prefer "I don't know" over a guess, and require the bot to cite the passage it used.
5. No test set
Before. Each complaint leads to a prompt change, which fixes that answer and quietly breaks two others.
After. A list of fifty to a hundred real questions with correct answers, run after every change. A change ships only if the score does not drop.
Fix. Build the test set from your logs. It is the single most useful thing you can own about your bot.
6. No handoff
Before. An angry customer asking for a refund gets a policy paragraph, then another.
After. Refunds, complaints, legal and medical questions, and any conversation where the customer asks twice for a person go to staff with the conversation attached.
Fix. Define the topics the bot must not answer and build the route to a person. The design is covered in stopping an AI chatbot from making things up.
Why this matters more than it looks
A wrong answer from a bot on your site is your answer. In Moffatt v. Air Canada (February 2024), British Columbia's Civil Resolution Tribunal heard that the airline's chatbot had told a customer they could apply for a bereavement fare retroactively, which the airline did not permit. Air Canada argued it could not be held liable for information provided by its agents or representatives, including a chatbot. The tribunal called this "a remarkable submission", found that "it should be obvious to Air Canada that it is responsible for all the information on its website", and ordered it to pay C$812.02 in damages, interest and tribunal fees.
When to get help
Fix it yourself if the cause is stale documents or loose instructions; both are content work. Get help when the logs show retrieval failures, when the bot needs live data such as order status, or when you need a test set and handoff built into the system. WavX builds and repairs AI chatbots and starts a repair by reading your logs, not by rewriting the prompt.
If the bot handles a few questions a week, consider switching it off and showing a well-organised FAQ with a contact form. A bot that is wrong one time in ten does more harm than no bot.
Frequently asked questions
Can a chatbot be made to never give a wrong answer?
No. Anthropic's own guidance on reducing hallucinations says the techniques reduce them but do not eliminate them. What can be done is to make wrong answers rare, make the bot say when it does not know, keep it away from questions where a wrong answer is costly, and send those to a person.
Is the business responsible for what its chatbot says?
Courts have treated it that way. In Moffatt v. Air Canada (2024), a Canadian tribunal rejected the airline's argument that its chatbot was responsible for its own statements and ordered it to compensate a customer who relied on the bot's wrong answer. Take legal advice for your own case, but plan on owning every answer.
Should we switch to a better model?
Only after checking the other causes. If the right information never reaches the model, a stronger model will produce more fluent wrong answers. A model change helps when the information is retrieved correctly and the model still misreads it.
We used a no-code chatbot builder. Can it be fixed or do we need a custom bot?
Often it can be fixed in place: clean up the documents, tighten the instructions and add a handoff. A custom build is worth it when you need answers from live systems such as order status, control over retrieval, or logging and testing the builder does not offer.
Sources
- Anthropic: Reduce hallucinations · read 2 October 2026
- OWASP Top 10 for LLM Applications 2025: LLM09 Misinformation · read 2 October 2026
- Civil Resolution Tribunal (British Columbia): Moffatt v. Air Canada, 2024 BCCRT 149 · read 2 October 2026
Related
Build your own software — your way, your pricing.
WavX Solutions is here to create your own software in a fully custom way, built exactly how you work — with a pricing model that fits your business. Connect now and let's build it.