Stop Paying LLM Prices for Yes-or-No Answers — Chinmay Goyal, Glean
Episode details
Episode description
Most steps in an AI product are bounded decisions, not generation: classifying a query, routing to an expert, ranking suggestions, checking a citation. Chinmay Goyal, a software engineer on Glean Assistant, shows how Glean moved these steps to Jev, TypeSafe's decision model. The results include expert routing with about 8x lower latency, follow-up suggestions on time in 99.2% of cases with zero invalid outputs, consistent citation checks, and security-classifier recall rising from 31.5% to 90.2%. He closes with a simple rule for when to use a decision model. Speaker info: - https://www.glean.com Timestamps: 0:00 - Most AI steps are bounded decisions 0:57 - LLMs, open models, fine-tuning or Jev 2:27 - How Glean evaluates changes 3:12 - Query classification 3:57 - Expert routing at 8x lower latency 5:27 - Ranking follow-up suggestions 7:46 - Zero invalid outputs 8:31 - Self-tuning thresholds 10:01 - Consistent LLM-as-judge for citations 12:16 - Security recall from 31.5% to 90.2% 14:31 - When to use a decision model