[Feature request] Add knowledge base retrieve api into dataset open api #4912
zfanswer
started this conversation in
Suggestion
Replies: 1 comment 1 reply
-
My issue has been converted to discussion with no comments...AGAIN |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing?
I was trying to write my own program with Dify's knowledge base RAG function to achieve a
custom requirement, and found there is no retrieve api published in /datasets?category=api page. It was frustrating as what I can do is goning to trick the hit-testing page for single KB data retrival, also if I want to use multiple dataset, I have to combining retrival results of multiple KBs straightly w/o reranker or implementing reranker stage by my own.
2. Describe the feature you'd like to see
adding KB retrieve api into /datasets?category=api , at least retrieve within a single KB.
It's even better If N-to-1 and mutiple path retrieve func can be also inclueded.
3. How will this feature improve your workflow or experience?
Currently, if users want to use the RAG of knowledge base with their own programs, they can only trick the knowledge base hit-testing page for now. The knowledge base management open API lacks a retrieval API, and it would be helpful to allow users using open api with sk and enabling retrieve knowledges across multiple KBs (with multi-path reveval func).
4. Additional context or comments
No response
5. Can you help us with this feature?
Beta Was this translation helpful? Give feedback.
All reactions