# 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/overview/index.md) - 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/foundational-concepts/index.md) - 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/reading-guides/index.md) - Reading guides with guiding questions for the five chapters of Module 3 on memory architectures and retrieval-augmented generation.
* [Module 3 Activities](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/activities/index.md) - 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/lab-notebook/index.md) - 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/chapter-quizzes/index.md) - 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](https://tyson-swetnam.github.io/AI-Automation-and-Agents/modules/module-3/resources/index.md) - 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

* [Module 3 RAG lab notebook](https://tyson-swetnam.github.io/AI-Automation-and-Agents/materials/module3/Module-3-Lab.ipynb)
* [Lab corpus 1: NIST AI 100-1, AI Risk Management Framework (PDF)](https://tyson-swetnam.github.io/AI-Automation-and-Agents/materials/module3/NIST.AI.100-1.pdf)
* [Lab corpus 2: NIST AI 600-1, Generative AI Profile (PDF)](https://tyson-swetnam.github.io/AI-Automation-and-Agents/materials/module3/NIST.AI.600-1.pdf)
