Writer
Classification
Classifies text into predefined categories using AI. Useful for tagging and routing inputs.
Fields
Name | Type | Control | Default | Description | Options | Validation |
---|---|---|---|---|---|---|
Text | Text | - | - | The text you want to classify. | - | - |
Categories | Key-Value | - | The keys should be the categories you want to classify the text in, for example ‘valid’ and ‘invalid’, and the values the criteria for each category. | - | - | |
Additional context | Text | Textarea | - | Any additional information that might help the AI in making the classification decision. | - | - |
End states
Below are the possible end states of the block call.
Name | Field | Type | Description |
---|---|---|---|
- | categories | dynamic | - |
Error | - | error | If the function raises an Exception. |
The dynamic
end state means that the exact values of this end state change based on how you define the block.