Minimum-first framing: complete structured country extraction and one docs takeaway first; blackjack multi-agent demo is optional extension.
Day 1 ยท Block 2
Understand core LLM mechanics and map prompt anatomy to a runnable coding task.
Block Write-up
Loading write-up...
Exercise overview: Prompt anatomy in runnable Python
Inputs
- exercises/02/prompt_lab.py
- Noisy country paragraph
- One TODO-STUDENT prompt variant
Deliverable
one runnable extraction output + one verification note + one TODO experiment note.
Target
Familiarize yourself with LangChain https://docs.langchain.com/ and OpenRouter https://docs.openrouter.ai/ by browsing their docs and examples.
Submission
- Use the live launcher: Live Exercises
- Direct prefilled form: E02 submission link
Checklist
- Make one explicit design decision.
- Include one verification check.
- State one limitation or risk.
Common failure modes
- Output format drifts from strict list.
- Typos fixed inconsistently or fictional places included.
Extension task (optional)
Optional multi-agent blackjack demo (Dealer, Gambler, Referee) using explicit standard rules: card values, initial deal, hit/stand, bust, dealer hits to 17+, blackjack precedence, and push on equal totals.