Python RAG Tutorial (with Local LLMs): AI For Your PDFs

Published: 17 April 2024
on channel: pixegami
246,961
7.5k

Learn how to build a RAG (Retrieval Augmented Generation) app in Python that can let you query/chat with your PDFs using generative AI.

This project contains some more advanced topics, like how to run RAG apps locally (with Ollama), how to update a vector DB with new items, how to use RAG with PDFs (or any other files), and how to test the quality of AI generated responses.

👉 Links
🔗 GitHub: https://github.com/pixegami/rag-tutor...
🔗 Basic RAG Tutorial:    • RAG + Langchain Python Project: Easy ...  
🔗 PyTest Video:    • How To Write Unit Tests in Python • P...  

👉 Resources
🔗 Document loaders: https://python.langchain.com/docs/mod...
🔗 PDF Loader: https://python.langchain.com/docs/mod...
🔗 Ollama: https://ollama.com

📚 Chapters
00:00 Introduction
01:06 RAG Recap
03:22 Loading PDF Data
05:08 Generate Embeddings
07:16 How To Store and Update Data
10:46 Updating Database
11:45 Running RAG Locally
15:12 Unit Testing AI Output
20:29 Wrapping Up


On this page of the site you can watch the video online Python RAG Tutorial (with Local LLMs): AI For Your PDFs with a duration of hours minute second in good quality, which was uploaded by the user pixegami 17 April 2024, share the link with friends and acquaintances, this video has already been watched 246,961 times on youtube and it was liked by 7.5 thousand viewers. Enjoy your viewing!