You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is a new bug in the Pinecone Python Client
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
I want to delete all the vector embeddings from the default namespace. I tried to follow the official documentation. I ran the code and it returned the empty string { } as expected but the vectors didn't got deleted from the pod. When I tried to run again index.describe_index_state() it shows all the indexes that are present.
Expected Behavior
It should remove all the vectors from the pods also. The request's response is an empty string but vectors aren't deleted.
Steps To Reproduce
Here is my code,
from pinecone import Pinecone
pc = Pinecone(api_key=os.getenv("PINECONE_API_KEY"))
index = pc.Index(<index-name>)
print(index.describe_index_stats())
print(index.delete(delete_all=True))
Relevant log output
No response
Environment
- OS: Windows 11
- Python: 3.11.4
- pinecone: 3.0.2
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Note that delete(delete_all=True only deletes the vectors in the specified namespace (defaults to the default namespace). Indeed, I see the expected behaviour when I have two namespaces - default and ns_2 and call delete(delete_all=True):
Today I got a new error, namespace is not found. namespace parameter is optional for the default namespace.
I'm getting the same error in the curl request too.
Is this a new bug in the Pinecone Python client?
Current Behavior
I want to delete all the vector embeddings from the default namespace. I tried to follow the official documentation. I ran the code and it returned the empty string { } as expected but the vectors didn't got deleted from the pod. When I tried to run again
index.describe_index_state()
it shows all the indexes that are present.Expected Behavior
It should remove all the vectors from the pods also. The request's response is an empty string but vectors aren't deleted.
Steps To Reproduce
Here is my code,
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: