Using LlamaIndex for RAG in Python: Setting Up & Coding Indexing

Real Python · Beginner ·🛠️ AI Tools & Apps ·18h ago
Skills: RAG Basics90%
Download your free Python Cheat Sheet here: https://realpython.com/cheatsheet Free Python Skill Test with instant level + learning plan: https://realpython.com/skill-test Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises: https://realpython.com/start This is a preview of the video course, "Using LlamaIndex for RAG in Python". Discover how to use LlamaIndex with practical examples. This framework helps you build retrieval-augmented generation (RAG) apps using Python. LlamaIndex lets you load your data and documents, create and persist searchable indexes, and query an LLM using your data as context. In this course, you’ll learn the basics of installing the package, setting AI providers, spinning up a query engine, and running queries against remote or local models. This is a portion of the complete course, which you can find here: https://realpython.com/courses/using-llamaindex-for-rag-in-python/ The rest of the course covers: - Coding Querying - Examining the Code Output - Exercise: Build a RAG Query Pipeline - Refactoring Code - Persisting - Persisting Functionality - Testing the Output - Exercise: Persist or Rebuild an Index - Looking at Next Steps - Investigating Documents and Index - Using LlamaIndex for RAG in Python (Quiz) 🐍 Become a Python expert with real-world tutorials, on-demand courses, interactive quizzes, and 24/7 access to a community of experts at https://realpython.com ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰ 🐍 Start Here → https://realpython.com/start 🗺️ Guided Learning Paths → https://realpython.com/learning-paths 🎧 Real Python Podcast → https://realpython.com/podcast 📚 Python Books → https://realpython.com/books 📖 Python Reference → https://realpython.com/ref 🧑‍💻 Quizzes & Exercises → https://realpython.com/quizzes 🎓 Live Courses: https://realpython.com/live ⭐️ Reviews & Learner Stories: https://realpython.com/learner-stories ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Up next
LIVE: NEW ChatGPT 5.6?
Julian Goldie SEO
Watch →