11What is query transformation in RAG (HyDE, decomposition, step-back), and when does each help?▼hardCohereGleanMicrosoft1 replies○ sign inRetrieval quality is bounded by the query, and raw user queries are frequently poor for search. The signal is knowing the techniques that rewrite the query ahead of retrieval and which failure each one fixes.Open full answer →
37How do you handle multi-hop questions in RAG (questions needing several pieces of evidence)?▼hardGoogleMicrosoftCohere1 replies◆ premiumSingle-shot retrieval breaks on questions that chain facts ('who directed the highest-grossing film of 2019?'). The signal is decomposing or iterating retrieval rather than retrieving once, and guarding against errors compounding across hops. Here is the answer.Open full answer →
64How do you decompose a complex query into sub-queries for retrieval, and when does it backfire?▼mediumPerplexityGleanGoogle1 replies◆ premiumA single embedding cannot capture a question with three independent parts. Interviewers want to see you know when to split a query, how to retrieve and recombine per sub-query, and the latency and drift costs that make decomposition a net loss on simple questions.Open full answer →