Skip to main content
Open on GitHub

Annoy

Annoy (Approximate Nearest Neighbors Oh Yeah) 是用C++编写的库,具有Python绑定功能,用于在给定查询点附近搜索空间中的点。它还可以创建大型只读文件基础数据结构,并将其映射到内存中,以便多个进程可以共享相同的数据。

安装与设置

pip install annoy

向量存储

查看 使用示例

from langchain_community.vectorstores import Annoy
API 参考:烦恼