Skip to content

Module 3: Memory Architectures and RAG

Parametric and non-parametric memory, the six-stage RAG pipeline, conversational memory patterns, retrieval optimization, and RAGAS evaluation.

  • Module 3 Overview: Memory Architectures and RAG - Overview of Module 3 (8 hours) on agent memory and Retrieval-Augmented Generation: introduction, topics, learning objectives, chapter and deliverable checklist, and grade weights.
  • Module 3: Foundational Concepts - Five-chapter lesson on agent memory and RAG: parametric vs. non-parametric memory, the six-stage RAG pipeline, four conversational memory patterns in LangChain, retrieval and context-window optimization, and RAGAS evaluation.
  • Module 3 Reading Guides - Reading guides with guiding questions for the five chapters of Module 3 on memory architectures and retrieval-augmented generation.
  • Module 3 Activities - Step-by-step activity guide for Module 3: self-check prompts, the guided LangChain RAG lab in Colab, a chunking and retrieval optimization project, and a domain-focused peer discussion.
  • Module 3 Lab: Building a RAG Pipeline with LangChain + Chroma - Read-only rendering of the Module 3 lab notebook, Building a RAG Pipeline with LangChain + Chroma, with links to open it in Google Colab or download the .ipynb file.
  • Module 3 Chapter Quizzes - Five self-evaluating five-question chapter quizzes with collapsed answer keys and per-option feedback for Module 3, Memory Architectures and Retrieval-Augmented Generation.
  • Module 3: Additional Suggested Resources - Supplementary notes for Module 3 explaining parametric vs. non-parametric agent memory, the six-stage RAG pipeline with its design decisions and consequences, the RAGAS faithfulness metric, and text-splitting strategies.

Materials

Machine-readable: this page as Markdown · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.