Structured output
Lesson 7 of 20 · AI.Micro
Ask for JSON with named fields so a program, not a person, can use the answer.
What does this customer want? «Hi! Could I pick up two cinnamon lattes around 9:30 tomorrow?»
The customer would like to order a couple of cinnamon lat
To turn an e-mail into an order in the system, your code needs the item, quantity and pickup time, not a friendly paragraph.
Check yourself
Why ask for JSON instead of prose?
Do it in the browser: a real generative AI tool, a short mission and instant feedback. No install.
Start this lesson — free