USearch
USearch is a Smaller & Faster Single-File Vector Search Engine.
USearch's
base functionality is identical toFAISS
, and the interface should look familiar if you have ever investigated Approximate Nearest Neighbors search.USearch
andFAISS
both employHNSW
algorithm, but they differ significantly in their design principles.USearch
is compact and broadly compatible with FAISS without sacrificing performance, with a primary focus on user-defined metrics and fewer dependencies.Installation and Setupβ
We need to install usearch
python package.
pip install usearch
Vector Storeβ
See a usage example.
from langchain_community.vectorstores import USearch