Skip to main content

Module 6 - Building RAG Pipelines

Overview​

This module covers the two major frameworks for building RAG pipelines: LangChain and LlamaIndex. You'll learn to build complete RAG applications and understand when to use each framework.

Learning Objectives​

  • Build RAG pipelines with LangChain
  • Build RAG pipelines with LlamaIndex
  • Understand LCEL (LangChain Expression Language)
  • Compare frameworks and choose the right one

Module Content​

1. LangChain for RAG​

  • Chains, retrievers, memory
  • LCEL (LangChain Expression Language)
  • Complete pipeline implementation

2. LlamaIndex Framework​

  • Index types and query engines
  • Response synthesizers
  • Comparison with LangChain

3. Custom RAG Implementations​

  • Building from scratch
  • When to avoid frameworks
  1. LangChain RAG - Building with LangChain
  2. LlamaIndex RAG - Building with LlamaIndex
  3. Custom RAG - From scratch approaches
  4. Quiz - Module 6 - 30 questions