Handle missing information

Reach for each comma and return to your resting position. · 130 words

A useful answer can identify a gap. Imagine a delivery note that names a town but gives no street. Ask a model to extract the address and mark missing fields as unknown. This gives a human a specific question to resolve before a parcel leaves the warehouse.

Consider the cost of guessing. A plausible street might pass an address format check and send the parcel to the wrong building. An explicit gap can interrupt that chain early. Give the model a filled example and an incomplete example, then test it on a note containing a street name but no house number. The response should preserve the useful part, identify the missing number, and ask just for that number. A human can then finish the task without reentering the entire address.

Check your recall

What belongs in the street field?

Check your answer

Unknown. The town alone cannot establish a street address.

Sources and credits

Original KeyTouch lesson. Background reading · Microsoft · Generative AI for Beginners.