AppliedAIPrep logoAppliedAI/Prep
🤖 Retrieval & Agents
Core

Query Transformation and Multi-Hop Retrieval

The user's raw question is often a poor search query: ambiguous, underspecified, or requiring several facts chained together. Query transformation rewrites or decomposes it before retrieval, query rewriting, expansion, HyDE (embed a hypothetical answer), and decomposition into sub-questions. Multi-hop questions need iterative retrieval because the second fact depends on the first's answer. Applied-AI interviews probe it because single-shot retrieval on the raw query is a common, fixable cause of RAG failure.

a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
COMPANIES THAT ASSUME THIS
NEXT IN RETRIEVAL & AGENTSCitations and Grounding