vibedonaldsvibedonalds.com
Term

Embedding

A fixed-length vector of floating-point numbers that represents the semantic meaning of a piece of text, image, or other input. Used for similarity search, clustering, and retrieval. Common embedding models output 768 to 3072 dimensions.

Background

Embeddings convert input data into points in a high-dimensional vector space where semantically similar items are nearby. Cosine similarity between two embeddings approximates how related the underlying texts are. In coding tools, embeddings power semantic codebase search — query "where is the rate limiter?" and retrieve files even if they don't contain the literal words. OpenAI text-embedding-3, Cohere embed-v3, and Voyage's voyage-3 are the most common providers in 2026.