FAISS
Meta's open-source library for fast similarity search over dense vectors, with flat, IVF, HNSW and quantised indexes.
In more detail
FAISS is a library rather than a database: it keeps indexes in memory and leaves storage, metadata and filtering to you. Its wiki is the standard reference for choosing an index type.
Related terms
- IVF index — An approximate vector index that clusters vectors into cells and searches only the cells whose centres are closest to the query.
- HNSW — An approximate vector index built as a layered graph of links between nearby vectors, searched by walking from a coarse top layer down to a dense bottom one.
- vector database — A database or extension that stores embedding vectors with their metadata and answers nearest-neighbour queries.
Taught in
- Vector Indexes And Databases — AI Engineering: LLM Apps, RAG & Agents