Skip to the page

How AI works · beginner · About 8 minutes

The warranty the help bot invented

A customer was promised a 2-year warranty on a refurbished laptop. There is no such warranty. Work out why the bot said it, and what stops the next one.

You own the AI help bot on an electronics shop's website.

What happened

The help bot answers customer questions from the shop's help pages. When a question comes in, it searches the pages for the closest passages and the model writes an answer from them.

A customer has sent a screenshot. The bot told them their refurbished laptop has a 2-year warranty. Refurbished items carry 90 days. The customer bought it partly because of that answer, and wants the 2 years.

The incident is made up. How things work in it is real, with sources at the end.

The evidence

Everything you need is here. Read it before you decide.

01The chat(Message)

From customer and help bot

Customer: Does a refurbished laptop come with a warranty?

Help bot: Yes! All our laptops, including refurbished models, come with a 2-year manufacturer warranty covering hardware faults. Just keep your receipt.

02What the search returned for that question(Table)
RankPagePassageMatch score
1warranty-new-laptopsNew laptops come with a 2-year manufacturer warranty covering hardware faults.0.34
2returnsKeep your receipt. You can return any item within 30 days.0.29
3trade-inWe refurbish traded-in laptops and test every one before sale.0.27

On questions the bot answers well, the top passage usually scores above 0.70.

03The bot's instructions(Note)

"You are the shop's friendly assistant. Use the passages below to answer the customer's question helpfully and confidently."

There is no help page about refurbished warranties. The 90-day rule is in the terms of sale, which the bot does not search.

Your decisions

Decision 1 of 2

  1. Decision 1

    Why did the bot say 2 years?

The ideas behind it

LessonHow AI writes its answers: one piece at a time

Sources

Where each fact comes from

This page was last checked against these sources on 14 October 2026.

  1. 1
    Reduce hallucinations

    Anthropic, Claude API documentation · 14 October 2026

    Models can state things that are wrong with confidence, and checking a claim against sources reduces this.

  2. 2
    Introducing Contextual Retrieval

    Anthropic · 14 October 2026

    RAG retrieves relevant information from a knowledge base and adds it to the prompt. A vector database finds the chunks closest in meaning to the query, and those are added to the prompt.

  3. 3
    Glossary

    Anthropic, Claude API documentation · 14 October 2026

    Temperature controls how random the model's predictions are. Higher values give more varied output and lower values give more predictable output.