Practical thinking about AI tools and everyday work.

Keep the Unit When AI Extracts a Measurement

A technical product sheet with measurement marks beside a spreadsheet on a laptop.
AI-generated photographic illustration; not documentary photography.

An AI tool extracts “25” from a product sheet and places it in a spreadsheet. Without the unit, that neat cell could mean millimetres, centimetres, inches or something else entirely.

Define the output before processing documents. For each measurement, keep the original value, unit, meaning and source location. If you need a converted value, store it in a separate field instead of overwriting the original.

Give ambiguous examples a place in the test

Use a small set of documents containing mixed units, dimensions such as 20 × 30, ranges, tolerances and a unit stated only in the column heading. Include a page where the unit is genuinely missing.

The desired behaviour for that last case is an explicit unresolved value, not a confident guess based on nearby products. Ask the system to flag uncertainty for review and verify that it actually does so.

Source value
What the document says, preserving the unit and punctuation.
Interpreted field
For example, width rather than depth or package size.
Converted value
A separately calculated value with its target unit, if required.
Evidence
The page, row or passage a reviewer can inspect.

Check whether decimal separators and thousands separators vary between documents. A comma can have different roles in different locales. Do not let a formatting cleanup silently change the magnitude.

A conversion record that can be checked

For a fictional specification reading “Width: 2.5 cm”, keep that original text and store a separate normalised width of 25 mm. The arithmetic uses 10 millimetres per centimetre; it does not authorise rounding the result to a convenient product size.

If another row says “Depth: 25” with no unit, mark the unit unresolved. Do not copy centimetres from the width field unless the document clearly states that the unit applies to both. A reviewer should be able to see that one record was converted and the other still needs clarification.

Keep calculation separate from extraction

Where possible, use a deterministic, tested conversion after the source value has been checked. Then validate plausible ranges without treating plausibility as proof: a wrong dimension can still look reasonable.

For safety-critical, engineering or medical use, require the appropriate expert review and system controls. A successful test on a few brochures does not establish reliability for every document. The useful result is not just a populated column; it is a measurement whose meaning and origin remain visible.