Skip to main content
Open on GitHub

Annoy

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

安装和设置

pip install annoy

Vectorstore

请参阅使用示例

from langchain_community.vectorstores import Annoy
API Reference:Annoy