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, every paper breakdown, all published video lessons, 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 course lessons
Related concepts
Practise this in questions
RAG & Agent System DesignWalk me through a RAG pipeline end-to-end, and tell me where it usually breaks →easy · FreeRAG & Agent System DesignHow would you chunk documents for retrieval, and how do you know your chunking is good? →easy · FreeRAG & Agent System DesignRetrieval fails on the customer's internal jargon. Fine-tune embeddings, add a reranker, or rewrite queries? →medium · FreeLLM & GenAI FundamentalsYour prompt plus retrieved documents exceed the context window. What are your options and tradeoffs? →medium · Free with sign-inLLM & GenAI FundamentalsWhen do you use long context, RAG, or prompt caching, and what are the failure modes of each? →hard · PremiumRAG & Agent System DesignA chunking change shipped last week. Aggregate recall barely moved, and support says answers got worse. Find the regression. →hard · Premium
