Skip to main content

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.

Installation and Setup

pip install annoy

Vectorstore

See a usage example.

from langchain_community.vectorstores import Annoy
API Reference:Annoy

Was this page helpful?