Query Transformation: Fixing the Question Before the Search

Users ask vague, compound and oddly worded questions, and a single embedding of their exact words often retrieves poorly. Using an LLM to rewrite the query first — multi-query, RAG-Fusion, decomposition, step-back, HyDE and routing — makes retrieval far more robust.

Advanced RAG Masterclass

Sign up free to read the rest of this lesson