appmixer.ai.typesafe.ClassifyText
Classify Text
1.0.0
Public
choice question). The answer is always one of the option keys you supply, with a probability per option and a confidence score, so it can drive a Switch or Condition directly. Asking several things about the same content? Use Ask Questions instead: one request is faster and cheaper than chaining components, because the content is sent and billed only once. Works best with English content.| Field | Type | Description |
|---|---|---|
| Content | textarea | The text to classify, for example a support ticket or an e-mail. A JSON object or array mapped from a variable is sent as structured data. Text only, up to about 32k tokens. |
| What to decide | text | Describe the decision, for example Which team should handle this. |
| Options | expression | The options to choose from (2 to 255). The key is what the component returns as the choice and must be unique; the optional description tells the model what the option means. |
| Model | text | Model name or alias. jev-latest is the stable alias, jev-preview the preview build; a version such as jev-1.13.0 pins the model. |
| Field | Type | Description |
|---|---|---|
| Choice | string | - |
| Confidence | number | - |
| Probabilities | object | - |
| Ranking | array | - |
| Model | string | - |
| Usage | object | - |