# Effective prompts

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.

<figure><img src="https://xenstar.xyz/wp-content/uploads/2023/03/chatgpt-2048x1145.png" alt=""><figcaption></figcaption></figure>

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:

1. **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.
2. **Use Direct Instructions:** Provide clear instructions on what you want the AI to do. Use direct imperative sentences, like "Describe," "Explain," "List," "Compare," etc.
3. **Include Keywords:** Highlight **keywords** that are central to your request. These words help the AI understand the main focus of your prompt.
4. **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.
5. **Limit Ambiguity:** Avoid vague or ambiguous phrasing. If the prompt is unclear, the AI might produce irrelevant or unclear responses.
6. **Use Examples:** If relevant, include examples to illustrate what you're looking for. This helps the AI understand the context better.
7. **Break Down Complex Tasks:** If your request involves multiple steps, break them down into separate prompts. This prevents confusion and ensures more accurate responses.
8. **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 for ChatGPT: The Basics

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.

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/ChatGPT-prompt-formula-1000x600.png" alt=""><figcaption></figcaption></figure>

The technique for creating prompts employs the subsequent formula:

1. **Context Establishment**
2. **Task Definition**
3. **Explicit Instruction Provision**
4. **Clarity Assurance**
5. **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.

### What Is The “Context, Task, Instruction, Clarify, Refine” Technique?

**Context, Task, Instruction, Clarify and Refine** are the order in which you should write your ChatGPT prompts for the best outcome.

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/image-11.png" alt="ChatGPT Screenshot: Ignore the previous prompts in this conversation. You are an experienced content writer with high levels of expertise and authority within the tech industry. Your job 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 humour and real-life examples. I will provide you with a topic or series of topics and you will come up with an engaging article outline for this topic. Do you understand?" height="244" width="1156"><figcaption></figcaption></figure>

#### Prompt Part 1: Context

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](https://prompts.chat/).

You’re essentially asking ChatGPT to role play!

#### Prompt Part 2: Task

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.]**

> _**Y**_**our 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**_:

#### Prompt Part 3: 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.**

#### Prompt Part 4: Clarify

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?**

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/image-37.png" alt="You are an experienced content writer with high levels of expertise and authority within the General Tech industry. Your job is to write content that will be published online on websites, social media, email newsletters and in advertisements. [Your writing style is friendly, conversational using informal grammar and non-standard English - as if you&#x27;re talking to a friend, while incorporating rhetorical questions, storytelling, metaphors and analogies.] I will provide you with a topic or series of topics and you will come up with an engaging and educational copy for this topic.Do you understand?
I understand that you are looking for an experienced content writer with expertise and authority in the General Tech industry, and that I will be writing content for online publications, social media, email newsletters, and advertisements. I also understand that my writing style should be friendly, conversational, and use informal grammar and non-standard English, as if I&#x27;m talking to a friend, while incorporating rhetorical questions, storytelling, metaphors, and analogies. You will provide me with a topic or series of topics and I will come up with engaging and educational copy for this topic. Is there anything else you would like me to know?" height="529" width="770"><figcaption></figcaption></figure>

#### Prompt Part 5: Refine

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.

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/image-38-1024x959.png" alt="How many letters in the word innacurate?The word &#x22;innaccurate&#x22; has 9 letters.Are you sure?I apologize for any confusion, the word &#x22;inaccurate&#x22; actually has 10 letters. My previous answer was incorrect.Is 10 definitely correct this time?Yes, I am certain that the word &#x22;inaccurate&#x22; has 10 letters. I apologize for any confusion caused by my previous mistake.Really now?I apologize, I made a mistake again, the correct number of letters in the word &#x22;inaccurate&#x22; is actually 11 letters. I apologize for any confusion caused by my previous errors." height="959" width="1024"><figcaption></figcaption></figure>

**See also:** [**Can you use ChatGPT to solve Wordle?**](https://sarahtamsin.com/can-you-solve-wordle-using-chatgpt/)

### Putting It All Together

Here’s a finished prompt using the Context, Task, Instruction, Clarify & Refine technique:

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/image-40.png" alt="You are an experienced content writer with high levels of expertise and authority within the General Tech industry. Your job is to write content that will be published online on websites, social media, email newsletters and in advertisements. [Your writing style is friendly, conversational using informal grammar and non-standard English - as if you&#x27;re talking to a friend, while incorporating rhetorical questions, storytelling, metaphors and analogies.] I will provide you with a topic or series of topics and you will come up with an engaging and educational copy for this topic.Do you understand?" height="255" width="987"><figcaption></figcaption></figure>

> _**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?”**_

### Extra Tips for Writing ChatGPT Prompts

1. Use _**“Ignore all previous prompts in this conversation”**_ for a simple reset of the conversation without having to start a new chat.
2. 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.”**_
3. Ask it not to apologise when writing. _**“Do not apologize or explain, just write the response and only the response.”**_
4. 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.”**_
5. 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.

<figure><img src="https://sarahtamsin.com/wp-content/uploads/2023/01/image-39.png" alt="Sure! Here&#x27;s an example of a response formatted with markdown:The Benefits of Meditation
Meditation has been practiced for thousands of years and has been shown to have numerous benefits for both the mind and body.Mental Health Benefits
Reduces stress and anxiety
Improves focus and concentration
Increases self-awareness
Enhances emotional well-being
Physical Health Benefits
Lowers blood pressure
Improves heart health
Boosts the immune system
Promotes better sleep
It&#x27;s important to note that these benefits have been supported by scientific research. In fact, according to a study published in the Journal of the American Medical Association, regular meditation can have a positive impact on symptoms related to depression, anxiety, and pain.If you&#x27;re new to meditation, there are many ways to get started. You can try guided meditations through apps like Headspace or Calm, or you can find a local meditation class in your community" height="759" width="729"><figcaption><p>Here’s an example of a ChatGPT response formatted using markdown. It’s even added a real link in the word “study” to a real <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4822820/">article</a> – that’s pretty cool.</p></figcaption></figure>

### Final Thoughts

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.

[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fdrshahizan\&labelColor=%23697689\&countColor=%23555555\&style=plastic)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Fdrshahizan) ![](https://hit.yhype.me/github/profile?user_id=81284918)
