What is query rewriting and why is it useful?
LLM Engineer Interview Questions: Advanced RAG Techniques — Self-RAG, GraphRAG, Agentic RAG
Audio flashcard · 0:20Nortren·
What is query rewriting and why is it useful?
0:20
Query rewriting uses an LLM to transform the user's original question into one or more reformulations better suited for retrieval. Examples include expanding abbreviations, generating synonyms, breaking compound questions into parts, or adding context from conversation history. Query rewriting fixes the common problem of users phrasing queries differently from how documents are written.
arxiv.org