mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
pinecone: update pinecone client (#28320)
This PR updates the Pinecone client to `5.4.0`, as well as its dependencies (`pinecone-plugin-inference` and `pinecone-plugin-interface`). Note: `pinecone-client` is now simply called `pinecone`. **Question for reviewer(s):** should this PR also update the `pinecone` dep in [the root dir's `poetry.lock` file](https://github.com/langchain-ai/langchain/blob/master/poetry.lock#L6729)? Was unsure. (I don't believe so b/c it seems pinned to a lower version likely based on 3rd-party deps (e.g. Unstructured).) -- TW: @audrey_sage_ --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1208693659122374
This commit is contained in:
committed by
GitHub
parent
000be1f32c
commit
6b7e93d4c7
@@ -31,7 +31,7 @@ def _import_pinecone() -> Any:
|
||||
except ImportError as e:
|
||||
raise ImportError(
|
||||
"Could not import pinecone python package. "
|
||||
"Please install it with `pip install pinecone-client`."
|
||||
"Please install it with `pip3 install pinecone`."
|
||||
) from e
|
||||
return pinecone
|
||||
|
||||
@@ -48,7 +48,7 @@ def _is_pinecone_v3() -> bool:
|
||||
class Pinecone(VectorStore):
|
||||
"""`Pinecone` vector store.
|
||||
|
||||
To use, you should have the ``pinecone-client`` python package installed.
|
||||
To use, you should have the ``pinecone`` python package installed.
|
||||
|
||||
This version of Pinecone is deprecated. Please use `langchain_pinecone.Pinecone`
|
||||
instead.
|
||||
|
Reference in New Issue
Block a user