Watch the explanation. Practice the skill.
Prompt engineering at scale
Reuse prompts while checking both output format and meaning.
Captions appear here during playback.
Prompt engineering at scale
Reuse prompts while checking both output format and meaning.
Video playback is unavailable. Read the descriptive transcript below, go directly to practice, or open the video file.
Source-based teaching example · Fictional data · Reviewed 2026-10-03. Microsoft Mark · locally synthesized. On a small screen, use fullscreen for diagram details or read the transcript.
Read the descriptive transcript
0:00 · What you will learn
Reuse prompts while checking both output format and meaning.
What appears on screen
Reuse prompts while checking both output format and meaning.
0:06 · The idea
Reusable instructions need reusable tests. A response can have the right format and still contain invented facts. Treat refusal and cut-off output separately from success.
What appears on screen
Reusable instructions need reusable tests. A response can have the right format and still contain invented facts. Treat refusal and cut-off output separately from success.
0:21 · One useful term
Structured output. An answer in a specified format, such as fields in a JSON object.
What appears on screen
An answer in a specified format, such as fields in a JSON object.
0:30 · A worked example
The résumé input says only that someone led a team. The output invents 47 staff and a 96 percent success rate. Valid JSON does not make either number true.
What appears on screen
The résumé input says only that someone led a team. The output invents 47 staff and a 96 percent success rate. Valid JSON does not make either number true.
0:45 · Your turn to think
Does passing a format check prove that the content is supported? Pause and decide before continuing.
What appears on screen
Does passing a format check prove that the content is supported? Pause the video if you need more time.
1:02 · Why this answer works
No. Check claims against the input. Ask for missing figures instead of inventing them.
What appears on screen
No. Check claims against the input. Ask for missing figures instead of inventing them.
1:11 · Check 1
Validate the format.
What appears on screen
Validate the format.
1:16 · Check 2
Check factual support separately.
What appears on screen
Check factual support separately.
1:21 · Check 3
Handle refusals and incomplete outputs explicitly.
What appears on screen
Handle refusals and incomplete outputs explicitly.
1:27 · Now try a different case
Open the lesson and try its different practice case. Use every check in the full task. Watching alone does not mark the lesson complete.
What appears on screen
Open the lesson Try the new case Check and revise The full task and its requirements are in the linked lesson.
Watching explains the example. Complete the lesson practice to check what you can do. Explore all visual lessons →