May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
2 system design questions lean on this idea. Each walks through the full answer.
AI Engineering · Llm Genai Ops
Free preview: the first part of this 11-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 211 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 211 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI coursein Llm Genai Ops
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
Support forwards you a screenshot. Your product told a customer they can return a mattress after 180 nights. The real policy is 30. You open the logs to find out what happened, and the logs have nothing to say: POST /ask, status 200, 950 ms. No exception. No retry. No error budget spent. By every signal your monitoring stack understands, this request went perfectly.
That is the defining property of LLM failures in production, and it breaks the assumption your entire observability toolchain was built on. Classic systems fail loudly: a 500, a timeout, a stack trace. A language model fails by succeeding. It returns a well-formed response, on time, with a plausible token count, and the failure is inside the words. Status codes describe the transport. Nobody told the transport the answer was wrong.

What actually happened to that mattress customer, in the version of this story I have watched more than once: a dependency bump changed the model used at query time, retrieval started returning zero chunks for a slice of queries, the prompt template happily rendered with an empty context block, and the model did what models do with a vacuum. It filled it. Every step returned cleanly. The only artifact that could have shown the empty context block is the exact prompt sent on that exact request, and nobody was saving it.
The Honeycomb team, building one of the first LLM features shipped by an observability company, landed on the same conclusion and wrote it down in All the Hard Stuff Nobody Talks About when Building Products with LLMs: the model is a black box you cannot step through, so the only way to debug it is to capture what went in and what came out, per request, in production. You cannot attach a debugger to a nondeterministic system after the fact. The trace is the debugger.
The previous lesson dealt with the failures that do announce themselves, the 429s and provider outages. This one is about everything that hides behind a 200, and the telemetry that drags it into view.