You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
Pleas do not modify this template :) and fill in all the required fields.
Dify version
0.6.5
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I was trying to figure out why my question classifier was routing to the wrong (and same one everytime) node. When debugging only the Question Classifier step, it showed that it found the correct classification but the routing choice to the next node did not match the result. I am frequently having to disconnect and reconnect the proceeding nodes to fix the issue.
✔️ Expected Behavior
The Question Classifier routes to the next node appropriately.
❌ Actual Behavior
The Question Classifier returns a proper result but routes to the incorrect node.
The text was updated successfully, but these errors were encountered:
To address the issue with the Question Classifier routing to the incorrect node despite recognizing the correct classification, consider the following steps:
Review Classification Conditions: Ensure the conditions for each classification are clear and do not overlap, which could lead to incorrect routing.
Verify Model Configuration: Check the inference model and model provider settings to ensure they are correctly configured for accurate classification and routing.
Check Input Variables: Confirm that the input variable is correctly captured and passed to the Question Classifier without alterations.
Additionally, recent updates to the Dify codebase, particularly in api/core/workflow/nodes/question_classifier/template_prompts.py, might impact routing behavior. Review these changes for potential insights into the issue.
If the problem persists, providing specific logs or error messages could offer further insights into the misrouting issue.
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
Self Checks
Dify version
0.6.5
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I was trying to figure out why my question classifier was routing to the wrong (and same one everytime) node. When debugging only the Question Classifier step, it showed that it found the correct classification but the routing choice to the next node did not match the result. I am frequently having to disconnect and reconnect the proceeding nodes to fix the issue.
✔️ Expected Behavior
The Question Classifier routes to the next node appropriately.
❌ Actual Behavior
The Question Classifier returns a proper result but routes to the incorrect node.
The text was updated successfully, but these errors were encountered: