Pulling structured data out of a messy document is one of the most useful things a language model can do. It is also easy to ship badly, by writing whatever the model returns straight into your database.
The problem with silent mistakes
A wrong date that looks right is worse than no date. Nobody checks what they never saw.
Put a person between the model and the data
When I built Syllaplan, which reads syllabus PDFs with the Claude API, nothing is written to a calendar until the student has reviewed the extracted dates.
A good review step:
- Shows each extracted item as an editable field
- Makes it easy to delete or add items
- Saves only after an explicit confirmation
Validate before anyone sees it
Treat model output like any other untrusted input. Ask for a defined structure, check it in code, and handle the cases where it does not match: a missing year, an impossible date, an empty result.
When you can skip the review
If a mistake is cheap and easy to undo, such as a suggested tag, automate it. If it affects money, deadlines, or something sent to another person, ask first.
Thinking about an AI feature? Here is how I can help.