Skip to the page

Data engineering in the AI era · intermediate · About 10 minutes

The AI assistant that quotes old prices

The sales team's AI assistant quoted a customer the old price, 6 weeks after it changed. The document is right. The assistant's copy of it is not.

You run the data pipelines behind the company's internal AI assistant.

What happened

Sales staff ask an internal AI assistant about products and prices. It answers from the company's documents: they are split into passages, each passage is turned into an embedding, and the embeddings sit in a vector database. A question finds the closest passages, and the model answers from them.

On 1 September the Pro plan went from $49 to $59 a seat. On 14 October a sales rep quoted a customer $49, straight from the assistant, and the deal was signed at that price.

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 answer the rep used(Message)

From sales rep and assistant, 14 October

Rep: What's the list price of the Pro plan per seat?

Assistant: The Pro plan is $49 per seat per month, billed annually. (Source: pricing)

02What the search returned(Table)
RankDocumentPassageIndexed on
1pricingPro: $49 per seat per month, billed annually.2 June
2pricing-2025 (archived)Pro: $45 per seat per month, billed annually.2 June
3plans-overviewPro adds single sign-on and audit logs.2 June
03The indexing job's history(Log)
  1. 2 June 11:20INFOfull build started by hand: 3,214 documents (including /archive)
  2. 2 June 13:05INFO18,402 passages embedded and written, 0 deleted
  3. since thenno runs
04The documents today(Note)

pricing was edited on 1 September and now says $59. pricing-2025 sits in the archive folder. Nobody remembers who set up the index or that it needs running.

Your decisions

Decision 1 of 3

  1. Decision 1

    Why did the assistant say $49?

The ideas behind it

Sources

Where each fact comes from

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

  1. 1
    Introducing Contextual Retrieval

    Anthropic · 14 October 2026

    RAG retrieves relevant information from a knowledge base and adds it to the prompt. The documents are split into chunks, an embedding model turns each chunk into a vector, a vector database finds the chunks closest in meaning to the query, and those are added to the prompt.