Classify texts into one label each
classify_textsSort up to 1,000 texts into exactly one of your own labels each, with a calibrated confidence per answer. Use this when you have many items to triage, route, filter or bucket and do not want to read them all: search results before opening them, tickets, log lines, changed files, feedback. Do not use it for fewer than about five items you can already see — just decide. Confidence is calibrated (answers >= 0.9 are right ~82-92% of the time; < 0.5 about 30-60%), so act on the sure ones and look at the rest yourself, or pass tier "smart" to have the unsure ones re-asked of a reasoning model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | fast (default, ~1s per 1,000) or smart, which re-asks answers under 0.7 confidence of a reasoning model (slower, single-label only). | |
| inputs | Yes | 1 to 1,000 texts to classify. Results come back in the same order. | |
| labels | Yes | 2 to 100 category names. Descriptive names classify better: "urgent bug" beats "p0". Add a label like "none of these" when none-of-the-above is a real outcome. | |
| instructions | No | Optional extra criteria, e.g. "judge only the service, ignore the food". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | ||
| model | No | ||
| usage | No | ||
| results | Yes | One per input, in input order. |