pinecone-io / pinecone-python-client

The Pinecone Python client
https://www.pinecone.io/docs
Apache License 2.0
306 stars 80 forks source link

[Feature] Add support for fetch using query filters #287

Open deven298 opened 9 months ago

deven298 commented 9 months ago

Is this your first time submitting a feature request?

Describe the feature

The fetch() method is very limiting for python client. It only accepts the ids parameter which means the user needs to maintain the map of ids and its metadata. However, the fetch method needs to be able to fetch data entities using a query.

Describe alternatives you've considered

Need to maintain a map of ids and metadata for the embeddings stored in PineconeDB. However, this is not scalable and makes it almost impossible to build production ready app.

Who will this benefit?

This will help in building a database with following benefits:

Are you interested in contributing this feature?

Yes, but dont have enough time.

Anything else?

This is a basic functionality for fetching data from any db. Pinecone has much cleaner interface and empowering it with such functionality will help grow the users.

anawishnoff commented 2 months ago

This is on the roadmap, though we don't have a timeline to share right now