Google Analytics counts our visits, with cookies. No thanks turns it off and removes its cookies; in Europe, the UK, Switzerland and India, or wherever we cannot tell where you are, it stays off unless you accept. Cookie Notice

Advertise
PRICES

What is Vector Database?

Vector Database: an AI term, explained in plain English.

In one line

A database built to store embeddings and quickly find the ones closest in meaning to a question.

AI Drafted with AI help · Reviewed by Keshav Aggarwal · Updated

In simple words

Imagine a library where books are shelved by what they are about, not by title. Ask about “sleeping animals” and you are led straight to the shelf on hibernation.

A vector database is that kind of library.

The technical side

Vector databases index embeddings so a nearest-neighbour search over millions of vectors returns in milliseconds, usually with approximate algorithms such as HNSW. Dedicated products include Pinecone, Weaviate and Qdrant; Postgres (pgvector) and many search engines also support vectors.

In a RAG app, the question is embedded, the closest document chunks are fetched from the vector database, and they are given to the model to answer from.

Vector Database kya hai?

Vector database aisi library hai jo matlab ke hisaab se cheezein dhoondhti hai, sirf shabd mila ke nahi. RAG isi pe chalta hai.

Related terms

All terms, A to Z