Structured output.
WHAT THIS COVERS
Pulling specified information out of text into a usable form.
HOW TO PROMPT IT
Specify the fields exactly Specify the format exactly Give an example of the output State what to do when a field is absent
THAT LAST POINT
"If a field is not present, write 'not stated'. Do not infer or guess."
Without it, the model fills gaps by inference, which produces wrong data.
AN EXAMPLE
"Extract from each invoice: supplier, invoice number, date, total. Return as a table. If a field is absent, write 'not stated'. Do not infer."
FOR CONSISTENCY
Use the identical prompt every time.
FOR VERIFICATION
"Quote the text each value came from."
Slower, and it lets you check.
WHAT TO ALWAYS VERIFY
Figures, against the source A sample, thoroughly, on any batch
WHAT GOES WRONG
Inferred values presented as extracted Misread figures Format drift across a batch