Interactive Learning Lab

RAG Fundamentals

Two classes, six labs. First the engine — how text becomes numbers, how numbers carry meaning, how a vector database searches them. Then the pipeline built on top of it.

text-embedding-3-small GPT-4o-mini Real API calls Nothing hidden
Class 4A — Semantic Search: The Engine
Why search by meaning is needed, how text becomes numbers, how the numbers carry meaning, and how a vector database scales it.
Class 4B — The RAG Pipeline
Load → Chunk → Embed → Index → Retrieve → Augment → Generate, on a real document.
The Story Arc
🤥
Labs 1–2
The requirement: hallucination, and search that matches spelling not meaning
🔢
Labs 3–4
The engine: embeddings, similarity, retrieval, the vector store
🚀
Labs 5–6
The pipeline: index a document, answer from it