Definition
Vector Database
A vector database stores numeric vectors and retrieves records based on a distance or similarity measure. Many systems can also filter by metadata, such as source, document revision or workspace. Retrieval quality depends on the embedding model, distance metric, index settings and the data being searched.
Filter the candidate set before ranking by similarity
A policy search finds an obsolete revision with a cosine score of 0.94 and the current revision with 0.88. If only active policies may be cited, filter for the active revision before selecting the best remaining matches. An application must also enforce the caller’s access scope when retrieving records. Similarity expresses proximity in the embedding space.
Qdrant on metadata filters for vector search
Intelligence at Scale by Shashank Agarwal
Explained in
Chapter 9: What Is an Agent?
The moment you give an LLM access to knowledge or tools, it becomes an agent. And that makes all the difference.
Related terms