AI engineering glossary · RAG vector search

What is FAISS?

FAISS: An open-source library from Meta for similarity search and clustering of dense vectors. It offers flat, IVF, HNSW and quantised indexes, runs on CPU and GPU, and is widely used as a building block for retrieval.

Level: intermediateTopic: RAG vector search

FAISS: an example

A prototype builds a FAISS IVF index over 500,000 chunk embeddings and queries it from a Python script.

Related terms

More RAG vector search terms

Where you learn it

FAISS is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.