AISim › Chapter 1: Getting it working
The store chatbot
Level 1. It sounds confident. It's making things up.
Your online store launched a chatbot to answer customers' questions. It's just a prompt and an LLM. Complaints are piling up: customers got confident, wrong answers about returns, delivery and warranties.
Goals
- accuracy at least 70%
- hallucination rate at most 25%
Concepts: RAG, Grounding.
Hint
The model has never seen your store's policies. What component lets it look them up when a question comes in?
What you learn
You built retrieval-augmented generation (RAG). A model can only be as right as the information it's given — when the answer lives in private data, the fix is retrieval, not a bigger model. Notice recall: it's not 100%, and every miss is still a potential hallucination. That's the next wall.
More in this chapter
- The wrong error code (Level 2)
- The holiday rush (Level 3)
- Where's my order? (Level 4)
- The refund trick (Level 5)
- Launch week (Chapter 1 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).