|
AI

Mastering the Perfect Prompt Formula (for ChatGPT and Google Gemini)

No matter what industry you're in, crafting effective prompts for ChatGPT and Google Gemini is a skill that's gaining momentum.

This article serves as your comprehensive guide, exploring the six building blocks of successful prompting.

Key Takeaways:

  1. Understanding the building blocks of prompts - Task, Context, Exemplars, Persona, Format, and Tone - and their hierarchy is crucial to generate quality outputs
  2. Balancing the right amount of context with your task can create a successful prompt, and exemplars (examples) can greatly enhance output quality
  3. Persona, format, and tone can refine your prompt, helping ChatGPT and Gemini understand the 'who', 'how', and 'in what style' of your requirements

Watch it in action

Resources

  • Top 8 ChatGPT Productivity Tips for Work (link)

1. Clearly articulating the Task

The six building blocks that shape a high-quality prompt are Task, Context, Exemplars, Persona, Format, and Tone.

💡
These building blocks are not all equal - there is a hierarchy, and the 'Task' is the most crucial component

A prompt without a task may not generate meaningful output. In contrast, a task without context could still produce something relevant, even if not as precise.

Task without context
Context without task
💡
Pro tip: Always start the task sentence with an action verb - generate, give, identify, write, analyze, etc, and be clear about your end goal. 

2. Providing relevant Context

As for the context, it might seem challenging to determine how much information to provide. Here are three questions that can guide you:

  1. What is the user’s background?
  2. What does success look like?
  3. What environment are they in?

Providing the right context will help constrain the endless possibilities of AI and yield results that cater to your specific needs.

3. The Power of Exemplars

Exemplars, or examples, are powerful tools that can drastically improve the quality of the output. They range from simple structures to comprehensive frameworks.

For instance, you could ask ChatGPT to re-write a bullet point from a resume using a particular structure or to prepare an answer to an interview question using the STAR answer framework.

Exemplars aren't necessary for every prompt but can significantly enhance the quality of your output when relevant.

4. Defining the Persona

The 'Persona' in your prompt defines who you want ChatGPT or Gemini to emulate.

💡
Pro tip: Think of a person whose expertise you'd like to tap into

The persona can be a real-life expert or even a fictional character, giving you a diverse range of voices to choose from.

5. Format - Visualizing the End Result

Visualizing how you want the end result to look like can guide the 'Format' of your prompt. It can be a table, bullet points, paragraphs, codeblocks, or markdown, depending on what you find most useful.

6. Setting the Tone

Tone is all about the voice of your output. Are you looking for a casual, formal, witty, enthusiastic, or pessimistic output?

💡
Pro tip: If you're unsure of the adjectives to use, tell ChatGPT the feeling you’re going for, and it can suggest a list of tone keywords for your prompt

Putting It All Together

Now, let’s consider a comprehensive prompt that integrates all six components:

This prompt showcases how to use each building block effectively, leading to a high-quality output.

With these tools at your disposal, you're all set to master prompting on ChatGPT and Google Gemini. Stay tuned for more in-depth articles, and in the meantime, happy prompting!

Want to learn more about ChatGPT and Google Gemini?

Check out my Top 8 ChatGPT Productivity Tips for Work!