Lesson - Structured Prompting and Output Verification
Lesson plan · about 15 min · refs checked 2026-11-07 (reference links and dates only)
Learners ask about the same material freely first and then with a structured prompt, compare field completeness and factual consistency, and remember that valid format does not mean correct content.
-
3-minute baseline: each group asks freely once, saves the raw output and does not change the instruction.
4-minute rewrite: complete the four parts; prohibitions must be decidable, such as do not add fees absent from the source.
4-minute validation: first check structural validity, then link each field to the source and mark unsupported items.
4-minute comparison: compare field completeness and factual consistency across the two runs and explain which instruction part caused the difference.
Example and interpretation
A teaching scenario, not a measured or executed site test.
Class exercise: ask about the same event notice freely, then rewrite with goal, inputs, output fields and prohibitions. If valid JSON contains a fee absent from the source, mark it unsupported and leave it empty.
How to check your practice
Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.
For this topic, start with unchecked output · See all six scenarios and their reasoning
Prompt System Prompt Structured Output In-context Learning Hallucination
Lesson - AI Capabilities and Limits · How to Ask AI · How to Structure a Prompt · How to Pick Few-Shot Examples