Prompt structure organizes a request into clearly distinguishable parts, giving a language model the context it needs to parse the task rather than relying on shared shorthand. section 3.1
A practical standard template is:
- Role: identify the human role the model should impersonate, such as an experienced marketing manager. section 3.1
- Task: state what the model must complete. section 3.1
- Features: specify the desired qualities or characteristics of the result. section 3.1
- Examples: show the intended result or pattern. section 3.1
Translation request
Instead of presenting an indistinct request, specify the target language and place the text to be translated in an easily recognizable format. section 3.1
Figure 3.4 Role, Task, Features, and Examples—elementary, my dear Watson
Use the diagram to review how role, task, features, and examples combine into one prompt. section 3.1

