dify icon indicating copy to clipboard operation
dify copied to clipboard

Rerank model setting cannot display

Open mlzxdzl opened this issue 10 months ago • 2 comments

Self Checks

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

Dify version

1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I update dify from v0.15.3 to v1.0.0 I can select Rerank model,like this:

Image But when I refresh the page , what i selected will be display like this

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

mlzxdzl avatar Mar 07 '25 03:03 mlzxdzl

There is a similar closed issue related to the rerank model settings not persisting after a page reload in Dify version 0.15.3. This issue was fixed in version 1.0.0. However, if you are still experiencing problems in version 1.0.0, ensure that your setup is correctly configured. Here are some steps you can take:

  1. Verify that the API key for the rerank model is correctly set up on the "Model Provider" page.
  2. Check for any inconsistencies in the embedding models used across multiple referenced knowledge bases.
  3. Ensure that the UI components ModelSelector and Switch are functioning correctly and that the rerank model list is populated.

If these steps do not resolve the issue, consider checking the logs for any error messages or warnings that might provide more insight into the problem [1].

To continue talking to Dosu, mention @dosu.


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

dosubot[bot] avatar Mar 07 '25 03:03 dosubot[bot]

@appleboy @tomoyuki28jp @rainchen @iwaim I would really appreciate your assistance with this problem. I am currently unable to determine that what i choose is right.

mlzxdzl avatar Mar 07 '25 08:03 mlzxdzl

Hi, @mlzxdzl. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Bug reported: Rerank model setting does not persist after page refresh.
  • Occurs after updating from version 0.15.3 to 1.0.0 in a self-hosted Docker environment.
  • Suggested checks: API key setup, model consistency, UI component functionality.
  • Similar issue resolved in version 1.0.0, but the problem persists for you.
  • You reached out to @appleboy and @tomoyuki28jp for further assistance.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no further activity occurs, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Apr 07 '25 16:04 dosubot[bot]