💻
Prompt Engineering Guide
  • Prompt Engineering Guide
  • Introduction
    • Introduction
    • What is an LLM
    • Soekia - What is an LLM
    • ChatGPT Models
    • What is a prompt?
    • Prompt Categories
    • Good prompting
    • Misconceptions about LLM's
  • Configuring ChatGPT
    • ChatGPT Configuration
  • Text Prompts
    • Prompt Frameworks
    • Roles
    • Prompt Cheat Sheet
    • Output Formats
    • Copy of Output Formats
    • Prompt Techniques
    • Prompt Refinement
    • Prompt Patterns
    • Temperature Parameter
  • Custom GPTs
    • Introduction to Custom GPTs
    • The GPT Store
    • Step-by-Step Guide to Creating a Custom GPT
    • Testing and Refining Your Custom GPT
    • Use Cases
    • TASKS
    • Scheduled Tasks
  • Appendix
    • Prompting Terms
    • About
    • Chorus
  • References
  • Hack and Track
  • FAQ
  • GPT4o Announcement
  • Exercises
    • Excercise: Geopandas
  • Group 1
    • Projekte
  • Write like me
Powered by GitBook
On this page
  • RTFR
  • Prompt Frameworks
  • APE
  • CARE
  • TRACE
  • TAG
  • AGE
  • ROSES
  • RTF
  • SPAR
  • SCOPE
  • CREATE
  1. Text Prompts

Prompt Frameworks

7 Frameworks To Master Prompt Engineering

PreviousChatGPT ConfigurationNextRoles

Last updated 2 months ago

Prompt frameworks are structured approaches or models that guide the creation of prompts. They provide a consistent format to follow, ensuring that all necessary elements are included to achieve the desired interaction with an AI like ChatGPT. Frameworks often consist of a set of steps or components, such as the RTFR framework (Role, Task, Format, Restrictions).

RTFR

R - Action T - Purpose F - Expectation R - Restriciont

Prompt Frameworks

APE

A - Action P - Purpose E - Expectation

Example Prompt:

Your task is to explain the steps needed to set up a new email account (Action). Can you assist new users by providing a detailed, easy-to-follow guide (Purpose)? We need you to draft this guide with step-by-step instructions (Expectation).

CARE

C - Context A - Action R - Result E - Example

Example Prompt:

Your task is to create a marketing plan for a startup (Context). Can you outline the necessary actions to achieve increased brand awareness (Action)? The expected result is a comprehensive marketing strategy (Result). A successful example to follow is the campaign run by Company X, which increased their social media engagement by 50% (Example).

TRACE

T - Task R - Request A - Action C - Context E - Example

Example Prompt:

Your task is to improve website SEO (Task). Can you suggest specific strategies (Request)? We need you to detail the actions required to implement these strategies (Action). The context is a small business looking to increase online visibility (Context). An example of success is the case of Business Y, which saw a 40% increase in organic traffic (Example).

TAG

T - Task A - Action G - Goal

Example Prompt:

Your task is to launch a new product (Task). Can you outline the necessary steps for a successful launch (Action)? The goal is to achieve high initial sales (Goal).

AGE

S - Situation A - Action G - Goal E - Expectation

Example Prompt:

Your task is to get a project back on track where the team is behind schedule (Situation). Can you outline the actions to achieve this (Action)? The goal is to meet the deadline (Goal), and the expectation is improved efficiency (Expectation).

ROSES

R - Role O - Objective S - Scenario E - Expected Solution S - Steps

Example Prompt:

As a project manager (Role), your objective is to improve team productivity in a remote work scenario (Objective). Can you describe the expected solution (Expected Solution)? The steps should outline how to implement this solution effectively (Steps). A successful scenario is when productivity metrics improve by 20% (Scenario).

RTF

R - Role T - Task F - Format

Example Prompt:

As a teacher (Role), your task is to create lesson plans (Task). Can you provide a structured format including objectives, activities, and assessments (Format)?

SPAR

S - Scenario P - Problem A - Action R - Result

Example Prompt:

In a scenario where a company faces declining sales (Scenario), can you explain the problem and outline the actions to address it (Problem & Action)? The result should describe how these actions improve sales figures (Result).

SCOPE

S - Scenario C - Complications O - Objective P - Plan E - Evaluation

Example Prompt:

In a scenario of launching a new product (Scenario), can you discuss potential complications (Complications)? Outline the objective of the launch (Objective), detail the plan (Plan), and evaluate its success (Evaluation).

CREATE

C - Character Define the AI’s role. E.g., "You are a seasoned copywriter with 20 years of experience in successful sales copy."

R - Request

E - Examples

A - Adjustments

T - Type of Output

E - Extras

Incorporate unique instructions or restricitions

  • "Engage provocative conversations."

  • "Ask questions before answering."

  • "Explain your thinking."

  • "Summarize what you wrote in the first person."

  • "Ex: Use data up to 2023."

  • "Ex: Only use reliable sources and cite them."

  • "Ex: Use CAPS LOCK for emphasis."

Example Prompt:

You are a seasoned copywriter with 20 years of experience in successful sales copy (Character). Write a compelling email for the Cougar Hyper Sport, an electric car with top-tier acceleration (Request). Avoid bullet points; use subheads (Adjustments). Produce a 500-word article with a title and conclusion (Type of Output). Engage provocative conversations and ask questions before answering (Extras).