← 🤖 Retrieval & Agents
Advanced
Query Rewriting, Expansion and HyDE
Users do not write queries that look like the documents that answer them. Query rewriting closes that gap before retrieval runs: resolving pronouns from the conversation, expanding jargon, splitting a compound question, or generating a hypothetical answer to search with instead of the question.
Get full Premium access · ₹2,000 / $25
Every answer, concept and course, all hands-on FDE Lab missions, Premium PDF guides and companion files, the full practice-test bank and work-sample downloads. Referral Premium excludes guide PDFs and their companion files.
6 months · One payment · No auto-renewal
Study alongside free video lessons.
RELATED CONCEPTS
LESSONS THAT TEACH THIS
PRACTICE THIS IN REAL QUESTIONS
RAG & Agent System DesignWalk me through a RAG pipeline end-to-end, and tell me where it usually breaks→RAG & Agent System DesignHow would you chunk documents for retrieval, and how do you know your chunking is good?→RAG & Agent System DesignKeyword search vs vector search: what does each actually buy you in a RAG system?→LLM & GenAI FundamentalsWhat are embeddings, and how do they make semantic search work?→RAG & Agent System DesignHow would you evaluate a RAG system before letting a customer launch it?→LLM & GenAI FundamentalsWhy is the dot product the similarity score in attention and embeddings, and when should you normalize to cosine?→
