11What is query transformation in RAG (HyDE, decomposition, step-back), and when does each help?▼hardCohereGleanMicrosoft1 replies○ sign inRetrieval quality is capped by the query, and raw user queries are often bad for search. The signal is knowing the techniques that rewrite the query before retrieval and which failure each fixes.Open full answer →
37How do you handle multi-hop questions in RAG (questions needing several pieces of evidence)?▼hardGoogleMicrosoftCohere1 replies◆ premiumSingle-shot retrieval fails on questions that chain facts ('who directed the highest-grossing film of 2019?'). The signal is decomposing or iterating retrieval instead of 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 can't represent a question with three independent parts. The signal is knowing 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 →