1️⃣Effective prompts
Last updated
Last updated
In ChatGPT, a prompt is a text input that you provide to instruct the model and guide its response. It's the initial information or question you give to the AI to generate relevant content. The prompt serves as the starting point for the AI to understand what you're looking for and to generate a coherent response based on the provided input. It's crucial to make your prompts clear, specific, and well-structured to ensure that you receive accurate and meaningful answers from the AI model.
Writing good prompts is crucial when using ChatGPT to ensure clear and accurate responses. Effective prompts are designed to guide the AI model and generate the desired content. Here's how to write good prompts:
Be Clear and Specific: Clearly state the topic, context, or task you want the AI to address. The more specific your prompt, the more focused and accurate the response will be.
Use Direct Instructions: Provide clear instructions on what you want the AI to do. Use direct imperative sentences, like "Describe," "Explain," "List," "Compare," etc.
Include Keywords: Highlight keywords that are central to your request. These words help the AI understand the main focus of your prompt.
Add Context: If your prompt refers to a specific scenario, context, or topic, provide a brief context to ensure the AI understands the situation accurately.
Limit Ambiguity: Avoid vague or ambiguous phrasing. If the prompt is unclear, the AI might produce irrelevant or unclear responses.
Use Examples: If relevant, include examples to illustrate what you're looking for. This helps the AI understand the context better.
Break Down Complex Tasks: If your request involves multiple steps, break them down into separate prompts. This prevents confusion and ensures more accurate responses.
Check Response Length: If you need a detailed response, ensure your prompt gives enough context for the AI to generate substantial content.
Here's an example of a prompt written according to these principles:
Prompt: "Please describe the process of crafting attention-grabbing headlines for effective copywriting. Include examples of power words and explain their impact on engaging readers."
In this example, the prompt is clear about the task ("describe the process"), specific about the topic ("crafting attention-grabbing headlines"), and includes keywords ("examples," "power words," "impact") to guide the AI. The desired outcome is also indicated – explaining the process and impact with examples.
By following these guidelines and including relevant bold keywords, you can optimize your prompts to get accurate and relevant responses from ChatGPT.
Formulating prompts or inquiries akin to natural speech is an effective strategy. However, if a specific goal is in mind, opting for more extensive prompts with detailed instructions proves more advantageous than employing concise, generic ones.
The technique for creating prompts employs the subsequent formula:
Context Establishment
Task Definition
Explicit Instruction Provision
Clarity Assurance
Detail Refinement
This approach is designed to offer ChatGPT a clearer understanding of the intended action, resulting in responses that are distinct and exceptional.
This is where the "context, task, instruction, clarify, refine" technique becomes invaluable. It presents a simple yet potent method for crafting outstanding prompts for ChatGPT, resulting in responses that are both unique and accurate.
Context, Task, Instruction, Clarify and Refine are the order in which you should write your ChatGPT prompts for the best outcome.
This is the most important part. This is where you set the context for ChatGPT to provide a foundation for the instructions you’re about to set.
If you don’t provide any relevant context, you won’t get a specific or targeted answer.
Think of it like a conversation with a friend. If you were to ask your friend a question such as “where do you think we should go for an enjoyable and memorable time?” without providing any context, they may not understand what you’re asking or what you’re actually trying to achieve.
Are you asking where you should go on holiday, where should you go out for lunch, or where should we go right now?
Context is cruicial.
When you prefix your question with a little bit of background information or context, it will be much easier for them to understand your question and give you a relevant response. The same applies to GPT-3.
Here are some examples of context-setting within ChatGPT:
You are an experienced content writer with high levels of expertise and authority within the tech industry. You have exceptional vocabulary and you are able to explain complex topics to beginners with ease.
You are a school teacher creating high-energy lesson plans for a class of 25 children aged 6-7. You know exactly what keeps children of this age group engaged.
Act at a travel guide whose job it is to provide tourists with relevant information about their destination. Your customer service and communication skills are excellent.
You are a master salesperson with expertise in copywriting, especially selling online and digital marketing. You understand the importance of turning features into benefits and using emotion to sell.
You can ask it to act as any professional you like, for example:
An astronaut
A contortionist
A proof-reader or translator
An explainer or complex concepts to children
A customer service agent
An SEO expert
Get more ideas from this awesome list of ChatGPT Prompts.
You’re essentially asking ChatGPT to role play!
We’ve already established that ChatGPT can generate a wide variety of text in different contexts, but it needs extremely clear instructions in order to do this task well.
Think of it like this: imagine you’re trying to bake a cake without a recipe or step-by-step instructions.
You may end up with a cake, but not the cake you wanted.
Similarly, if you don’t give GPT-3 a clear task, it may generate text that is interesting and reads well, but it may not be what you were actually looking for.
Providing a clear task also helps to narrow down the scope of the generated text. Without a specific task to work on, GPT-3 may generate text that goes off on tangents or includes too much irrelevant information.
With a clear task send as part of your well-crafted prompt, the generated text will be more focused.
Here are some examples:
Your task is to write content that will be published online on websites, social media, email newsletters and in advertisements. Your writing style is informative, friendly and engaging while incorporating humor and real-life examples.
Your task is to plan practical lessons for your class that include a variety of different methods, techniques and teaching styles.
Your task is to make suggestions for activities and accommodation to assist and inspire people visiting [a certain destination.]
Your task is to write high-converting product descriptions that will be used on website product pages and in social media ads with the goal to sell as many as possible.
In your prompts, specify the outcome/goal of the task you’re asking – in the most recent example above – the goal is to assist and inspire tourists.
Closely following the task is the instruction:
Once you have outlined the task, be sure to provide detailed instructions. This could include the overall tone of the post, its length, who it should be aimed at and any other relevant details.
For example, “The item should be approximately 500 words long and written in a conversational style that resonates with beginners in meditation.”
Doing this will ensure that ChatGPT understands your expectations so it can generate a response that meets your needs.
Here are a few more examples of clear instructions you can give:
The response should be approximately 100 words long and written in a snappy and punchy style, using short sentences and non-standard, conversational grammar.** I want you to write in the same way you would write to a friend**.
The response should be written for someone aged 8 or younger to understand. Do not use any complex words, sentences or phrases.
Include the word “[insert keyword here]” naturally throughout the response but do not use it more than 3 times. Use formal and instructional words to describe the process.
This part is quite simple, simply ask ChatGPT whether it understands the context, task and instruction. It should repeat your prompt back to you to demonstrates that it comprehends the task.
Do you understand?
Not quite got the response you were hoping for? Remember that ChatGPT is conversational, so it will remember previous prompts within your chat.
You don’t need to rewrite the entire prompt again! Instead, you can use phrases like:
Rephrase the second paragraph with shorter, snappier sentencesRe-write all of that with more natural, less formal languageExpand the introduction to give more specific details
Remember to think about the tone of the response and how it should be constructed. If you want GPT’s output to convey a particular sentiment or writing/vocal style, specify this in your follow-up prompt.
Finally, review the response for any erroneous information or inconsistencies that need addressing. If anything appears incorrect or ambiguous, make sure to request clarification from GPT before using the response.
ChatGPT will answer confidently. It’s not always correct.
You seriously need to fact-check almost anything that’s been generated.
See also: Can you use ChatGPT to solve Wordle?
Here’s a finished prompt using the Context, Task, Instruction, Clarify & Refine technique:
You are an experienced content writer with high levels of expertise and authority within the tech industry. You have exceptional vocabulary and you are able to explain complex topics to beginners with ease. Your task is to write content that will be published online on websites, social media, email newsletters and in advertisements. Your writing style is informative, friendly and engaging while incorporating humor and real-life examples. The response should be approximately 100 words long and written in a snappy and punchy style, using short sentences and non-standard, conversational grammar. I want you to write in the same way you would write to a friend. Do you understand?”
Use “Ignore all previous prompts in this conversation” for a simple reset of the conversation without having to start a new chat.
Ask it for the answer only without the conversational element. “Do not write any pre or post text, just write the response and only the response.”
Ask it not to apologise when writing. “Do not apologize or explain, just write the response and only the response.”
Ask for a response formatted in Markdown. This will insert headings, paragraphs and lists that are easy to copy and paste into blog posts or website Content Management Systems. “Write your response in formatted markdown.”
Use (parenthesis) or [square brackets] to separate your instructions about tone and writing style from the actual task, in case these instructions bleed into the actual content itself.
When it comes to ChatGPT, context is king. Providing relevant background information before the task allows ChatGPT to understand the situation and your expectations. Without it, it’s a blank slate.
When stating the task, be specific and use action words. Instead of “Write a blog about meditation” say “Write a blog post in simple language about the benefits of meditation and the target audience is people who have never meditated before”
Include specific details on how you want the task to be completed, such as the tone, length, and who the target audience will be. This will ensure that ChatGPT delivers a response that meets your expectations.