Glossary

Prompt Engineering

Designing and testing the instructions, examples and output format given to a model for a particular task.


“Summarize this survey” is a perfectly good request if you’ll be there to explain what you meant. A table that someone will use six months from now needs a little more direction. For a start, does “sample size” mean the people invited or the people who replied?

A prompt specifies the task, evidence and desired answer. Examples and constraints can help a model carry it out consistently. Comparing outputs with a known answer on difficult cases is how you find out which words in the instructions earned their keep.

Turn a vague request into a testable one

Try this request on a methods paragraph. “Give the number of respondents, the recruitment setting and the collection period. Quote the phrase supporting each value. If a detail is missing, write ‘unreported.’”

Next choose a paragraph with no dates and another with two survey rounds. A tidy row is easy when all three fields are printed together. These awkward cases tell you whether the instructions actually preserve missing information and separate rounds.