Search Tutorials
--Ads--Query Transformation
Rewrite, expand, split and route user questions before retrieval.
- 1Query Rewriting and ExpansionTurn vague user questions into clear, search-friendly queries.
- 2Multi-Query RetrievalGenerate several versions of a question and merge their results.
- 3HyDE: Hypothetical Document EmbeddingsSearch with an embedding of a hypothetical answer instead of the question.
- 4Step-Back PromptingRetrieve background knowledge with a more general version of the question.
- 5Query Decomposition for Multi-Hop QuestionsBreak complex questions into sub-questions and answer them in sequence.
- 6Query RoutingSend each question to the right index, tool or pipeline.
- 7Conversational Query CondensingRewrite follow-up questions in a chat into standalone search queries.