Skip to content

Glossary: RAG Beyond the Basics

HyDE

Also written: Hypothetical Document Embeddings

Hypothetical Document Embeddings: a model writes a short made-up passage that answers the question and you search with that. The fake answer sits closer to real answers than the question does, and it is never shown to the user.

Where the book teaches it

Related terms

Query transformationVector search