Skip to content

Module 3: Overview

Carlos Lizarraga-Celaya edited this page Oct 1, 2026 · 24 revisions

Total Recall: Memory Architectures and Retrieval-Augmented Generation

Time: 8 hours

a. Introduction (~2 min)

Module 3 addresses the greatest limitations of the reasoning agents you built in the last module: 1) they do not remember and 2) they do not know you or your work. Every conversation begins from scratch, answered exclusively from knowledge frozen at training cutoff.

Every language model has a knowledge cutoff: a date after which nothing it learned during training extends. Models are usually released several months after their cutoff and then stay in use for months or years, so their built-in knowledge is always somewhat out of date. Check the provider's model documentation for exact dates. In Module 2 you saw that giving an agent a web search tool helps with public information. But what happens when your agent needs institutional or personal knowledge that isn't publicly available online, or needs to remember what you told it ten minutes ago?

This module covers the design, implementation, and evaluation of memory architectures and Retrieval-Augmented Generation (RAG) pipelines that transform agents from isolated question-answerers into productive collaborators.

b. Topics Covered (~2 min)

  • Parametric vs. non-parametric memory — the foundational distinction between what a model knows from training and what it retrieves at runtime
  • Six-stage RAG pipeline — document ingestion, text splitting, embedding, vector indexing, retrieval, and augmented generation as a structured engineering discipline
  • LangChain conversational memory types — four memory architectures with distinct cost-fidelity trade-offs
  • Retrieval optimization — chunking strategies, retrieval methods, metadata filtering, and context compression
  • RAGAS evaluation — four quantitative metrics for diagnosing and prioritizing RAG failure modes

c. Learning Objectives (~2 min)

  • Differentiate parametric and non-parametric memory in LLM systems.
  • Explain the stages of a Retrieval-Augmented Generation (RAG) pipeline.
  • Compare LangChain conversational memory types across key implementation criteria.
  • Implement an end-to-end RAG pipeline using LangChain.
  • Configure a conversational agent with persistent memory.
  • Evaluate RAG system failures and recommend remediation strategies.

d. Module 3 Checklist (~2 min)

Chapter Type Time Primary LOs Deliverable
1 Parametric vs. Non-Parametric Memory 0.75 hr LO 1 Chapter 1 Quiz
2 The Six-Stage RAG Pipeline 0.75 hr LO 2 Chapter 2 Quiz
3 Conversational Memory Management 0.75 hr LO 3, 5 Chapter 3 Quiz
4 Retrieval Optimization and Context Window Management 0.5 hr LO 4 Chapter 4 Quiz
5 RAGAS Evaluation 0.5 hr LO 6 Chapter 5 Quiz
Self-Check Self-Check Prompts 0.5 hr LO 1–6 Not submitted
Lab Guided Lab: RAG Agent with Memory 2.0 hrs LO 4, 5 Colab notebook (Steps 1–5)
Project Retrieval Optimization Experiment 1.75 hrs LO 4, 6 Same notebook: Experiment Log + RAGAS interpretation
Discussion RAG Corpus Design for Your Domain 0.5 hr LO 2, 4 Discussion Post + 1 Peer Reply
Total 8.0 hrs

e. Grade Weight Summary

Grade Weight Summary
Chapter Quizzes (Chapters 1–5): 100% of module grade — 20% each
Guided Lab + Project: one Colab notebook submitted to your GitHub repository — required for certificate
Discussion Post + Peer Reply: required for certificate — completion only, but please give meaningful responses to your fellow learners

Created: 05/09/2026 (C. Lizarraga)
Updated: 09/30/2026 (C. Lizárraga)

Clone this wiki locally