Knowledge Retrieval Node Incorrectly Reverts to RerankModel #8854
Labels
🐞 bug
Something isn't working
🤔 cant-reproduce
We can not reproduce it or the information is limited
Self Checks
Dify version
0.8.3
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
✔️ Expected Behavior
The node should consistently maintain its WeightedScore configuration as set by the user.
Root Cause:
After investigating the API calls, we found that the frontend is inconsistently sending the required data fields to the backend via the draft API. Specifically, the 'reranking_mode' and 'weights' parameters are sometimes missing from the API requests, causing a mismatch between the node's intended settings and its actual configuration (reverting to the RerankModel).
❌ Actual Behavior
I have identified an intermittent bug in the workflow involving the knowledge retrieval node. When setting the node to use WeightedScore, it occasionally and unexpectedly reverts to using the RerankModel instead. While this issue is not consistently reproducible, it occurs frequently enough to cause concern.
The text was updated successfully, but these errors were encountered: