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
Not getting correct results with Classification (bug in 3+ categories) #4111
Comments
It sounds like the issue you're encountering with the classification node not directing the flow correctly in a 3+ category setup might be due to how the classification results are being handled and mapped to the workflow nodes. Here's a more focused approach to troubleshoot and potentially resolve the issue:
By focusing on these areas, you should be able to diagnose and correct the issue where the flow is not proceeding to the correct node after classification. This involves a careful review of how variables are managed and how classification results are mapped and used to direct the workflow.
|
The issue seems to be with double quotas, as removing them did make the classification go to the correct node. |
@AndyMik90 I am also facing the same issue. Can you explain in brief how you overcome with this? |
Check if you are using double quotes or single quotes in your class descriptions, I had "hi" in my class and the " was making the formatting of the class_name output wrong. |
optimized by below PR: #4147 @AndyMik90 @natarajan0007 |
Just saw your discord messages . I got it . let me try with that approach. @JohnJyong I am not when it will be released. |
Self Checks
Dify version
0.6.6
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
Create a classification node with 3 classes:
✔️ Expected Behavior
The flow goes into the correct node.
❌ Actual Behavior
The output from the classification is correct, but the flow continues in the wrong direction.
The text was updated successfully, but these errors were encountered: