In this video, you replayed one real run of the clinic’s intake over the twelve booking notes, and looked back at the steps of the course behind each part of it.
What You Can Do Now
You can now write a prompt that turns messy text into data, get the answer as JSON that matches a schema, check it with Zod, and retry or fall back when it’s wrong, through askForJson() in the model module, for OpenAI or Anthropic.
One Morning’s Intake
Here’s one real run of node --env-file=.env run-intake.js on December 1, 2026, with one provider’s capable model. Your records, wording, and cost will differ:
12 notes, capable: 3.062 cents
to book: 9
front desk: 3
#6 the clinic doesn't treat corn snake
#7 date 2026-11-30 is before today
#8 not a booking
saved intake-2026-12-01.json
Nine notes passed every check. Three went to the front desk’s list: Noodle, a corn snake the clinic doesn’t treat, Rolo, booked for a date that’s already passed, and a one-word note, “help”. The run cost about three cents. No answer needed a retry in the finished intake’s runs.