Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Embedding model

Also: embedding models

In plain words

A model whose only job is to turn text into embeddings for searching.

Words placed on a map by meaning
delivery postponedshipment delayedweather forecastbirthday cake

An embedding turns a piece of text into a position on a map. Texts that mean similar things land close together, even with different words. Searching by meaning means looking for the nearest neighbours on the map.

The fuller definition

An embedding model converts inputs into numerical representations suitable for tasks such as similarity search or clustering.

Go deeper

Similarity as a map: a deliberately invented two-dimensional example
delivery postponedshipment delayedweather forecast

Related phrasing can be nearby in an embedding space. Real embeddings have many dimensions, and the model determines similarity. Nearby does not mean legally relevant or factually correct.

A concrete example

One model encodes document passages and queries so their vectors can be compared consistently.

The distinction that matters

Different embedding models generally use different spaces; do not mix vectors without a compatible method.

Related terms

Where it is taught

How document-grounded AI answers work

Source and further reading

Sentence Transformers · Semantic search

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC