mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
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
|
|
```
|