Skip to main content
Open on GitHub

Annoy

Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python bindings to search for points in space that are close to a given query point. It also creates large read-only file-based data structures that are mapped into memory so that many processes may share the same data.

安装与设置

pip install annoy

向量存储

查看一个 使用示例

from langchain_community.vectorstores import Annoy
API 参考:Annoy