April 2026
Intermediate
395 pages
13h 22m
English
In this section, you’ll learn how data is retrieved from a vector database. To understand this topic in detail, you’ll need to understand what similarities are, how they are derived, and how to use them during data retrieval. Let’s get started!
Before we retrieve data from a database, you must understand how a database finds relevant documents. Relevant documents do not necessarily mean finding exact matches. While traditional structured databases always search for exact matches, vector databases search for most relevant documents rather than perfect matches. Different approaches are available for finding these documents. We’ll cover two of the most relevant ones:
Cosine similarity
Read now
Unlock full access