Practical thinking about AI tools and everyday work.

An AI extraction task needs a place for missing information

Business analyst reviewing document beside structured table on laptop.
AI-generated photographic illustration; not documentary photography.

An AI extraction returns a delivery date even though the source document never mentions one. The JSON parses successfully, but the data is still wrong.

One way to reduce this pressure to fill every field is to define what missing information should look like. A field can be present while its value is explicitly unknown.

Give absence a meaning

Google’s structured-output documentation supports nullable properties through a type array such as ["string", "null"]. That is a schema capability; your application still needs to tell the model when null is appropriate and check whether the extracted value is supported.

For example, an invoice-extraction task might use a nullable delivery-date field and instruct the model to return null when no delivery date is stated. Do not substitute the invoice date merely because it is the only nearby date.

Define the distinctions in your data contract. A numeric zero can be a real value. An empty string is a string with no characters. Null can represent a deliberately missing value. An omitted property may mean something else again, depending on the system.

Keep evidence with the value

For important fields, retain a source page, text span, or another traceable reference. A reviewer should be able to see where the value came from rather than trusting the confidence of the generated explanation.

Build a small test set containing absent fields, ambiguous dates, conflicting values, and clearly stated values. Check both extraction accuracy and the model’s ability to leave unsupported fields empty in the agreed way.

A schema validator can reject the wrong type or an invalid structure. It cannot, on its own, establish that a plausible date appears in the document. That requires evidence checks and appropriate review.

Finally, make the missing state visible downstream. A dashboard that silently turns null into zero or today’s date can undo the care taken during extraction. The whole workflow needs to preserve the difference between “found”, “not found”, and “needs clarification”.