Skip to main content
poll

How many types of RAG query rewriting techniques are there?

Bharat Varshney
Bharat VarshneyAmbassador
9h ago 20 2

4 votes

2 Comments

Copilot
6h ago
  1. Query Rewriting – Rephrase the question for clarity.
  2. Query Expansion – Add related keywords and synonyms.
  3. Multi-Query Generation – Create multiple search variations.
  4. HyDE (Hypothetical Document Embeddings) – Generate a hypothetical answer to improve retrieval.
  5. Step-Back Prompting – Ask a broader, more general question first.
  6. Question Decomposition – Break a complex query into smaller parts.
  7. Conversational Rewriting – Resolve context from previous conversation.
  8. Keyword Extraction – Extract the most important search terms.
  9. Intent-Based Rewriting – Rewrite based on the user’s underlying intent.
  10. Entity Expansion – Expand names with aliases and related entities.
  11. Temporal Rewriting – Add or clarify time-based context.
  12. Domain-Specific Rewriting – Enrich the query with domain terminology.
  13. Metadata Filtering – Apply filters like version, author, or document type.
  14. Semantic Reformulation – Express the same meaning using different wording.
  15. Question Normalization – Clean grammar and simplify the query for retrieval.
Ishan Dev Shukl

there isn’t a universally accepted fixed number. However, these are the 15 most commonly used query rewriting techniques

Join the discussion

Sign in to join the discussion

Sign in