Who it is forA data or ops person whose batch of labels includes some ambiguous items that a fast answer may get wrong.
The problemFast single-label answers are less reliable when the model is unsure, and it is hard to tell which ones to recheck by hand.
The outcomeUncertain single-label answers are replaced by a reasoning model's answer and marked escalated, while confident answers stay as they were.
What you need first
- A terminal with curl or another HTTP client
- npm, only if you want the classify CLI
- The texts you want to label and a set of label names
Steps
- Read the tier notes in the docs with
curl classifier.devto confirm how the tier option is set on a request. - Add the smart tier to the request for single-label classification. (inferred, check the README)
- Check each result for
escalated: trueto find the answers that were replaced. - Compare the escalated answers against a small hand-checked sample before trusting the whole batch.
Prompt for your agent
Using the classifier-dev repo at classifier.dev, classify each item in <input file> with the smart tier for single-label work. Output a table of item, label, confidence and whether it was escalated. Verify that every escalated row has a label that was returned by the service.
Caveat. The README says smart re-asks single-label answers below 0.7 but does not show the parameter name, and multi-label requests ignore the tier, so verify the request format first.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page