-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Feat:Compatible with Dify's External Knowledge API #2848
Conversation
6ffa145
to
60fe7a6
Compare
api/apps/sdk/retrieval.py
Outdated
from utils.api_utils import validate_request, build_error_result, apikey_required | ||
|
||
|
||
@manager.route('/retrieval', methods=['POST']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manager.route('/retrieval', methods=['POST']) | |
@manager.route('/dify_retrieval', methods=['POST']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added dify to url prefix and changed the filename, PTAL.
Sorry for the bug.I am quite busy recently, so I have no time to deal with it. Thanks for your fix! |
already solved in #3076 |
### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ Fixes infiniflow#2731 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
What problem does this PR solve?
Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.
Fixes #2731
Type of change