By defining classification descriptions, the issue classifier can infer and match user inputs to the corresponding categories and output the classification results.
Common use cases include customer service conversation intent classification, product review classification, and bulk email classification.
In a typical product customer service Q&A scenario, the issue classifier can serve as a preliminary step before knowledge base retrieval. It classifies the user’s input question, directing it to different downstream knowledge base queries to accurately respond to the user’s question.
The following diagram is an example workflow template for a product customer service scenario:
In this scenario, we set up three classification labels/descriptions:
When users input different questions, the issue classifier will automatically classify them based on the set classification labels/descriptions:
Configuration Steps:
sys.query
.Instructions: In Advanced Settings - Instructions, you can add supplementary instructions, such as more detailed classification criteria, to enhance the classifier’s capabilities.
Memory: When enabled, each input to the issue classifier will include chat history from the conversation to help the LLM understand the context and improve question comprehension in interactive dialogues.
Memory Window: When the memory window is closed, the system dynamically filters the amount of chat history passed based on the model’s context window; when open, users can precisely control the amount of chat history passed (in terms of numbers).
Output Variable:
class_name
stores the classification output label. You can reference this classification result in downstream nodes when needed.