In this lesson
- 01Learning Objectives
- 02The Problem
- 03The Concept
- 04Use it
- 05Exercises
- 06Key Terms
- 07Further Reading
About 1200 words of reading, with code, 6 quiz questions and the tutor.
The full lesson opens with an access code
You can see what this lesson covers and the milestone it sets. The full text, code, quizzes, the tutor and the AI reviews come with the K850 practice, along with weekly build sessions and code review.
Milestone forA production labour-compliance assistant
Put a gateway in front of the models
Route all model calls through a gateway with a primary and a fallback provider, per-role budgets, rate limits and caching. Simulate a provider outage and show the assistant keeps answering.
Done when
- All model calls go through a gateway with primary and fallback providers
- Per-role budgets and rate limits enforced
- An outage drill: primary disabled, answers continue, failover visible in traces
Stretch: Add semantic caching at the gateway and measure hit rate
Reviews open with an access code.
Interview practice
Questions on this topic that AI engineering interviews ask, with the companies reported to ask them. Answer the way you would out loud; Jev scores it and DeepSeek tells you what to add.
Scoring opens with an access code. You can still read the questions and prepare.
Adapted from open-source work: AI Engineering from Scratch by Rohit Ghumare (MIT, lesson text, code and quizzes); Awesome LLM Apps by Shubham Saboo (Apache-2.0, starter code); AI Engineering Interview Questions by Outcome School (Apache-2.0, interview questions). Capstones, milestones, data packs and Zambian context by Zambrite.