In this lesson
- 01Learning Objectives
- 02The Problem
- 03The Concept
- 04Build it
- 05Use it
- 06Exercises
- 07Key Terms
- 08Further Reading
About 5400 words of reading, with code, 5 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
Guards on the way in and the way out
Add input classification (off-domain, legal advice beyond the documents, injection), output checks (citation present, no personal numbers), and PII scrubbing for NRC, phone and account numbers in both answers and logs.
Done when
- Input and output guards, each block logged with a reason
- NRC, phone and account numbers masked in answers and logs: 20 of 20 samples
- 25 red-team prompts with at least 23 blocked or safely answered
Stretch: Measure false positives: legitimate questions wrongly blocked
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.