Glossary

What is Vector database?

In Turkish: Vektör veritabanı · Topic: Using AI

A database that stores embedding vectors and makes it possible to quickly find the content most similar in meaning. It is used in document search and RAG systems.

How does it work?

Documents are first split into chunks, and each chunk is converted into a vector by an embedding model. The vector database stores these vectors. When a user asks a question, the question is also converted into a vector, and the database finds the document chunks closest in meaning within milliseconds. The retrieved chunks are then given to the language model as context.

Why does it matter?

It is a core building block for companies to build AI assistants that give current, accurate answers based on their own documents. It makes it possible to add new information without retraining the model.

Example

A law firm can load thousands of contracts into a vector database and quickly find relevant documents with queries such as "lease agreements with a termination clause."

FAQ

What is the difference between a vector database and a regular database?

Regular databases search by exact match or specific values. Vector databases calculate the proximity between vectors to find content that is similar in meaning.

Is a vector database necessary for every AI project?

No. If there are only a few documents, all of them can be given directly to the model. For large, constantly updated document archives, a vector database is more efficient.

All terms