mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 06:23:20 +00:00
community, langchain, infra: store extended test deps outside of poetry (#18995)
poetry can't reliably handle resolving the number of optional "extended test" dependencies we have. If we instead just rely on pip to install extended test deps in CI, this isn't an issue.
This commit is contained in:
@@ -28,7 +28,7 @@ def _check_docarray_import() -> None:
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"Could not import docarray python package. "
|
||||
'Please install it with `pip install "langchain[docarray]"`.'
|
||||
"Please install it with `pip install docarray`."
|
||||
)
|
||||
|
||||
|
||||
|
@@ -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`.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
|
@@ -15,7 +15,7 @@ class DocArrayInMemorySearch(DocArrayIndex):
|
||||
"""In-memory `DocArray` storage for exact search.
|
||||
|
||||
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`.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user