Skip to content

Search & knowledge

What is an embedding?

An embedding is a list of numbers (a vector) that represents the meaning of a text, image or other content, so that content with similar meaning sits close together in that numerical space.

Also: Vector embedding · Semantic vector

Computers compare numbers better than words. An embedding model reads a passage of text and returns a vector, usually with several hundred to a few thousand values. That vector describes what the text is about. Texts with similar meaning get similar vectors, even when they use different words. Similarity between two vectors is usually measured with cosine similarity.

What embeddings are used for

  • Semantic search: The question “How many days off do I have?” also finds a passage about “annual leave entitlement”.
  • RAG: In retrieval-augmented generation, embeddings find the relevant passages from which a language model then writes an answer.
  • Grouping and recommending: Similar tickets, documents or products can be clustered automatically.

Embeddings are usually stored and searched in a vector database.

Limitations

Embeddings capture meaning but not always exact strings. Keyword search finds part numbers, names or legal references more reliably. Good enterprise search therefore combines both methods into hybrid search. To compute an embedding, the text is sent to a model, so where that model runs is a data protection question.

Example

The HR team of a logistics company stores its 60 pages of policies in a knowledge collection. Each section becomes an embedding when it is indexed. When a dispatcher asks about “working from home rules”, the search finds the section “Remote work, § 4”, even though the phrase “working from home” never appears in it.

Read more in our article on enterprise search and RAG.

Glossary

Related terms

Terms that often come up together.

Next step

From definition to practice.

Search, chat, agents and tasks in one platform. Hosted in Frankfurt, every model processed in the EU.

No per-seat fee · From €399 a month · Cancel monthly