Skip to main content
All posts

AI hallucinations explained: why they happen and how to check an answer

What are AI hallucinations? Learn why AI makes things up, how to check cited sources, and five ways to reduce errors in website answers.

sorchy team

5 min read

A shopper asks, “I opened the box. Can I still use your 30-day return program?” The store’s AI assistant replies, “Yes, you have 30 days from delivery,” and links to the returns policy. The shopper opens the link and finds this sentence:

Our 30-day return program applies only to unopened items. The 30 days begin on the date of delivery.

In this fictional example, the assistant found the right policy and quoted the right timeframe. But it left out the word “unopened,” the detail that decides whether the shopper can use the program. A response supported by the policy would be: “The 30-day program applies only to unopened items, so it doesn’t cover your opened box.”

This is how an AI hallucination can appear beside a genuine citation. To check the answer, find the sentence that supports the claim you’re about to rely on. In this case, the return window and the condition of the item both matter.

What Are AI Hallucinations?

AI hallucinations are outputs that contain invented facts, contradict the information provided, or present unsupported details as established information. On a business website, they might appear as a product feature that does not exist, an unconfirmed service fee, or an invented delivery date.

An answer does not have to be entirely wrong to be misleading. “Your order will be shipped” might be accurate, while “it will arrive tomorrow” is unsupported. Checking only the overall message can miss the detail that affects a customer’s decision.

The term describes a problem with the generated output. A model can state a price or delivery date with confidence even when its source gives no such detail. The wording tells you how the claim was expressed. The source lets you check whether the claim holds.

Why Does AI Hallucinate?

Language models learn patterns in text and use those patterns, together with the input they receive, to generate responses. Producing a plausible sentence is different from establishing whether it is true. When information is missing, a model may fill the gap with an answer that resembles what might apply in a similar situation.

On a website, several conditions can contribute to inaccurate answers.

  • Missing information. The relevant condition, service fee, or product specification is unavailable to the system.
  • Incomplete context. A retrieved passage describes a service but omits a nearby restriction or exception.
  • An ambiguous question. The visitor does not specify the product, location, or service package, and the system assumes one.
  • Conflicting sources. Two pages describe different conditions without making clear which applies.

A business’s opening hours, for example, tell you when it operates. They do not tell you whether a particular appointment slot is available. A business can be open on Saturday and still have no appointments left at 2 p.m.

What Can an AI Hallucination Look Like on a Website?

These fictional examples show how a small addition to the source information can change what a customer expects.

Customer’s questionAvailable source informationUnsupported answer
“Is installation free too?”The product page mentions free delivery only.“Yes, delivery and installation are both free.”
“Can I book an appointment for Saturday at 2 p.m.?”The business is open on Saturdays from 9 a.m. to 6 p.m.“Yes, 2 p.m. is available.”
“Can I remove this sofa’s covers and machine wash them?”The product description says the upholstery can be wiped clean.“Yes, the covers are removable and machine washable.”

In each case, the customer could act on the extra detail: budget for free installation, show up for an appointment, or put a cover in the washing machine. The answer needs evidence for that specific action.

For the installation question, a useful response would be: “The product page confirms that delivery is free. It doesn’t list an installation fee.” The customer now knows which cost is covered and which one still needs checking.

Why Sources Matter in AI Answers

For visitors: a way to check the claim

Useful AI citations take visitors to the material behind an answer. Someone asking about installation costs needs the passage that explains the service’s scope and pricing. A link straight to that section lets the visitor read the conditions without searching the website again.

A working link is the first check. The next is whether the page supports the claim beside it. A shipping page can be the right source for “When will my order ship?” while providing too little information to answer “Will it arrive tomorrow?”

For teams: a way to find the cause of an error

Sources also help content and support teams investigate disputed answers. If the system used outdated service terms, the team can examine the source and its indexed version. If it found the current page but added free installation to a delivery offer, the problem is how the answer used the information.

Record the customer’s question, the answer, and the passage the assistant received. In the return example, those three items let you check whether the word “unopened” was missing from the retrieved passage or whether the assistant dropped it while writing the answer. Those problems call for different fixes.

A Sourced Answer Still Needs to Preserve the Conditions

Timing is another detail that can change a customer’s decision. Suppose a retailer’s shipping page says:

Orders ship within 1–3 business days.

Using only that information, an appropriate response to “If I order today, will it arrive tomorrow?” would be:

Orders ship within 1–3 business days. The page does not specify a delivery date, so I cannot confirm that your order will arrive tomorrow.

This answer preserves the timeframe and explains what it covers. Handing a package to the carrier and delivering it to the customer are different stages. Changing the wording to “delivered within 1–3 business days” would change the promise made by the source.

In a working assistant, the source link should accompany the answer. The customer can then check the timeframe and any conditions relating to the destination, product, or shipping method.

“Has my order shipped yet?” requires different information. A general shipping page cannot show the current status of an individual order. Answering that question requires authorized access to the relevant order record. Without that access, the assistant can direct the customer to order tracking.

Five Ways to Reduce AI Hallucinations in Website Answers

1. Give important information a clear, current source

Start with the details visitors need to make a decision: what the price includes, which areas a service covers, what features a product has, and which exceptions apply. Keep related conditions together under a heading that identifies the relevant product or service.

When conditions change, update the authoritative page and check that the search index has picked up the change. If an old promotional page stays online, make its validity period clear. Leaving conflicting versions available without explanation makes it harder to retrieve the right information.

2. Retrieve evidence that answers the actual question

Retrieval-augmented generation (RAG) supplies relevant source material to a model when it prepares an answer. This can reduce reliance on unsupported guesses, but the retrieved material must address the customer’s actual question.

Check whether document passages retain headings, table labels, and nearby exceptions. A line offering “free installation” may apply only to certain products or service areas. If retrieval supplies that line without its restrictions, the answer may describe the offer too broadly.

3. Define what to do when information is missing

Give the assistant a clear instruction to distinguish documented facts from missing information. For example:

Answer using the provided sources. Preserve fees, timeframes, eligibility conditions, and exceptions. If the sources do not answer part of the question, identify what is missing. Ask for clarification when the answer depends on an unspecified product, location, or service package.

Test the instruction with a question your sources answer only in part, such as a question about delivery and installation when only the delivery fee is listed. Our guide to writing a good prompt explains how to make tasks, context, and constraints clearer.

4. Check each important claim against its source

“Delivery and installation are free” makes claims about two separate services. A source confirming free delivery supports the first claim. To confirm the second, you need a passage that also covers installation.

For longer responses, make it clear which source supports each claim. Several links collected at the end can make an answer look well documented while leaving a significant detail unsupported. During review, mark the specific statement that needs correcting so the team can see what went wrong.

5. Test both answerable and unanswerable questions

Build a small test set from real visitor questions. Include a question with a clear answer, one involving an exception, an ambiguous follow-up, and one your sources cannot answer. Record the expected response and supporting passage for each. When a detail is missing, record what the assistant can reasonably say.

For example, a business with published opening hours can answer “Are you open on Saturday?” A follow-up asking “Is 2 p.m. available?” requires current appointment information. Check whether the assistant recognizes what the second question adds.

Repeat the same tests after changes to your sources or assistant settings. Keep recurring failures in the test set so you can see whether a later change reintroduces a problem you had already addressed.

How to Check an AI Answer Before Relying on It

Focus first on the statement that affects your decision. You do not need to investigate every introductory sentence to verify a delivery date, service fee, or product feature. Once you identify the important claim, work through these checks:

  1. Open the source. Confirm that the page exists and that you can access its content.
  2. Find the supporting passage. Look for the sentence that establishes the specific claim.
  3. Check applicability. Confirm that it covers the same product, location, service package, and time period.
  4. Read the conditions. Look for fees, time limits, geographic restrictions, or exceptions omitted from the answer.
  5. Resolve uncertainty. Ask the business to clarify before acting if the source does not settle the point.

How Sorchy Presents Sources With Answers

You can see how Sorchy answers from your content by following the numbered references alongside a reply. For a shipping question, for example, a visitor can open the cited passage and check whether the stated timeframe covers dispatch or delivery.

Sorchy’s answer settings and source references let you review the assistant’s instructions and how it responds when your sources do not contain an answer. Try one question your page answers clearly and a follow-up that asks for an undocumented detail. Then check the cited passage against both replies.

Frequently Asked Questions About AI Hallucinations

Can AI hallucinations be prevented completely?

No combination of prompting, retrieval, and citations can guarantee error-free answers in every situation. These measures can reduce risk. Evaluate their effectiveness with the questions, sources, and conditions your visitors actually encounter.

Is outdated information always an AI hallucination?

Not necessarily. A system may accurately repeat a source that is no longer current. The answer is still wrong for today’s visitor, but fixing it may require updating the source or search index. Inventing a detail absent from the source is a different failure.

Can I ask the same AI to check its own answer?

Yes, but a second response is not independent evidence. Ask the assistant to identify the passage supporting the disputed claim, then open that source yourself. If the passage still does not support the claim, a more confident explanation does not resolve the uncertainty.

Written by sorchy team

Product updates, practical guides and how sorchy works under the hood.

More from the blog

All posts

Let your site answer for itself

Add your site, wait for the index, paste one line of code.