← All case files
// case file
CASE / 02
Telemetry Diagnostic
PYTSQLLLM
TIER 1SQL RULES · MOST CASES STOP HERETIER 2CROSS-TABLE CORRELATIONTIER 3LLM CASE NOTECASE 02TIERED DIAGNOSTIC
● In productioncase file · 02 / 16
Case
#02
Where
GM OnStar
Categories
AI / LLM · Python
Read
~2 min
/02

Tiered Diagnostic Notebook for Fleet Telemetry Support

PythonSQLLLM
Three escalating tiers — deterministic rules first, AI case notes only when needed. Used daily by 15 analysts; time per case dropped from ~45 to ~10 minutes, roughly 50 analyst-hours saved a day.
+
The Problem

Support analysts needed to diagnose why a vehicle wasn't reporting telemetry, but root causes ranged from a simple connectivity gap to a multi-system fault. Running an LLM against every case was slow, costly, and unnecessary for the majority that a straightforward rule check could already explain.

Adoption
Used by15 support analysts, daily (~6 cases each)
BeforeAbout 45 minutes per case, querying several backend systems and navigating the CRM by hand
NowAbout 10 minutes per case, roughly 50 analyst-hours saved a day, with AI notes only when the case needs them
DecisionFixed decision tree first, deep-dive cells only when the verdict calls for them, and the LLM last. Most cases resolve on the cheap, predictable path.
How it's built

Structured the notebook as three escalating tiers: Tier 1 runs fast, deterministic SQL checks against the most common known failure patterns; Tier 2 adds cross-table correlation for less obvious cases; Tier 3 — AI-generated case notes — only fires for cases that survive both earlier tiers unresolved, summarizing the diagnostic trail for the analyst instead of leaving them to piece it together.

Technical Details
  • Tier 1: deterministic SQL rule checks for common failure signatures
  • Tier 2: cross-table correlation for subtler fault patterns
  • Tier 3: LLM-generated case notes, gated to unresolved cases only
  • Diagnostic trail logged per case for auditability
  • AI cost scoped to the minority of cases that actually need it
15
Analysts, daily
45 → 10
Minutes per case
3
Diagnostic tiers
Tier 1 · SQL rulescommon failure signaturesTier 2 · Correlationcross-table fault patternsTier 3 · LLM noteunresolved cases onlyAnalyst outputcase note + trailresolved here, stopresolved here, stopDiagnostic trail logged for every case
Simplified flow. Illustrative only: no employer data or confidential details are shown.