Back to Browse

RAG from Scratch without any Frameworks

29.2K views
Jun 18, 2024
11:21

In this video, I'll show you how to create a fully functional chat system using your own documents with just 10 lines of Python code. We'll dive into Retrieval Augmented Generation (RAG) without relying on frameworks like LangChain, LamaIndex, or vector stores such as Chroma. 💻 RAG Beyond Basics Course: https://prompt-s-site.thinkific.com/courses/rag LINKS: Colab: https://tinyurl.com/cnufkeky Ben's X account: https://x.com/bclavie Ragatouille/ColBERT video: https://youtu.be/kEgeegk9iqo Let's Connect: 🦾 Discord: https://discord.com/invite/t4eYQRUcXB ☕ Buy me a Coffee: https://ko-fi.com/promptengineering |🔴 Patreon: https://www.patreon.com/PromptEngineering 💼Consulting: https://calendly.com/engineerprompt/consulting-call 📧 Business Contact: [email protected] Become Member: http://tinyurl.com/y5h28s6h 💻 Pre-configured localGPT VM: https://bit.ly/localGPT (use Code: PromptEngineering for 50% off). Signup for Newsletter, localgpt: https://tally.so/r/3y9bb0 00:00 Introduction to Building a Chat System without Frameworks 00:26 Understanding Retrieval Augmented Generation (RAG) 02:12 Setting Up the Python Environment 03:39 Data Preparation and Chunking 05:12 Embedding the Chunks 06:31 Retrieving Relevant Chunks 08:53 Generating Responses with LLM 09:50 Advanced Techniques and Recommendations 11:15 Conclusion and Further Learning All Interesting Videos: Everything LangChain: https://www.youtube.com/playlist?list=PLVEEucA9MYhOu89CX8H3MBZqayTbcCTMr Everything LLM: https://youtube.com/playlist?list=PLVEEucA9MYhNF5-zeb4Iw2Nl1OKTH-Txw Everything Midjourney: https://youtube.com/playlist?list=PLVEEucA9MYhMdrdHZtFeEebl20LPkaSmw AI Image Generation: https://youtube.com/playlist?list=PLVEEucA9MYhPVgYazU5hx6emMXtargd4z

Download

1 formats

Video Formats

360pmp423.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

RAG from Scratch without any Frameworks | NatokHD