Make a prompt testable

Use the opposite Shift key for capital letters. · 134 words

A prompt is an instruction you give a model. Suppose you want a summary for a busy reader. Ask for two sentences and one date from the article. You can count the sentences and check the date against the source. Those checks give you a way to judge the answer.

Suppose the article says a bridge opened in May and closed for repairs in June. A summary can contain exactly two sentences and mention June while still getting the opening date wrong. Separate the format check from the factual check. Write down the event next to its date before looking at the answer. Now another reader can repeat your test and explain exactly which claim needs a correction. Use a different article for a final trial so the instructions must work on unfamiliar evidence.

Check your recall

The answer has two sentences. What else should you check?

Check your answer

Check that the date appears in the article and describes the same event.

Sources and credits

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