Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

AI glossary

Embedding

An embedding is a list of numbers that represents the meaning of a piece of text, so that texts with similar meanings sit close together.

An embedding model turns "How do I reset my password?" into a vector of a few hundred numbers. "I forgot my login" lands nearby even though the two share almost no words.

Closeness is measured with cosine similarity or a distance. That is what makes meaning search, clustering and finding duplicates possible with plain arithmetic.

Vectors from two different embedding models cannot be compared with each other. Change the model and every stored embedding has to be made again.

Learn it hands-on

These free lessons teach it with commands to run in a lab and checked tasks. Read them whole with no account.

← All AI terms