Deutsch

Embedding

Checked 26 October 2026 · by A.Frick

In shortAn embedding is a list of numbers that represents the meaning of a text or image, so that similar items end up close together.

In plain words

A computer cannot compare meaning directly, but it can compare numbers. An embedding model reads a piece of text and returns a long list of numbers, a vector. Texts with similar meaning get vectors that lie close together; texts with different meaning lie far apart. Early work on word vectors, such as the 2013 word2vec paper, showed that such vectors capture word similarity. Today embedding models from OpenAI, Google and others do the same for sentences, pages, images and more.

cat dog kitten apple banana pear car truck bus Close together = similar meaning
Simplified to two dimensions. Real embeddings have hundreds or thousands.

To compare two items, you measure the distance or angle between their vectors. A small distance means a similar meaning.

Why it matters

Example

Three sentences: "How do I reset my password?", "I forgot my login", and "Best pizza in Rome". An embedding model turns each into a vector. The first two sit near each other. The third sits far away. A help-centre search uses this to show the password article for the second sentence.

Common misconceptions

Questions and answers

What is an embedding in simple terms?

A list of numbers that stands for the meaning of a text. Similar texts get similar numbers, so a computer can find related items.

What are embeddings used for?

Search by meaning, finding passages for RAG, grouping similar texts, spotting duplicates and recommendations.

Are embeddings the same as tokens?

No. Tokens are the small pieces a model reads. An embedding is a vector for the meaning of a whole text, or of one token inside a model.

Read next

  • RAG (retrieval-augmented generation)

    RAG (retrieval-augmented generation) first looks up relevant passages in your documents, then gives them to the model so it answers from them.

  • Token

    A token is a small chunk of text, often a word piece, that an AI model reads, writes and bills.

  • Large language model (LLM)

    A large language model (LLM) is an AI system trained on huge amounts of text to predict the next token, which lets it write, summarise and answer.

  • Hallucination

    A hallucination is a fluent, confident AI answer that is false, invented or not backed by the sources it was given.

Sources

  1. OpenAI — Vector embeddings
  2. Anthropic — Embeddings
  3. Mikolov et al. — Efficient Estimation of Word Representations in Vector Space

Was this page helpful?

Ask a question, report an error or suggest a topic

Stored only to answer or improve this page. No newsletter, no sharing. Privacy