Skip to content
Klay

Vector databases and similarity search

After this lesson you can: Store embeddings and retrieve the nearest ones to a query.

First: Chunking documents

Watch

Notes

A vector database stores vectors, usually embeddings produced from text chunks, images, or other data. Each vector is just a list of numbers that represents meaning in a way a model can compare. When a user asks a question, you embed the question with the same embedding model, then search for stored vectors that are closest to the query vector.

Unlock the full lesson notes, the exercises and the graded checkpoint - ₹5,000 once.