How to Create Better Prompts for AI tools

Writing an AI Prompt

Maybe you’re already working with AI, maybe you’re just not sure you know how to use it properly. Either way, this might help you get just a little better at it.

For a couple of years AI tools like ChatGPT, Gemini, and Claude have been revolutionizing how we work. However, the effectiveness of these AI interactions largely depends on one critical factor: the quality of your prompts. 

Like the ancient saying goes:

  💩 IN = 💩 OUT  


Writing better prompts is all about the clarity,.. and structure. Which together are essential to save time and get a better AI response.

The Potential of Effective Prompts

Have you ever been frustrated from getting an unhelpful AI response? The issue often sits in poorly crafted prompts. This blog post will guide you through the art of creating a good prompt. Use it to enhance your AI experience and ensure you get the information you need, in the form you need, every time.

Strategies for Crafting the Perfect Prompts

Creating an effective prompt involves clear communication of your requirements to the AI. These are some key strategies you need to help yourself craft better AI prompts:

1. Define Clear Roles and Contexts

Begin by defining the role of the AI and providing context for your request. For example:

# Role Definition:
You are a financial advisor.
 
# Context:
Provide tips on saving for retirement.

This clarity helps the AI understand its task and audience.

2. Focus on Structure

Divide your instructions into clear segments, such as context, task, and detailed instructions. This structure helps the AI in understanding your request.

## Context:
You are creating a guide for prompt engineering.
 
## Task:
Write a prompt to generate a LinkedIn post.
 
## Instructions:
- Include relevant hashtags.
- Use a professional tone.

This structured approach ensures the AI stays focused and delivers precise results.

3. Highlight Key Elements

Use tools like markdown to emphasize important parts of your prompt. Highlighting directs the AI’s attention to crucial details.

# Main Task:
Focus on the **benefits** of the product, emphasizing its **affordability** and **durability**.

This technique ensures the AI prioritizes the key aspects of your request.


Markdown you said?

Noticed some of the hashtags and asterisks in the code boxes above?
That is Markdown. And here’s how IBM explains it :

Markdown explained by IBM:

"Markdown is an easy-to-use markup language that is used with plain text to add formatting elements (headings, bulleted lists, URLs) to plain text without the use of a formal text editor or the use of HTML tags. Markdown is device agnostic and displays the writing format consistently across device types."

Source: https://www.ibm.com/docs/en/SSYKAV?topic=train-how-do-use-markdown, simple overview of Markdown elements.


4. Incorporate Examples

Demonstrating what a good response looks like can guide the AI. For instance, if you’re asking for a social media post, include a sample output for clarity.

## Example Prompt Template:
You are a marketing expert. Write a social media post about: **Topic Variable:** {{TOPIC}}
 
## Output Example:
**Instagram Post:** "Boost your productivity with these tips #LifeHacks"
**Facebook Post:** "Discover simple ways to improve your daily efficiency."

Providing examples helps the AI understand the desired output format.

5. Use Adaptive Variables

Introduce placeholders for dynamic inputs to make your prompts adaptable and versatile across various scenarios. Of course you do need to define the variables somewhere.

## Prompt Example:
You are a content creator. Write a blog post about:
**Topic Variable:** {{TOPIC}}

This approach saves time and enhances the reusability of your prompts.

Now, Take it to the Next Level

Implement these strategies to transform your interactions with AI:

1. Think Strategically

Approach your prompts with marketing strategies like identifying your target audience to refine results. Understanding your audience helps the AI provide content that is relevant and engaging.

# Context: The content is for a small business targeting local customers.

2. Be Authoritative and Clear

Avoid polite requests and use direct, authoritative language. This clarity helps the AI process your instructions efficiently. Direct prompts yield more precise results.

# Good Prompt:
Define the term 'machine learning.'
# Bad Prompt:
Could you possibly tell me what you know about machine learning?

3. Use Simple and Concise Language

Avoid complex vocabulary and long-winded prompts. Brevity and simple language make the prompt accessible and ensure the AI can process it effectively. Clear and concise language is crucial for effective AI interactions.

# Good Prompt:
What is the boiling point of water?
# Bad Prompt:
At what temperature does dihydrogen monoxide transition to a gaseous state?

What’s Next? Meta-Prompting

Meta-prompting is a technique where the AI generates prompts for itself, making it easier for users to interact with large language models (LLMs). This approach reduces dependency on manual prompt crafting, adapts to changes in AI models, and simplifies cross-model compatibility.

# Role Definition:
You are a **prompt engineer**. Your role is to write structured prompts for generating creative content.
 
# Task:
Write a prompt to generate a LinkedIn post.
 
# Instructions:
- Include relevant hashtags.
- Use a professional tone.

By using meta-prompting, you can create optimal prompts for specific tasks, saving time and enhancing efficiency.

Summing Up

Creating effective prompts is both art and strategy. Making sure you tackle things like: role definition, structured instructions, and meta-prompting, you lay the foundation to getting some exceptional AI responses. You can use this for a lot of things, whether you’re tackling everyday tasks, solving complex problems, or ideating on creative projects, enhancing your prompts can get you to new levels of productivity.

Your Next Step With AI: The Two-Way Conversation

To make your prompts more effective, treat them like a conversation. Be empathetic and informative, and show some emotional angles to get more nuanced responses.

#You are a marketing expert.
Write a social media post about the benefits of remote work, focusing on increased flexibility and work-life balance.
Include relevant hashtags and use a professional tone.
Use me to get a better understanding of the outcome.

This approach not only improves the AI’s response but also encourages more interactive and meaningful interactions.

This is a Skill You WILL Need

Now it may still be called the art of prompt crafting, tomorrow it’s gonna be as basic as working with email. Follow and try some of these guidelines, and you can significantly improve your level of working with AI.

Sources used:

Roel Timmermans

Roel Timmermans is a senior marketing manager with experience gained from startups in Fintech to big name FMCG, Fashion and Consumer Electronics brands like Heineken, EssilorLuxottica, Denon, Ray-Ban and more.

He’s a passionate marketer with a broad range of marketing skills from SEO to E-commerce, to Creative, to Marketing automation, Brand Management and beyond.

Also, this is his website 😎

https://www.roeltimmermans.com
Next
Next

CoEs VS. OpCos