The model as an unreliable component
Lesson 15 of 26 · Designing the AI parts · 2 min Get the course to watchFrom a design point of view, a language model is a dependency like any other, with properties that make it awkward. It is slow compared with a database, its latency varies a lot, it charges by the token, and it can be confidently wrong.
You do not fix those properties. You design around them, the same way you design around any flaky remote service: with timeouts, limits, checks and a plan for when it misbehaves.
The rest of this lesson
- What is different
- The wrapper
- Pin and record
- Cost is a design input
- The idea to keep
The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.