AI ENGINEERING / 01Sign in to sync
LAB 01 / FOUNDATIONS
A reliable ticket assistant
Build the boundary between a model proposal and an action your application is allowed to perform.
STEP 01
A clean place to experiment.
Download and unzip the starter on your laptop. Open a terminal inside 01-ticket-lab. You need Python 3.12 or newer. The core exercise needs no API key.
TERMINAL
python3 --version
python3 -m venv .venv
source .venv/bin/activate
python -m unittest -v test_exerciseUsing Windows PowerShell?
TERMINAL
py -3.12 -m venv .venv
.venv\Scripts\Activate.ps1
python -m unittest -v test_exerciseThe first test run should fail.
The starter functions raise NotImplementedError. That is your starting point. Read the contracts in exercise.py and the assertions in test_exercise.py.
Done when you can run the tests and explain the first unfinished function.
YOUR PROJECT NOTES
Keep what you learned.
Signed-in profiles and learning activity are visible to the app owner. Project notes stay private. Your profile & data