RAG / Retrieval · Level 2 of 5
Query Rewriting
Transforming a query into a form intended to retrieve better evidence.
A rewrite can lose intent if it changes the user's meaning.
Example
A follow-up question is rewritten to include the subject from prior context.
Listen to the definition and example
Audio transcript
Query Rewriting. Transforming a query into a form intended to retrieve better evidence. A rewrite can lose intent if it changes the user's meaning. For example: A follow-up question is rewritten to include the subject from prior context.
Explore this concept
Why it matters
This helps you trace an answer back to the evidence that was actually retrieved.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.