Skip to content
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

In the workflow, the recall settings of the knowledge retrieval node cannot be modified to change the rerank model. #12711

Closed
5 tasks done
Moiyu1998 opened this issue Jan 14, 2025 · 1 comment · Fixed by #12721
Assignees
Labels
🐞 bug Something isn't working 🌊 feat:workflow Workflow related stuff.

Comments

@Moiyu1998
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image
I am unable to switch the rerank model as clicking on other models has no effect. Please fix this bug as soon as possible.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@dosubot dosubot bot added 🌊 feat:workflow Workflow related stuff. 🐞 bug Something isn't working labels Jan 14, 2025
Copy link

dosubot bot commented Jan 14, 2025

To address the issue where the rerank model cannot be changed in the Dify workflow UI, you can try the following steps:

  1. Check for UI Errors: Open the browser's developer console (usually accessible via F12 or right-click -> Inspect) and look for any JavaScript errors that might indicate why the dropdown interaction is not working.

  2. Verify Dependencies: Ensure that all necessary dependencies and libraries are correctly installed and up-to-date. The Dify workflow editor relies on libraries like React, ReactFlow, and ahooks for UI interactions [1][2].

  3. Inspect Event Listeners: The dropdown interactions are managed using event listeners. Verify that the useEventListener hook from ahooks is functioning correctly and that no other scripts are interfering with the dropdown's event handling.

  4. Check for CSS Issues: Sometimes, CSS can interfere with UI components. Ensure that there are no CSS rules that might be preventing the dropdown from functioning properly.

  5. Review Custom Components: The dropdown uses custom components like PortalToFollowElem and PortalToFollowElemTrigger. Ensure these components are correctly implemented and not causing the issue.

If these steps do not resolve the issue, it might be necessary to look into the specific implementation details of the dropdown component in the codebase or consider updating to a newer version if available.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🌊 feat:workflow Workflow related stuff.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants