CRUD operation in Pinecone without using vector

How can I perform CRUD operation in Pinecone? I don’t want to include the vector parameter, just use filter parameter to filter from index.

Hi @rishav ,

Thank you for your question!

To ensure I’m understanding your question correctly, are you trying to perform a query against an existing Pinecone index without supplying a query vector?

If so, you can provide the query method with an “empty vector” so long as it has the same number of dimensions as your index.

For example, in Python you can generate an “empty vector” with 1536 dimensions like so:

[0.0] * 1536

Then, supply this empty vector as the first argument to your query call.

I hope that is helpful, and please feel free to clarify or provide more information or even sample code if I’ve misunderstood your question!