GuideIntermediate
Advanced RAG Techniques Guide
Master advanced Retrieval-Augmented Generation patterns for production AI systems: chunking strategies, query optimization, re-ranking, hybrid search, metadata filtering, Pinecone deployment, and automated evaluation with RAGAS.
- 64
- lessons
- 8
- modules
- English · Spanish
- available in
- Yes
- certificate
- Free
- access
Outcomes
What you'll be able to do
- Design and implement a complete RAG pipeline (indexing, retrieval, generation, evaluation)
- Apply chunking strategies (fixed, semantic, recursive) and select the optimal one for your data
- Optimize user queries with expansion, rewriting, decomposition, and HyDE techniques
- Implement re-ranking with cross-encoders, LLM-based re-rankers, and Cohere Rerank
- Build hybrid search combining BM25 keyword search with semantic embeddings
- Use metadata filtering for multi-tenant isolation, time-based, and category-based retrieval
- Deploy RAG to production with Pinecone (namespaces, scaling, migration from ChromaDB)
- Evaluate RAG quality with RAGAS framework, golden datasets, and regression testing in CI/CD
Before you start
What you need to bring
It's for you if...
- AI Engineers who have built basic RAG systems and need production-level precision and scalability
- Backend developers building AI-powered search, Q&A, or document intelligence features
- Engineers whose RAG prototypes work in demos but fail with real user queries
- Teams optimizing existing RAG systems that return irrelevant results or scale poorly
- Developers preparing for AI engineering roles that require advanced retrieval expertise
Requirements and materials
- Python intermediate (OOP, async/await, type hints)
- Basic RAG implemented (embeddings, vector search, LLM generation)
- Experience with ChromaDB or similar vector database
- Familiarity with OpenAI API or equivalent LLM provider
- Understanding of embeddings and cosine similarity concepts
Content
The syllabus, module by module
Open any of them to see its lessons.
- Introduction to Chunking Strategies
- The Problems with Fixed-Size Chunking
- Recursive Chunking with LangChain
- Capsule 04: Semantic chunking — chunks that respect the change of topic
- Capsule 05: Structural chunking — respecting the content's natural units
- Capsule 06: Chunk overlap — the insurance against answers cut in half
- Capsule 07: The decision framework — which chunking strategy to choose
- Project: Chunking Strategy Optimizer
- Introduction to Query Optimization
- Capsule 02: Why the user's query is almost never the optimal query
- Capsule 03: Query expansion — when one query isn't enough
- Capsule 04: Query rewriting — transforming the query before you search
- Capsule 05: Query decomposition — when one question is several questions
- Capsule 06: HyDE — searching with the hypothetical answer instead of the question
- Capsule 07: Decision framework — which query optimization technique to pick
- Project: Query Optimizer System
- Module 4: Re-ranking — the second stage that turns mediocre retrieval into excellent retrieval
- Capsule 02: Cosine similarity is good, not perfect — the limit that justifies re-ranking
- Capsule 03: Cross-encoder re-ranking — the default option that almost always wins
- Capsule 04: LLM-based re-ranking — the expensive option when 3% extra precision justifies the cost
- Capsule 05: Cohere Rerank API — the managed option when you don't want to maintain models
- Capsule 06: Re-ranking trade-offs and operational optimizations
- Capsule 07: Decision framework — which reranker to pick and when
- Capsule 08: Capstone project — a re-ranking system with A/B testing
- Module 5: Hybrid Search — combining keyword + semantic for queries that need both
- Capsule 02: Why semantic search alone isn't enough — the concrete failure modes
- Capsule 03: BM25 — the classic algorithm that still wins for exact keywords
- Capsule 04: Reciprocal Rank Fusion — the simple formula that combines rankings from any source
- Capsule 05: Weighted hybrid blending — when one signal is clearly better than the other
- Capsule 06: Elasticsearch — hybrid search at production scale
- Capsule 07: The decision framework — which hybrid search strategy to choose
- Capsule 08: Capstone project — a hybrid search engine with A/B testing
- Module 6: Metadata Filtering — the component almost nobody implements first but everyone ends up needing
- Capsule 02: Pre-filter vs post-filter — the architectural decision that defines the whole module
- Capsule 03: Designing the metadata schema — the decision your future self will thank you for (or curse you for)
- Capsule 04: Where clauses in ChromaDB — the complete filter syntax
- Capsule 05: Multi-tenant isolation — turning isolation into a platform rule
- Capsule 06: Time-based and tag filtering — the two most operational filters
- Capsule 07: Integration with hybrid search — the final "state of the art" pattern
- Capsule 08: Capstone project — an end-to-end Metadata-Filtered RAG
- Module 7: Production with Pinecone — the migration from "working demo" to "24/7 service"
- Capsule 02: ChromaDB's concrete limits in production
- Capsule 03: Setting up serverless Pinecone — your first production-ready index in 30 minutes
- Capsule 04: The ChromaDB → Pinecone migration — without losing data or breaking queries
- Capsule 05: Pinecone namespaces — native multi-tenant isolation, and why it beats metadata filtering
- Metadata Filtering in Pinecone
- Benchmarking and Costs: ChromaDB vs Pinecone
- Project: A Production RAG System with Pinecone
Where it fits
This guide is part of something bigger
It's studied inside these programs, with support and dates.
Common questions
What people usually ask
No limit. It's a free guide: come in whenever you like, as often as you like.
No. Modules run from easier to harder, but you can jump to the one you need. Progress is saved per lesson.
Whatever is needed is listed under “What you need to bring”, above. If nothing is listed there, you can start from zero.
In the Club's WhatsApp group, and every two weeks there's a live with an instructor where questions get worked through.
Yes. It's issued automatically once you finish every lesson, with a verifiable code you can share on LinkedIn.
No. This guide is self-paced with no dates. The bootcamp is live, by cohort, with work someone reviews.
Start whenever you like
What students say
These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.
No approved reviews yet.
Be the first to share your experience!