mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-10 08:56:42 +00:00
typo in vectorstores (#1362)
This commit is contained in:
parent
fe7dbecfe6
commit
edb3915ee7
@ -63,7 +63,7 @@ class AtlasDB(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import nomic python package. "
|
||||
"Please it install it with `pip install nomic`."
|
||||
"Please install it with `pip install nomic`."
|
||||
)
|
||||
|
||||
if api_key is None:
|
||||
|
@ -42,7 +42,7 @@ class Chroma(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import chromadb python package. "
|
||||
"Please it install it with `pip install chromadb`."
|
||||
"Please install it with `pip install chromadb`."
|
||||
)
|
||||
|
||||
# TODO: Add support for custom client. For now this is in-memory only.
|
||||
|
@ -65,7 +65,7 @@ class DeepLake(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import deeplake python package. "
|
||||
"Please it install it with `pip install deeplake`."
|
||||
"Please install it with `pip install deeplake`."
|
||||
)
|
||||
self._deeplake = deeplake
|
||||
|
||||
|
@ -23,7 +23,7 @@ def dependable_faiss_import() -> Any:
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import faiss python package. "
|
||||
"Please it install it with `pip install faiss` "
|
||||
"Please install it with `pip install faiss` "
|
||||
"or `pip install faiss-cpu` (depending on Python version)."
|
||||
)
|
||||
return faiss
|
||||
|
@ -42,7 +42,7 @@ class Milvus(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import pymilvus python package. "
|
||||
"Please it install it with `pip install pymilvus`."
|
||||
"Please install it with `pip install pymilvus`."
|
||||
)
|
||||
# Connecting to Milvus instance
|
||||
if not connections.has_connection("default"):
|
||||
@ -349,7 +349,7 @@ class Milvus(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import pymilvus python package. "
|
||||
"Please it install it with `pip install pymilvus`."
|
||||
"Please install it with `pip install pymilvus`."
|
||||
)
|
||||
# Connect to Milvus instance
|
||||
if not connections.has_connection("default"):
|
||||
|
@ -39,7 +39,7 @@ class Pinecone(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import pinecone python package. "
|
||||
"Please it install it with `pip install pinecone-client`."
|
||||
"Please install it with `pip install pinecone-client`."
|
||||
)
|
||||
if not isinstance(index, pinecone.index.Index):
|
||||
raise ValueError(
|
||||
|
@ -35,7 +35,7 @@ class Qdrant(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import qdrant-client python package. "
|
||||
"Please it install it with `pip install qdrant-client`."
|
||||
"Please install it with `pip install qdrant-client`."
|
||||
)
|
||||
|
||||
if not isinstance(client, qdrant_client.QdrantClient):
|
||||
@ -177,7 +177,7 @@ class Qdrant(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import qdrant-client python package. "
|
||||
"Please it install it with `pip install qdrant-client`."
|
||||
"Please install it with `pip install qdrant-client`."
|
||||
)
|
||||
|
||||
from qdrant_client.http import models as rest
|
||||
|
@ -37,7 +37,7 @@ class Weaviate(VectorStore):
|
||||
except ImportError:
|
||||
raise ValueError(
|
||||
"Could not import weaviate python package. "
|
||||
"Please it install it with `pip install weaviate-client`."
|
||||
"Please install it with `pip install weaviate-client`."
|
||||
)
|
||||
if not isinstance(client, weaviate.Client):
|
||||
raise ValueError(
|
||||
|
Loading…
Reference in New Issue
Block a user