classify
Assign an appropriate label to any text, such as team, topic, language, or intent, and return each option's probability plus a confidence score.
Instructions
Pick the option that fits a text best: a team, a topic, a language, an intent. Answers with the chosen label, every option's probability and a confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stakes | No | How sure the model must be before an answer counts. Needs ask_human. | |
| options | Yes | The categories: {label: description}, or a list of labels. Include a catch-all such as "other", or every text is forced into one of them. | |
| subject | Yes | The text to judge: an email, a comment, a diff. | |
| question | No | What to decide, if the options do not say it. | |
| ask_human | No | Allow the outcome `unsure` when the model cannot tell. Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||