AISim › Chapter 3: Keeping it running
Yesterday's answers
Level 15. The price changed on Monday. The bot still quotes the old one.
Your retrieval setup is solid (hybrid search, reranking), but the docs it searches change daily: prices, policies, release notes. The index was built once, by hand, from text scraped out of PDFs. Customers get confident answers that were true last month, and anything inside a table seems invisible.
Goals
- hallucination rate at most 15%
- accuracy at least 83%
- cost per 1,000 requests at most $12
Concepts: Data ingestion, Index freshness, Document parsing.
Hint
Open the Vector DB settings. Retrieval is only as good as what went into the index: how often is it rebuilt, and how are documents turned into text? (An Output Judge won't save you here. Why not?)
What you learn
Most RAG problems start before retrieval: in ingestion. Content that changes needs a pipeline that re-indexes on a schedule or on every change, or the model will confidently quote old facts that your judge can't catch, because the sources agree. And how you parse documents matters: plain text extraction turns tables and multi-column PDFs into word soup.
More in this chapter
- The provider is down (Level 11)
- The research assistant (Level 12)
- Think harder? (Level 13)
- It broke the parser (Level 14)
- The 9am board report (Chapter 3 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).