langchain/docs/extras/integrations/providers/annoy.mdx
2023-07-24 21:20:32 -07:00

19 lines
533 B
Plaintext

# Annoy
> [Annoy](https://github.com/spotify/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 mmapped into memory so that many processes may share the same data.
## Installation and Setup
```bash
pip install annoy
```
## Vectorstore
See a [usage example](/docs/integrations/vectorstores/annoy).
```python
from langchain.vectorstores import Annoy
```