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 9-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 208 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 208 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
A team ships a support chatbot backed by a large language model. It works well. One afternoon an engineer wants the tone to feel crisper, so they add a single line to the prompt: "Be concise and confident." The demo looks great. They merge it.
Three weeks later, complaints pile up. The bot is telling customers things that are flatly wrong, and saying them with total confidence. Refund windows that do not exist. Features the product does not have. Nobody changed the model. Nobody changed the data. Someone changed four words in a prompt, and quality fell off a cliff, silently, because "concise and confident" quietly told the model to stop hedging and stop citing its sources.
Here is the part that should bother you. This change was tested. The engineer ran it a few times by hand and it looked fine. That is the trap with language models. A handful of manual spot checks tells you almost nothing, because the output space is enormous and the failures hide in the cases you did not happen to try. The bad answers were never the ones the engineer typed during the demo. They were the odd refund question, the ambiguous account state, the customer who asked two things at once, and none of those were in the five prompts anyone tried before merging.
In traditional software, a bug throws an error. In an LLM system, a bug is a fluent, confident, wrong sentence that looks exactly like a correct one.
That asymmetry is the whole reason LLM evaluation is its own discipline. A crashing service pages you at 3am. A regressed language model just keeps answering, politely and wrongly, and the only alarm is a slow rise in support tickets weeks later. By the time a human notices, thousands of users have already been told something false. Evaluation exists to close that gap between the change and the consequence, from weeks down to minutes.
This lesson is about the discipline that catches that bug before it ships, and about the instruments that measure quality once it has. It is the least glamorous part of LLM ops and the part that separates a toy demo from a system you can trust with real users.