Plain-English AI definitions for legal professionals. For what bars actually require, see the Legal AI Compliance Register.

Embedding

How models work Last reviewed 2026-06-11

Definition A list of numbers that represents the meaning of a piece of text, so that similar content sits close together mathematically. Embeddings let software search by concept rather than by exact keywords.

In more depth

An embedding model converts words, sentences, or documents into vectors—coordinates in a high-dimensional space—where distance reflects similarity of meaning. This is the basis of semantic search: a query about termination for cause can surface clauses that never use those exact words. Embeddings are stored and searched in vector databases and are a core component of retrieval-augmented generation.

Further reading: Wikipedia.

Related terms

About the editor: MHSB Solutions, Research desk. MHSB Solutions is not a law firm. This glossary is educational information, not legal advice.

Educational information, not legal advice. AI terminology and tools change quickly; definitions reflect usage as of the last-updated date. For what bar associations and courts actually require of lawyers using AI, see legalaicompliance.help and consult a licensed attorney in your jurisdiction.