Search K
Appearance
Appearance
The AITextClassifier
node leverages an AI model (e.g. OpenAI) to classify user-provided text into predefined categories based on provided descriptions. It is used in workflows that require intelligent text interpretation or classification based on natural language inputs.
This node enables dynamic classification of user input text by comparing it with a dictionary of categories and their descriptions. It is particularly useful for scenarios such as:
Setting | Description |
---|---|
Name | AITextClassifier |
Node Type | task |
Task Type | AITextClassifier |
Icon | Custom AI icon (update UI if needed) |
VisibilityControl | Not explicitly defined — assumed always visible |
Label | Input Type | Description | Required | Visible When |
---|---|---|---|---|
Classifications with Descriptions | text | A JSON array of key-value pairs, where each key is a category and each value is its description. | ✅ | Always |
User Input | text | The input text string to be classified. Supports placeholders (e.g., {myText} ) replaced at runtime. | ✅ | Always |
Example format for Classifications with Descriptions:
[
{ "key": "Sales", "value": "Topics related to selling products or services" },
{ "key": "Support", "value": "Requests for help or troubleshooting" },
{ "key": "Marketing", "value": "Content promoting the company or product" }
]