Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Vector database

Also: vector databases, vector store

In plain words

A store built for embeddings, so you can quickly find texts with a similar meaning.

Words placed on a map by meaning
delivery postponedshipment delayedweather forecastbirthday cake

An embedding turns a piece of text into a position on a map. Texts that mean similar things land close together, even with different words. Searching by meaning means looking for the nearest neighbours on the map.

The fuller definition

A vector database stores vectors and associated metadata and supports similarity-based retrieval. Many systems combine vector search with filters or other search methods.

Go deeper

Similarity as a map: a deliberately invented two-dimensional example
delivery postponedshipment delayedweather forecast

Related phrasing can be nearby in an embedding space. Real embeddings have many dimensions, and the model determines similarity. Nearby does not mean legally relevant or factually correct.

A concrete example

A query vector retrieves nearby passage vectors while filtering to the correct matter ID.

The distinction that matters

Vector similarity does not replace document permissions, source provenance, or exact searches.

Related terms

Where it is taught

How document-grounded AI answers work

Source and further reading

Sentence Transformers · Semantic search

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC