RAG: Beyond Basics
This course is all about the "how" AND the "why" of RAG. Learn how to build robust Chat with Documents application using advanced Retrieval Augmented Generation (RAG) Techniques and the latest LLMs.
Dive into the world of Retrieval-Augmented Generation (RAG), where we chat with documents like never before!
RAG is shaking up the tech scene, letting both individuals and companies develop tools that chat with documents, sparking new levels of productivity that were just a dream before! 📈📚
SaaS Founders: Go from MVP struggles to having investors and users begging for more! Developers: Turn those brilliant ideas into working prototypes without breaking a sweat! Executives: Imagine analyzing thousands of pages in minutes, not days — be that game-changing leader!
We’re mixing theory with hands-on coding! 🖥️💡 Starting with the basics of RAG pipelines, we'll craft a vanilla setup and then leap into advanced techniques that’ll set your applications on fire! 🔥 We will learn using both proprietary and local models for building our RAG system.
Level up with re-ranking strategies, query expansion, and more!!!
We’re zooming in on "Chat with PDFs" and similar text docs. No chats with CSVs or databases here – that’s a whole different playground!
All you need is a dash of Python knowledge and a heap of curiosity! We’re using cool tools like LangChain and Streamlit, and while prior knowledge is a plus, it’s not a must.
We’re all about the "how" AND the "why". Each topic starts with a deep dive into the theory, followed by coding sessions that build on each other. By the end, you’ll have a RAG pipeline you can call your own! 🌐💬
What is RAG? Why we NEED it?
Setting up Virtual Environment
Setting Up API Keys
Deep Dive into RAG Pipeline Structure
Demystifying Embedding Models and Vector Storage
Google Colab Setup
End-to-End RAG Pipeline - Code Time
Loading and Processing PDF Files
How Chunking Works
Focus on Parsing than Chunking
Chunk Size as Function of Text Embedding Models
The Retrieval in RAG
Putting Everything Together - 1st Iteration of RAG
RAG: Advanced Techniques
Improving RAG with Re-ranking for Precise Information Retrieval - Part 1
Re-Ranking with GPT-4, ColBERT, and Cohere
Improving Information Retrieval with Query Expansion using LLMs
Enhancing Search with Hypothetical Documents Embedding Technique
Enhancing Document Retrieval with Ensemble Techniques
Hierarchical Chunking - Exploring the Parent Document Retriever
From Notebook to working Scripts
Creating Streamlit UI App