AI agents & automation

How to stop your AI chatbot from making things up

You cannot remove made-up answers completely, but you can make them rare. Ground the chatbot in your own approved content, instruct it to answer only from that content, give it explicit permission to say it does not know, require it to cite the source page, and test it against real customer questions. Send anything uncertain or high-stakes to a person.

By Tcom Consultants · Updated · 4 min read · 5 sources

Agent network illustration for How to stop your AI chatbot from making things up

Why chatbots make things up, and the short fix

AI chatbots make things up because language models are built to produce a likely answer, and they are often rewarded for guessing rather than admitting they do not know. The fix is to narrow what the bot can say: give it your own approved content, tell it to answer only from that content, let it say it does not know, make it cite its source, and test it regularly. These steps do not remove errors entirely, but they make them much less likely.

OpenAI's research post Why language models hallucinate argues that standard training and evaluation reward guessing over acknowledging uncertainty, and that errors are worse than abstentions. For a business, that means your chatbot needs to be told, clearly and repeatedly, that "I'm not sure, let me connect you with the team" is a good answer.

Why this matters for your business

A wrong answer from your chatbot is your wrong answer. In Moffatt v. Air Canada, 2024 BCCRT 149, British Columbia's Civil Resolution Tribunal dealt with an airline chatbot that told a customer they could apply for a bereavement fare retroactively, which the airline's policy did not allow. The tribunal rejected the argument that the chatbot was responsible for its own actions, found the airline did not take reasonable care to ensure its chatbot was accurate, and said the company is "responsible for all the information on its website." This is general information, not legal advice.

Six ways to keep your chatbot accurate

1. Ground it in your own content

Connect the chatbot to a knowledge base of your approved pages and documents: services, prices, policies, hours, service areas and FAQs. Tools such as OpenAI's file search let a model retrieve information from uploaded files using semantic and keyword search, and return citations to the files it used. Most chatbot platforms offer something similar.

Prepare the content before you connect it

  • Remove outdated pages, old price lists and expired promotions.
  • Write policies in plain, unambiguous sentences, including exceptions.
  • Put each fact in one place, so the bot does not find two versions.
  • Add the questions customers actually ask, with your approved answers.
  • Name an owner who updates the knowledge base when anything changes.

2. Restrict it to that content

Anthropic's guide to reducing hallucinations recommends explicitly instructing the model to use only the provided documents and not its general knowledge. Put that rule in the system instructions, along with the topics the bot should not discuss at all, such as legal, medical or financial advice.

3. Let it say "I don't know"

The same Anthropic guide lists giving the model explicit permission to admit uncertainty as a basic technique that can greatly reduce false information. Write the fallback you want: "I don't have that information, but I can pass your question to our team. What's the best way to reach you?"

4. Require citations

Ask the bot to link the page or document behind each factual answer. Anthropic suggests having the model find a supporting quote for each claim and retract any claim it cannot support. Citations also help customers check details and help you audit answers later.

5. Test before and after every change

Build a test set of real customer questions, including tricky ones: edge cases, questions outside your services, and attempts to get discounts the bot should not offer. OpenAI's evals guide describes evaluations as testing model outputs against criteria you specify. Run your test set whenever you change content, instructions or the underlying model.

What to put in your test set

  • Your most common customer questions, with the correct answer written beside each.
  • Questions about policies with exceptions, such as refunds, cancellations and deposits.
  • Questions your content does not answer, where the right response is "I don't know".
  • Requests outside your business, such as general advice or competitor questions.
  • Attempts to push the bot into promises, such as discounts or guarantees.

Score each answer as correct, acceptable, or wrong, and fix the content or instructions behind every wrong one before going live.

6. Hand off when stakes are high

Route refunds, exceptions, complaints, safety issues and anything involving money or contracts to a person. A clear handoff is cheaper than a wrong promise. Tell customers plainly when a person will follow up, and make sure someone actually does.

A quick comparison of techniques

TechniqueWhat it preventsEffort
Approved knowledge baseAnswers based on guesses or old informationMedium, ongoing upkeep
Answer-only-from-content ruleDrifting into general knowledgeLow
Permission to say "I don't know"Confident invented answersLow
CitationsUntraceable claimsLow to medium
Test set and evalsRegressions after changesMedium
Human handoffCostly mistakes on high-stakes questionsMedium

Keeping it accurate over time

Accuracy drifts when your business changes and the bot does not. Add a chatbot check to your process for changing prices, hours or policies. The same grounding applies to voice; see the AI receptionist setup guide. If your bot takes actions, read AI chatbot vs AI agent for the extra safeguards, and see AI for customer support for handoff design. Clear, well-structured website content helps chatbots and AI search alike, which is the idea behind agent-ready websites.

How Tcom can help

We build grounded chatbots and agents, such as the AI chat agent on BlackCarLimousine.ca, with approved knowledge bases, citations, test sets and handoff. Our BlackSprinters project and our answer on the AI receptionist for small business show related work, and we connect chat to follow-up through our automation and paid ads service. See our AI agents service or contact us to review your bot.

Questions

Can a chatbot ever be 100% accurate?

No. Anthropic's own guidance notes that these techniques reduce hallucinations but do not eliminate them, so validate critical information and keep a human handoff.

Is a bigger or newer model enough to fix hallucinations?

Newer models may help, but grounding, clear instructions, citations and testing matter more for business accuracy. Rerun your tests whenever you change models.

What should my chatbot say when it doesn't know?

Admit it plainly and offer a next step, such as taking the customer's contact details or connecting them with your team.

Am I responsible for what my chatbot says?

In Moffatt v. Air Canada, a BC tribunal held the business responsible for its chatbot's inaccurate information. Treat chatbot answers like any other content on your website.

Sources

  1. Why language models hallucinate OpenAI
  2. Reduce hallucinations Anthropic documentation
  3. File search OpenAI API documentation
  4. Evals OpenAI API documentation
  5. Moffatt v. Air Canada, 2024 BCCRT 149 Civil Resolution Tribunal (British Columbia)

Sources checked 23 November 2026.