mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
19 lines
562 B
Plaintext
19 lines
562 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/modules/data_connection/vectorstores/integrations/annoy.html).
|
|
|
|
```python
|
|
from langchain.vectorstores import Annoy
|
|
```
|