Syllabus

  1. 01RAG FoundationsWhy language models need retrieval, how similarity search finds relevant text, and how a vector store organizes it.3 lessons
    1. 01Why Retrieval-Augmented Generation?
    2. 02Vectors and Similarity Search
    3. 03A Tiny Vector Store
  2. 02Building the PipelineSplit documents into chunks, assemble grounded prompts with numbered sources, and check that answers cite their sources.3 lessons
    1. 01Chunking Documents
    2. 02Grounded Prompts with Numbered Sources
    3. 03Checking Citations
  3. 03Improving and Securing RetrievalMeasure retrieval quality, combine rankings and expand queries to find more of the right documents, and keep restricted content and injected instructions out of answers.3 lessons
    1. 01Evaluating Retrieval
    2. 02Hybrid Search and Query Expansion
    3. 03Access Control and Injected Instructions
  4. 04Project: The Makerspace AssistantAssemble the retrieval pipeline end to end, with permissions, query expansion, grounded prompts and an evaluation.1 lesson
    1. 01Project: A Makerspace Help Assistant