# Python RAG: AI for PDFs with Local LLMs

> Episode of [Curiosophy: A Future Forward Cast.](https://podistic.com/podcast/curiosophy-a-future-forward-cast.md) · Published February 19, 2025 · Duration 19:21

- **Listen on Podistic:** https://podistic.com/episode/python-rag-ai-for-pdfs-with-local-llms
- **Audio:** https://anchor.fm/s/fd303b78/podcast/play/98702792/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-1-19%2F395131902-44100-2-ef3de83d34e5.m4a (audio/x-m4a)

## About this episode

**This episode explores how to build a Python Retrieval-Augmented Generation (RAG) application that leverages local Large Language Models (LLMs) to answer questions based on a collection of PDF documents.** The podcast demonstrates how to load PDF documents, create embeddings, and use ChromaDB to build a vector database. **It also covers updating the database without rebuilding it entirely and evaluating the quality of AI-generated responses through unit testing.** The tutorial uses board game instruction manuals as a case study, showing how to ask questions such as "how do I build a hotel in Monopoly?" and receive answers grounded in the provided documents. **By using local LLMs, users can run the application locally on their computers.** The video builds upon previous RAG tutorials, offering more advanced features requested by viewers.
