In this video, you sent one customer email from the tea importer’s inbox to a language model and watched what came back. Hannah’s tin of Darjeeling first flush, order 4417, hasn’t arrived, and the request asked for a short, friendly reply from Leaf & Kettle Tea.
What a Model Does With a Request
Text in, text out. A request is plain text: here, an instruction followed by Hannah’s email. The model takes all of it as input and predicts a likely next token, adds it to the reply, and repeats with the request and the reply so far until the reply ends.
Tokens. A token is a short chunk of text, often a word with its space. The first reply was sent back as it was made, in 43 pieces of one token or more, and “Darjeeling” came in three of them. How text splits into tokens depends on the model. Tokens get their own lesson later in the course.
The same request, a different reply. At each step, the model picks one token from the likely ones, partly by chance, so the same request sent three times gave three wordings: “check on” in one, “look into” in the others, and “Best,” in only one. Your runs may differ in wording and even leave something out. All three named order 4417 and promised an update: that’s what your code checks a reply for, never its exact words.
Each call starts empty. After one request holding the order record (“Order 4417: shipped November 25, out for delivery December 1.”), a second request asking when order 4417 would be delivered got this reply:
I can’t access order 4417 directly. Please share the tracking link or the latest shipping status, and I can help estimate when it will arrive.
The second request held only the question. Each call starts empty: the model sees that request’s text and nothing from earlier calls, unless it’s sent again. A chat app seems to remember because it sends the earlier messages again with every request.
No lookup, and no clock. With the record in the same request as the email, the reply used it, but said the parcel “was out for delivery on December 1” on a run made on November 30: the model doesn’t know what day it is.
Asked “What’s today’s date? Reply in YYYY-MM-DD format, nothing else.” that same day, it returned 2026-10-12, and six more runs said it couldn’t tell. Neither is today’s date. With today’s date in the request, it returned 2026-11-30.
Facts from your code, and a check. So today’s date goes into Hannah’s request too. A reply can sound sure and still be wrong, so a draft’s dates have to be checked against the order record and today’s date before anything is sent: in this course’s project, the person who reviews each draft does that.
Comparing with the record alone would pass this reply, since both say December 1; it’s today’s date that shows “was” is wrong.
What Your Code Supplies
A model predicts text from the request and its training, and nothing else. When you hand a task to a model, ask what only your code has:
- Current facts, such as today’s date
- Your own records, such as an order’s status
- A check of the facts the reply states
Drafting Hannah’s reply suits a model well, as long as your code brings the order record and today’s date, and the draft’s dates are checked against both before it’s sent. In this course’s project, the person who reviews each draft does that. Saying where her parcel is right now doesn’t: only the carrier’s tracking has that.
To send a request like these yourself, you need a key from a model provider. The next lesson, Get a Key and Set a Spending Limit, walks you through that.