The Prompt Is a Specification
The problem
Instructions and examples are both ways of conditioning a model, but they do different work. Instructions state goals and constraints; demonstrations provide concrete input-output patterns. The distinction matters because a prompt that seems “clear” to its author may leave the model to infer the expected format, boundary cases, or level of detail.
Eugene Yan offers a useful engineering mental model and warns that examples can narrow behavior if they fail to represent production inputs. OpenAI’s older cookbook frames instructions and demonstrations as distinct ways to steer a model. Read together, they invite a practical starting question: before adding examples, can the desired behavior be stated and evaluated clearly? That baseline leads to the harder question of what examples convey that prose does not.
Readings