Hacker News new | ask | show | jobs
by sathergate 1737 days ago
which search algorithm does it use?
1 comments

We use HNSW internally via HNSWLIB, it's the same algorithm that Facebook uses to power their embedding search.
thanks! how did you make the decision to use hnsw over faiss and other search algorithms?
Faiss actually also uses HNSW internally, HNSWLIB is just a lighter weight implementation which allowed us to iterate faster. In the future we will switch it back out for FAISS to take advantage of its full array of functionality.