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

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

This interactive level needs JavaScript. Built by (cybernerdie).