explainx.ainewsletter3.5k
TrendingNewsPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

learn

pathways — start freeworkshopsbootcampscoursescertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsagentsllmsdesignsdictionaryagi trackerranks

company

aboutvisionmissionteaminstructorscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

  1. Home
  2. /
  3. Dictionary
  4. /
  5. HyDE
Retrieval & Searchaka Hypothetical Document Embeddings

HyDE

HyDE has an LLM generate a hypothetical answer to a query, then embeds that answer instead of the raw query to find real matching content.

Ask Melo about this← all terms

Short for Hypothetical Document Embeddings, HyDE is a retrieval technique from a 2022 arXiv paper: rather than embedding a terse user query directly, an LLM first writes a plausible (possibly wrong) hypothetical answer or document, and that hypothetical text is embedded and compared against real documents. Because the hypothetical answer is written in the same register and detail level as real matching content, its embedding often lands closer to the correct document than the original query's embedding would. Developer Doug Turnbull applied the same idea to classification instead of search — hallucinating a plausible category label, then resolving it to the closest real category via embedding similarity — letting a cheap model classify into a large taxonomy without ever seeing the taxonomy itself.

Related terms

Vector EmbeddingRetrieval-Augmented GenerationSemantic SearchApproximate Nearest Neighbor