The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: docarray requires hnsw installation (#19416)
Tarun Jainef6d3d66d618
diff --git a/libs/community/langchain_community/vectorstores/docarray/hnsw.py b/libs/community/langchain_community/vectorstores/docarray/hnsw.pyindex 4394847184..8b33f7a0d5 100644--- a/libs/community/langchain_community/vectorstores/docarray/hnsw.py+++ b/libs/community/langchain_community/vectorstores/docarray/hnsw.py@@ -14,7 +14,7 @@ class DocArrayHnswSearch(DocArrayIndex):"""`HnswLib` storage using `DocArray` package.To use it, you should have the ``docarray`` package with version >=0.32.0 installed.- You can install it with `pip install "langchain[docarray]"`.+ You can install it with `pip install "docarray[hnswlib]"`."""@classmethod