langchain/libs/community/langchain_community/vectorstores/docarray
Tarun Jain ef6d3d66d6
community[patch]: docarray requires hnsw installation (#19416)
I have a small dataset, and I tried to use docarray:
``DocArrayHnswSearch ``. But when I execute, it returns:

```bash
    raise ImportError(
ImportError: Could not import docarray python package. Please install it with `pip install "langchain[docarray]"`.
```

Instead of docarray it needs to be 

```bash
docarray[hnswlib]
```

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2024-03-22 22:39:07 +00:00
..
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
base.py community, langchain, infra: revert store extended test deps outside of poetry (#19153) 2024-03-15 17:10:47 +00:00
hnsw.py community[patch]: docarray requires hnsw installation (#19416) 2024-03-22 22:39:07 +00:00
in_memory.py community, langchain, infra: revert store extended test deps outside of poetry (#19153) 2024-03-15 17:10:47 +00:00