TicketLab
Lightweight support ticket extraction
Created on 25th October 2026
•
TicketLab
Lightweight support ticket extraction
The problem TicketLab solves
TicketLab turns a customer support message into a seven-field JSON record: order_id, product, issue_type, quantity, requested_resolution, prior_contacts, and needs_review. Missing facts remain null, while conflicting or uncertain tickets are flagged for human review. A support platform could host TicketLab as a focused extraction component, turning each incoming ticket into a reviewable case record for an agent.
Light enough for office-class hardware: The tuned model is served with SGLang, and a 4-bit quantized build performed a live extraction on a base MacBook Air M3 with 8 GB RAM, without a discrete or high-end GPU. That test demonstrates modest hardware needs for single-ticket inference.
We fine-tuned the pinned Qwen2.5-3B-Instruct checkpoint into ticket-3b-v7 using Lexsi AlignTune and synthetic support tickets cleaned and deduplicated with Lexsi CuratorKIT. On the same 263 synthetic development tickets, evaluated with SGLang JSON Schema constrained decoding and Lexsi AuditKIT, exact seven-field records improved from 28.9% to 86.7% and correct fields from 83.5% to 97.5%. Both checkpoints produced 100% schema-valid outputs in that benchmark. These synthetic scores do not establish accuracy on real customer tickets.
The web app sends each ticket to an SGLang server with the same JSON Schema constrained decoding used in the benchmark, and the repository documents running it on any machine SGLang supports. The demo video shows a live extraction in the web interface. Human review remains necessary for support decisions.
Challenges I ran into
The main challenge was extracting a consistent seven-field record from varied, incomplete support messages without inventing missing details. We generated synthetic support tickets, cleaned and deduplicated the training examples with Lexsi CuratorKIT, tuned Qwen2.5-3B-Instruct with Lexsi AlignTune, and evaluated base and tuned checkpoints with SGLang JSON Schema constrained decoding and Lexsi AuditKIT.
To test inference on modest hardware, we served a 4-bit quantized build of the tuned model with SGLang behind a small web app. The app validates every output against the schema and flags uncertain tickets for review. The interface and HTTP endpoints were smoke-tested, and live extractions on a base MacBook Air M3 with 8 GB RAM returned schema-valid seven-field records. The 4-bit build was not scored separately on the benchmark, so its accuracy may differ from the reported full-precision results.
Tracks Applied (2)
Open Track - Development
Local LLM Track
RadixArk
