← Back

Ticket Analyzer

FastAPI service that classifies support tickets using LLMs, returning category, priority, sentiment, and suggested responses.

A FastAPI service that automates support ticket triage using OpenAI models. Each ticket is classified by category, priority, and sentiment, with a confidence score and a suggested response. The system uses dual-layer validation — API-level JSON enforcement plus Pydantic models — with automatic retry on malformed model outputs. All classification records are persisted to PostgreSQL via async SQLAlchemy.