3 ms·
which search algorithm does it use?
by sathergate 5y ago
which search algorithm does it use?
- cyrusthegreat 5y agoWe use HNSW internally via HNSWLIB, it's the same algorithm that Facebook uses to power their embedding search.
- sathergate 5y agothanks! how did you make the decision to use hnsw over faiss and other search algorithms?
- cyrusthegreat 5y agoFaiss 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.