Skip to content

Vectorization

The process of converting data — text, images, audio — into a vector of numbers, which reflects their meaning.

How It Works

A special model (embedding model) takes text and returns a fixed-length vector. Similar data in meaning yields close vectors.

Where It Is Used

The first step in RAG: documents are vectorized and stored in a vector database, and the query is vectorized for search.

See Also

← All Terms