FAISS
A library from Meta (Facebook AI) for fast vector search. It is not a database but a vector index engine.
What Sets It Apart from Vector Databases
| FAISS | Vector DB | |
|---|---|---|
| Essence | Index library | Full-fledged database |
| Storage | In memory/file | With metadata and API |
| Production | Through wrappers | Out of the box |
When to Use
- Local prototypes without a separate server;
- When fast vector comparison is needed;
- In conjunction with LangChain for simple RAG.
Popular Indexes
- IndexFlatL2 — exact search;
- IndexIVF — clusters for acceleration;
- IndexHNSW — graph for fast search.