What makes a useful output format?
Key takeaway
Specify required and optional fields, types and units. Allow ‘unknown’ where a value cannot be evidenced.
Lessons in this path
How to do it
Keep source text and normalised value separate. Document uniqueness and permitted formats. Start with one document class.
What matters in practice
Use fixed units and keep missing-value status separate from source text. This distinguishes a missing weight from a workflow where zero weight can be a legitimate value.
Example: A fictional scenario
‘12/07/26’ stays visible as source text. Without a known locale, the normalised date is left blank.
Common mistakes
- Mixing missing values with defaults and storing them as extracted facts.
Frequently asked questions
Is free-form model output enough?
It may help in a prototype. An integration needs verifiable fields and a way to handle invalid output.
Try it yourself
Define six fields for a public sample document and three missing-value rules.
Check your result
Downstream consumers can distinguish unknown from genuinely empty fields.