Intermediate
choose better
Choose the structured output prompt
Topic
Repeatable outputs
Prompt A
List project tasks.
Prompt B
Return JSON with keys: task, owner, due_date, status. Max 12 tasks for a mobile app beta. Use ISO dates. Put blockers in a separate array.
Answer
Prompt B (stronger) is the better choice.
Schemas (JSON keys, limits, separate arrays) enable consistent outputs.
