All articles
5 min readLLMAI DevelopmentAI ChatbotsStartups

How to Stop Your AI Assistant From Making Things Up

You launch an AI assistant on your website, and within a week a customer forwards you a screenshot. The bot confidently promised a refund policy you do not have, or quoted a price from two years ago, or invented a feature. This is what people call an AI hallucination, and it is the single most common reason founders lose trust in their own AI product. The good news is that it is not random bad luck. It is a predictable behavior with practical fixes, and none of them require a research team.

Why AI Models Make Things Up in the First Place

A large language model is trained to produce the most plausible next words, not to check facts. When it knows the answer from its training data, plausible and correct line up. When it does not know, for example your current pricing, your return window or last month's product update, it still produces something plausible. It has no built-in sense of "I don't know" unless you give it one. So the job is not to make the model smarter. The job is to give it the right facts, tell it what to do when the facts are missing, and check its work before customers see it.

Fix One: Give the Model Your Real Facts With Grounding

The most effective fix is grounding, often built with a technique called retrieval-augmented generation, or RAG. Instead of hoping the model remembers your business, your app looks up the relevant pages from your own documents at the moment a question comes in and hands them to the model along with the question. The model then answers from that material rather than from memory.

In plain terms, you are turning a closed-book exam into an open-book one. A few practical tips make grounding work much better:

  • ▹Keep one source of truth. If your pricing lives in three slightly different documents, the model will find all three and may blend them. Clean up first.
  • ▹Split documents into small, focused chunks, such as one policy or one product per section, so the right passage is easy to find.
  • ▹Put dates on content that changes, and remove outdated pages from the index instead of leaving them next to the new ones.
  • ▹Show the model where each passage came from so it can cite it, and so you can trace any wrong answer back to its source.

Fix Two: Write Instructions That Allow "I Don't Know"

Many assistants make things up because their instructions quietly encourage it. A prompt like "always give the customer a helpful answer" pushes the model to produce something even when it has nothing to go on. Rewrite your instructions so a refusal counts as success. Tell the assistant to answer only from the provided material, to say clearly when the answer is not there, and to offer a next step such as connecting the person with your team or linking to a contact form.

An assistant that says "I'm not sure, let me get a human" will earn more trust than one that is confidently wrong even once.

It also helps to narrow the scope. A bot that only handles shipping, returns and order status has far fewer chances to wander than one told to "help with anything." Start narrow, prove it is reliable, then widen it.

Fix Three: Constrain the Output for High-Stakes Answers

For anything involving money, dates, medical or legal topics, or commitments on your behalf, do not let the model write free text from scratch. Have it pull specific values from your systems instead. For example, rather than letting the assistant describe an order's delivery date, have it call your order system, fetch the actual date and insert it into a template. The model handles the friendly wording while your database supplies the facts. This pattern, sometimes called tool calling or structured output, removes the riskiest kind of invention entirely.

Fix Four: Test With Real Questions Before and After Launch

You cannot fix what you do not measure. Before launch, collect 50 to 100 real questions from your inbox, chat logs or sales calls, including awkward ones and questions your documents do not answer. Run them through the assistant and mark each answer as correct, wrong or appropriately declined. This simple test set, often called an eval, becomes your safety net. Every time you change the prompt, the documents or the model, run it again and compare.

As a worked example, imagine your first run scores 70 correct, 20 declined and 10 wrong. Reading the 10 wrong answers usually reveals a pattern, such as one outdated document or one vague instruction. Fix that, rerun, and you may find the wrong answers drop to two or three. After launch, keep logging conversations, review a sample each week and add any new failure to the test set.

A Simple Checklist for Founders

  • ▹Ground every answer in your own up-to-date documents.
  • ▹Instruct the assistant to admit when it does not know and hand off to a human.
  • ▹Keep the assistant's job narrow at first.
  • ▹Pull prices, dates and order details from your systems instead of letting the model guess.
  • ▹Maintain a test set of real questions and rerun it after every change.
  • ▹Review real conversations weekly and feed failures back into the test set.

None of these steps is exotic, but together they turn an unpredictable chatbot into an assistant you can put in front of customers with confidence. At vonmal we build these safeguards into every AI app and agent from day one, because a fast launch only matters if people can trust what the product says.

If your current assistant is making things up, or you want to launch one without the embarrassing screenshots, get a free estimate or book a free 15-minute AI audit at https://vonmal.com and we will show you exactly where the gaps are.

Building something with AI? Get a live price and timeline from vonmal.