Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

[Feature] Support "GET" operations for the knowledge base #290

Open
2 tasks done
NB-123 opened this issue Feb 13, 2024 · 2 comments
Open
2 tasks done

[Feature] Support "GET" operations for the knowledge base #290

NB-123 opened this issue Feb 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@NB-123
Copy link

NB-123 commented Feb 13, 2024

Is this your first time submitting a feature request?

  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing functionality

Describe the feature

The knowledge base module. supports upsert and delete commands, but I do not see any option to retrieve ("GET"). It would be great if you can support such a feature. Ideally, I should be able to do the retrieval based on document IDs or specified metadata filters.

Describe alternatives you've considered

It seems you can potentially do this in a non-pythonic way using https://docs.pinecone.io/docs/get-record-ids. However, there does not seem to be a native Python way of doing this (via the pinecone or canopy package directly). Moreover, the records need to be manually combined or filtered which is suboptimal.

Who will this benefit?

Everyone who wants CRUD API endpoints to manage their canopy/pinecone indexes

Are you interested in contributing this feature?

Sure, but would appreciate guidance (pair programming maybe?)

Anything else?

No response

@NB-123 NB-123 added the enhancement New feature or request label Feb 13, 2024
@NB-123 NB-123 changed the title [Feature] Support "GET" and "PUT" operations for the knowledge base [Feature] Support "GET" operations for the knowledge base Feb 13, 2024
@miararoy
Copy link
Contributor

I like the idea, let me loop in internally and get back to you about this feature request!

@alalalbert
Copy link

+1 it would be really useful to be able to see what's in the knowledgebase for debugging. I'm dealing with an issue where things I don't think are part of the knowledgebase apparently are, and things that I thought would be apparently aren't.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants