# What is HyDE? Definition and meaning

Has a model write a hypothetical answer first and retrieves with its embedding instead of the raw query.

## Definition

**HyDE**: Has a model write a hypothetical answer first and retrieves with its embedding instead of the raw query.

In short: Hypothetical document embeddings.

## When it is used

Retrieval for short or vague queries.

## Learn more

The full guide to **[HyDE](/tools/hyde)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Hybrid search](/glossary/hybrid-search) · Next term: [Hyperparameter tuning](/glossary/hyperparameter-tuning)
