Data & Retrieval

Embedding

A vector that places a piece of text in space so that nearby vectors mean similar things.

An embedding maps text (a word, sentence, or document) to a dense vector so that semantic similarity becomes geometric closeness. Embeddings power search, clustering, and the retrieval step of RAG, where a query vector is matched against document vectors by cosine similarity.