Search

Search IconIcon to open search

Query2Doc

Last updatedUpdated: by Jakub Žovák · 1 min read

Properties
created 13.12.2024, 00:16
modified 09.08.2025, 14:35
published Empty
topics Query2Doc, Query Expansion, Hypothetical Documents
authors Empty
ai-assisted No

Good summary of this method The Geometry of Queries: Query-Based Innovations in Retrieval-Augmented Generation:

Query2Doc. Similarly to HyDE, Query2Doc employs few-shot prompting to generate a hypothetical pseudo-document that would answer the query. It concatenates the initial query with the synthetic document (generated similar to HyDE) and then performs dense retrieval using the embeddings of this concatenated text. Given the similarity with HyDE, we only implement HyDE in our benchmark.