Get the feeling that sometimes ChatGPT isn't giving you even close to what you were expecting? It's likely due to the way that your prompt was written.
This is where prompt frameworks can truly save the day.
Here are 3 prompt frameworks you should master to get the best out of any AI tool.
1. RTF: ROLE-TASK-FORMAT
Act as a [ROLE]
Create a [TASK]
Show as [FORMAT]
>>
ROLE: You are a brain teaser master.
TASK: Come up with a brain teaser that would be challenging for an [target audience] to solve.
FORMAT: Deliver in a Q&A format.
>>
2. TAG: TASK-ACTION-GOAL
Define the [TASK]
State the [ACTION]
Clarify the [GOAL]
>>
TASK: Write a [word length] essay [for/against] the argument of [topic].
ACTION: Use at least [x] well-sourced data points in support of our argument. The tone should be [tone].
GOAL: The target audience is [target audience] who are [charecteristic] and they should feel like [goal].
>>
3. RISE: ROLE-INPUT-STEPS-EXPECTATION
Specify the [ROLE]
Describe [INPUT]
Ask for [STEPS]
Describe the [EXPECTATION]
>>
ROLE: You are a [specific code] expert.
INPUT: Check the below code for [purpose].
STEPS: Highlight any errors from top to bottom with an explanation of the error and a suggested solution. Provide in [preferred format].
EXPECTATION: The goal is to submit error-free code through the compiler.