Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinecone HTTP delete endpoint deprecated for deleting vectors #15

Open
RobinBeekhof opened this issue Feb 26, 2024 · 0 comments
Open

Pinecone HTTP delete endpoint deprecated for deleting vectors #15

RobinBeekhof opened this issue Feb 26, 2024 · 0 comments

Comments

@RobinBeekhof
Copy link

when calling delete vectors

index = %Pinecone.Index{name: "index_id"}
Pinecone.delete_vectors(index, ["vector_id"])

I get the following error:

[warning] Failed pinecone request: %Req.Response{status: 405, headers: %{"connection" => ["keep-alive"], "content-length" => ["0"], "date" => ["Sun, 25 Feb 2024 19:01:20 GMT"], "server" => ["envoy"]}, body: "", trailers: %{}, private: %{}} {:error, ""}

I noticed that Pinecone has deprecated its HTTP Delete in favor of HTTP Post for deleting vectors
https://docs.pinecone.io/reference/delete1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant