Explain it in 60 seconds
Query rewriting and expansion
Machine Learning · RAG · Intermediate
What are query rewriting and query expansion techniques in RAG?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- User queries are often short, vague or conversational.
- Rewrite into clearer standalone search queries with an LLM.
- Expansion: add synonyms or related terms.
- HyDE: generate a hypothetical answer and embed it for retrieval.
- Improves recall; adds latency.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.