Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM. The connection to Faiss is based on the faiss-cpu or faiss-gpu library.


  • faiss-cpu (or) faiss-gpu

Create Index#

CREATE INDEX index_name ON table_name (data) USING FAISS;