There are numerous prompt engineering models available. We have highlighted a few below and a quick web search will find many more.
PROMPT Design Framework by Sarah Hartman-Caverly, Librarian Penn State Berks
- Persona - assign a role
- Requirements - define parameters for output
- Organization - describe the structure of the output
- Medium - describe the format of the output
- Purpose - identify the rhetorical purpse and intended audience
- Tone - specify the tone of output (ex: academic)
Example using this framework:
- Original: Outline a paper about self-driving cars in cities with a lot of traffic
- New: You are a college student majoring in transportation engineering. Produce a numbered, multi-level outline for a 7 page academic paper for a college-level transportation engineering class about the challenges and solutions for introducing self-driving cars into a high traffic city.
CLEAR Framework by Leo S. Lo, Dean of the College of University Libraries and Learning Sciences, University of New Mexico
- Concise - Is there superfluous language?
- Logical - Is the prompt structured logically like instructions should be?
- Explicit - Is the prompt explicit enough about what to produce and in what format?
- Adaptive - Do I need to adapt/change the prompt to get what I need?
- Reflective - Is this what I needed? Is the information provided accurate and credible?
Example using this framework:
- Original: Can you explain photosynthesis and lay it out in steps?
- New: Provide a one page, step-by-step explanation of photosynthesis at the seventh grade level.
- Adaptive - revising the prompt if needed
- Reflective - check factual information against credible sources