|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The AI text classification. |
||
| InputField |
AiTransformField |
The input text field. |
|
| Instruction |
string |
The classification constraints provided to the model, such as priority rules or how to categorize uncertain cases. If left empty, classification is performed based on Labels only. |
Classify as bug when crash or exception is mentioned, classify as other when uncertain |
| Labels |
array |
The candidate classification labels. The classification result must fall within this list. Specify at least two labels. |
["bug","feature","question","other"] |
|
string |
A single candidate classification label. |
bug |
|
| OutputMode |
string |
The output mode. Valid values: single: single-label. multi: multi-label. Default value: single. |
single |
| StepName |
string |
The field name in the CloudEvent to which the output is attached. Default value: transform0. |
classify_result |