Technique Updated 2026-04

Embedding

Definition

An embedding is a numerical representation (vector) of text or data, capturing its semantic meaning.

Frequently Asked Questions

What are embeddings used for?
They measure semantic similarity between texts. Two sentences with the same meaning will have close vectors. It's the foundation of RAG.
Are embeddings and tokens the same?
No. A token is raw text. An embedding is its translation into a numerical vector in mathematical space.