1.13.4
Instruction-Following Prompts
What is it?
Instruction-following prompts give the model a clear specification of what it must do. They define the task, relevant context, constraints and expected output rather than leaving important requirements open to interpretation.
Key points
Treat the prompt as a specification. State the task explicitly. Provide necessary context. Define constraints and boundaries. Specify the expected output format. Separate instructions from input data. Make requirements unambiguous and test whether the output follows them.
Writing a Clear Instruction
Weak prompt: Summarize this report. Improved prompt: Summarize the report in five bullet points. Focus on revenue, costs and operational risks. Use simple business language and do not add information that is not present in the report.
Real-world application
Use instruction-following prompts in business workflows, document analysis, content generation and agent tasks where the output must meet defined requirements.
Key takeaway
A good instruction describes the required result, context, constraints and format clearly.