Skip to main content
Open on GitHub

USearch

USearch is a Smaller & Faster Single-File Vector Search Engine.

USearch's base functionality is identical to FAISS, and the interface should look familiar if you have ever investigated Approximate Nearest Neighbors search. USearch and FAISS both employ HNSW 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.

安装与设置

我们需要安装 usearch 个 Python 包。

pip install usearch

向量存储

查看一个 使用示例

from langchain_community.vectorstores import USearch
API 参考:USearch