Glossary · AI & ML

Embedding

A numerical vector representation of text, data, or objects that captures semantic meaning for AI processing.

An embedding is a dense vector representation of data (text, images, or other objects) in a continuous, low-dimensional space where semantically similar items are positioned closer together. Text embeddings convert words, sentences, or documents into fixed-size numerical vectors that capture semantic meaning. For example, the embeddings for "revenue" and "sales" would be closer together than "revenue" and "temperature." Embeddings are fundamental to many AI applications: semantic search, recommendation systems, clustering, and RAG (Retrieval-Augmented Generation). Popular embedding models include OpenAI's text-embedding-3, Cohere Embed, and sentence-transformers.

In practice

How AI for Database applies it

AI for Database uses embeddings to understand the semantic meaning of your queries and match them to the most relevant tables and columns.
AI & ML · aifordatabase glossaryRead-only ✓

Fig — every answer ships with the tables, rows and SQL behind it.

See it on your own database

Connect read-only in minutes. Free models included.

Start free