take two.

Free course · Registered members · Lesson 4 / 5

Define the output format

Prompt structure and answer structure are separate choices. A tagged prompt can request a table, email or JSON.

8 minutes including practiceAll courses

Editorial team: Take Two · Published

Lesson preview

Fields, limits and missing values

Define columns or fields, item count and missing-value handling. “An organised table” is less precise than “one row per task, five columns, no inferred owners”. Then check compliance.

A usable result

The formato_output block defines the deliverable. Software must validate results intended for an application; the prompt alone does not validate JSON or XML.

What to check as you practise

  • Is the output valid JSON only?
  • Are the two tasks separate?
  • Are missing facts null rather than invented?

Continue with the full lesson

Register free to access the complete explanation, examples, exercise and commented answer. This preview stays open to everyone.

Sources and further reading