Classify Support Tickets with AI
Billing, Technical, Account, How-To, Feature Request — ticket triage with definitions that decide the borderline cases for the model.
Praise, Complaint, Feature Request, Bug Report, Question — multi-label feedback categorization where one message can carry three signals.
Customer feedback refuses to stay in one box: "love the app, but exports crash, and could you add CSV?" is Praise, Bug Report, and Feature Request in one message. This setup runs Multiple Labels mode, whose edge-case rules change accordingly: return every label that genuinely applies, strongest first — but a merely mentioned topic doesn't earn its label. The definitions split the classic confusions: Complaint is dissatisfaction without a requested remedy, Bug Report is something behaving incorrectly, Feature Request is a wish for new capability.
One message per call
Multi-label works per message — the labels list comes back ordered by strength.
Trust the mention threshold
"A merely mentioned topic does not earn its label" keeps drive-by mentions from inflating your counts.
Watch the Complaint/Bug border
Dissatisfaction without a remedy is Complaint; something behaving incorrectly is Bug Report. The definitions decide, not the model's mood.
It leans on exclusion-shaped definitions, not tone. Complaint is 'dissatisfaction that does not request a specific remedy,' while Bug Report is 'something behaving incorrectly or not working.' The Ambiguity Policy tells the model to re-read both definitions and pick the closer one when torn, so a frustrated 'this is terrible' stays Complaint unless the text describes broken behavior.
It runs in Multiple Labels mode, so 'love the app, but exports crash, add CSV?' returns Praise, Bug Report, and Feature Request together in the labels array. The Edge Case Rules order them strongest-first, so the first element is your primary signal — routing can take labels[0] while the rest stay available for secondary use.
Not necessarily — the Edge Case Rules state 'a merely mentioned topic does not earn its label; it must be a real subject of the text.' A comment that name-drops CSV export while praising something else won't earn Feature Request. The model applies that threshold as a judgment call, so spot-check borderline mentions before trusting the labels array.
Billing, Technical, Account, How-To, Feature Request — ticket triage with definitions that decide the borderline cases for the model.
The blocks a reliable classification prompt needs: defined labels, classification rules, edge-case rules, an ambiguity policy, and a confidence contract.
Discovery, Demo, Negotiation, Follow-Up, Closed Won, Closed Lost — classify activity notes by sales stage so pipeline reports stop lying.
Free text in, named fields out. The extraction prompt pattern that turns any unstructured text into consistent, parseable records.
Stop getting 'Sure, here is the JSON…' — the output-contract pattern that forces models to return only parseable JSON: schema, example, and a strict rule block.
The JSON won't parse and you can't see why. Deterministic cause-sniffing — trailing commas, single quotes, unclosed brackets — and the repair prompt that fixes it.
Build classification prompts that assign labels from a closed set — with label definitions and edge-case rules.
The full path to a support agent you can put in front of customers — write its instructions, ground it in your docs, route and handle tickets, then evaluate and cost-control it before it goes live.
The full path to a support operation, not just a bot — stand up the knowledge base, route the tickets, add the AI agent, integrate your stack, close the feedback loop, evaluate, and deploy.
Find out whether the thing you shipped actually worked — define the success metric, plan the measurement, classify the real evidence, then render a verdict and an iterate / pivot / scale decision.
AI tags one batch pricing, billing, bug — then tags the same items cost, plan confusion, error next week, so every count measures a moving target. Here's how to classify and tag data consistently: fix a taxonomy, define every label, and hold the rules steady across runs.