mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 06:26:12 +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
@@ -74,6 +74,7 @@ class PineconeVectorStore(VectorStore):
|
||||
dimension=1536,
|
||||
metric="cosine",
|
||||
spec=ServerlessSpec(cloud="aws", region="us-east-1"),
|
||||
deletion_protection="enabled", # Defaults to "disabled"
|
||||
)
|
||||
while not pc.describe_index(index_name).status["ready"]:
|
||||
time.sleep(1)
|
||||
|
Reference in New Issue
Block a user