mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
19 lines
548 B
Markdown
19 lines
548 B
Markdown
|
# 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](../modules/indexes/vectorstores/examples/annoy.ipynb).
|
||
|
|
||
|
```python
|
||
|
from langchain.vectorstores import Annoy
|
||
|
```
|