Skip to main content

Annoy

Annoy (Approximate Nearest Neighbors Oh Yeah) 是一个 C++ 库,带有 Python 绑定,用于搜索空间中与给定查询点接近的点。它还创建了大型只读文件数据结构,这些结构映射到内存中,以便多个进程可以共享相同的数据。

安装与设置

pip install annoy

向量存储

查看 使用示例

from langchain_community.vectorstores import Annoy

此页面是否有帮助?


您还可以留下详细的反馈 在 GitHub 上