Intelligently categorize user input to route workflow paths
The Question Classifier node intelligently categorizes user input to route conversations down different workflow paths. Instead of building complex conditional logic, you define categories and let the LLM determine which one fits best based on semantic understanding.
Input Variable - Select what to classify, typically sys.query for user questions, but can be any text variable from previous workflow nodes.Model Selection - Choose an LLM for classification. Faster models work well for simple categories, while more powerful models handle nuanced distinctions better.
Create clear, descriptive labels for each category with specific descriptions of what belongs in each. Be precise about boundaries between categories to help the LLM make accurate decisions.Each category becomes a potential output path that you can connect to different downstream nodes like specialized knowledge bases, response templates, or processing workflows.
Add detailed classification guidelines in the Instructions field to handle edge cases, ambiguous scenarios, or specific business rules. This helps the LLM understand nuanced distinctions between categories.