Master the Perfect ChatGPT Prompt Formula (in just 8 minutes)!

Jeff Su
1 Aug 202308:30

TLDRIn this video, Jeff, a tech professional, shares a comprehensive formula for crafting effective prompts for AI chatbots like ChatGPT and Google Bard. He emphasizes the importance of six key components: task, context, exemplars, persona, format, and tone. Jeff explains that starting with an action verb for the task and providing relevant context are crucial. He also highlights the value of exemplars in improving output quality. Persona allows users to define the AI's role, while format dictates the desired output structure. Lastly, tone adds a layer of personality to the response. Through examples, Jeff demonstrates how these elements combine to generate high-quality, targeted outputs, transforming generic prompts into specific, actionable insights.


  • ๐Ÿ“ Always start your task with an action verb and clearly state your end goal, such as generating a training program or analyzing feedback.
  • ๐Ÿง Context is crucial and should precede the task; it provides necessary background information to generate meaningful output.
  • ๐Ÿค” When providing context, ask yourself about the user's background, what success looks like, and the environment they are in.
  • ๐Ÿ“ˆ Including exemplars or examples in your prompt significantly improves the quality of the output from large language models.
  • ๐Ÿฆธโ€โ™‚๏ธ The Persona component represents who you want ChatGPT to embody, such as a physical therapist or a hiring manager.
  • ๐Ÿ“‹ The format component involves visualizing the desired outcome, like a table, email, or a markdown document.
  • ๐ŸŽญ The tone component is about the voice you want the output to have, which can be guided by keywords that convey the desired feeling.
  • ๐Ÿ”‘ Not all six components (task, context, exemplars, persona, format, tone) are needed for every prompt; prioritize based on the situation.
  • ๐Ÿ’ก Use clear and concise language, especially when the output will be used in a professional setting like a report or an email.
  • ๐Ÿ“‰ When asking for a rewrite or improvement, provide a structure or framework as an exemplar for ChatGPT to follow.
  • ๐Ÿš€ The effectiveness of your prompt is enhanced by providing just enough information to constrain the possibilities without being overly generic.

Q & A

  • What is the main focus of the video titled 'Master the Perfect ChatGPT Prompt Formula (in just 8 minutes)!'?

    -The video focuses on teaching viewers the formula for creating effective prompts for AI assistants like ChatGPT and Google Bard, which can generate high-quality outputs.

  • What are the six building blocks of a good prompt according to Jeff?

    -The six building blocks of a good prompt are task, context, exemplars, persona, format, and tone.

  • Why is the task component considered the most important in the hierarchy of prompt components?

    -The task is the most important because it is mandatory to have a task in your prompt. Without it, there is no meaningful output, even if context is provided.

  • How does Jeff suggest determining the right amount of context to include in a prompt?

    -Jeff suggests asking yourself three questions: the user's background, what success looks like, and the environment they are in. This helps to provide just enough information for a good result.

  • What role do exemplars play in improving the quality of the output from large language models?

    -Exemplars, or examples, drastically improve the quality of the output by providing a structure or framework for the AI to follow, which helps it generate more accurate and relevant responses.

  • How does the persona component help in crafting a prompt?

    -The persona component helps by defining who you want the AI to be, such as a physical therapist, recruiter, or hiring manager. This can guide the AI to generate responses that align with the expertise and perspective of that persona.

  • What is the significance of specifying the format in a prompt?

    -Specifying the format helps the AI to understand how the end result should look, whether it's an email, a table, bullet points, or a specific document format. This ensures the output is presented in a usable and desired way.

  • How can tone affect the output of a prompt?

    -Tone can significantly affect the output by setting the emotional and stylistic context for the AI's response. It can make the output sound casual, formal, witty, enthusiastic, or pessimistic, depending on the desired feeling.

  • What is the purpose of the 'tl;dr' section in the example prompt provided by Jeff?

    -The 'tl;dr' or 'too long; didn't read' section is meant to provide a brief summary of the main points, allowing the reader to quickly grasp the essential information without reading the entire document.

  • Why is it important to include a quantifiable business metrics section in the email to Tim Cookie in the example prompt?

    -Including a quantifiable business metrics section provides concrete data on the product's performance, which can help demonstrate the success of the product launch and its impact on the company.

  • How does Jeff recommend using tone keywords in a prompt?

    -Jeff suggests using tone keywords to convey the desired feeling or emotional context of the output. For example, asking for a 'clear and concise language' in a 'friendly, get confident tone' guides the AI to generate a response that matches that tone.

  • What is the benefit of using a comprehensive prompt structure as demonstrated in the video?

    -A comprehensive prompt structure ensures that the AI has all the necessary information to generate a high-quality, targeted output. It helps to avoid generic responses and instead produces outputs that are specific, relevant, and useful.



๐Ÿš€ Mastering Prompting Techniques

In this first paragraph, Jeff introduces the audience to the concept of 'prompting' and its significance in generating specific and high-quality outputs from AI models like ChatGPT and Google Bard. He shares his experience of investing time in learning prompt engineering and its practical application. The key focus is on the six building blocks of a good prompt: task, context, exemplars, persona, format, and tone. Jeff emphasizes the importance of the task and context, and provides a mental checklist for crafting prompts. He also clarifies that not all six components are needed for every prompt. The paragraph concludes with an example of a task prompt for a three-month training program, highlighting the need for action verbs and clear end goals.


๐Ÿ“ Crafting Effective Prompts

The second paragraph delves into the specifics of each building block for crafting effective prompts. It begins with the task, suggesting the use of action verbs and a clear statement of the end goal. The context is described as the trickiest component due to the vast amount of information that could be included. Jeff recommends asking three questions to narrow down the necessary context. The paragraph then moves on to exemplars, emphasizing their importance in improving the quality of AI's output. The persona component is introduced as a way to define the perspective or role the AI should adopt, with examples of professionals or even fictional characters. The format component is about visualizing the desired output's structure, such as tables or paragraphs. Lastly, the tone is discussed, with advice on using tone keywords to guide the AI's response. The paragraph concludes with a comprehensive example of an email prompt to a boss, incorporating all the components discussed.



๐Ÿ’กPrompt Engineering

Prompt engineering is the skill of crafting input prompts to guide artificial intelligence systems, like ChatGPT, to produce desired outputs. In the video, Jeff emphasizes the importance of this skill for generating high-quality responses tailored to specific needs.


ChatGPT is an advanced natural language processing model developed by OpenAI that can generate human-like text based on given prompts. The video discusses how to effectively use ChatGPT to generate outputs for various tasks.

๐Ÿ’กGoogle Bard

Google Bard is an AI language model developed by Google, similar to ChatGPT, which is designed to assist with generating text based on user prompts. The video mentions it alongside ChatGPT as a platform for applying the discussed prompt formula.

๐Ÿ’กBuilding Blocks

The term 'building blocks' in the context of the video refers to the six components that make up an effective prompt: task, context, exemplars, persona, format, and tone. These components are essential for constructing prompts that yield precise and useful AI responses.


A 'task' is the action or goal that the user wants the AI to perform or achieve. It is the starting point of a prompt and is crucial for guiding the AI towards a specific output. For example, generating a three-month training program is a clear task outlined in the video.


Context provides the background information necessary for the AI to understand the situation and generate a relevant response. It is critical for narrowing down the scope of the task and ensuring the output is meaningful and applicable. In the script, the user's background, success criteria, and environment are components of context.


Exemplars are examples or frameworks that guide the AI in generating responses. They are particularly useful in improving the quality of the output by providing a structure or a specific way of expressing the desired outcome. The video uses the STAR (Situation, Task, Action, Result) framework as an exemplar for interview preparation.


A 'persona' in the video refers to the character or professional role that the user wants the AI to emulate when generating the response. This could be a physical therapist, a recruiter, or even a fictional character like Batman. The persona helps to shape the style and content of the AI's output.


The 'format' component of a prompt dictates the structure and presentation of the AI's output. It could be a table, an email, bullet points, or a narrative paragraph. The video illustrates how specifying the desired format can streamline the output for the user's needs, such as a table for categorizing feedback.


Tone refers to the style of communication, which can be casual, formal, enthusiastic, or pessimistic. In the video, Jeff discusses how specifying the tone can help the AI to match the user's intended sentiment, making the output more appropriate for the user's context.


Productivity is a central theme of the video, as it discusses how mastering the prompt formula can lead to more efficient use of AI tools like ChatGPT and Google Bard. By providing clear and well-structured prompts, users can save time and achieve better results in their work.


Jeff, a full-time tech worker, shares the only formula needed to master prompting on ChatGPT and Google Bard.

The video introduces six building blocks for a good prompt: task, context, exemplars, persona, format, and tone.

Task is the most critical component and should start with an action verb to clearly define the end goal.

Context is essential and should be tailored to provide just enough information for a meaningful output.

Exemplars, or examples, drastically improve the quality of the output when included in the prompt.

The persona component involves envisioning who you want ChatGPT to embody for the task at hand.

Format refers to the desired structure of the output, such as tables, emails, or bullet points.

Tone can be adjusted from casual to formal, and it's helpful to provide keywords that convey the desired sentiment.

A comprehensive prompt example is provided, illustrating how to use all components effectively.

The importance of providing a clear task cannot be overstated, as it is mandatory for generating a meaningful output.

Background information, success criteria, and environment are key questions to ask when formulating context.

Including examples within a prompt can help guide the AI towards a more precise and relevant output.

The STAR (Situation, Task, Action, Result) framework is suggested as an exemplar for structuring interview answers.

When using persona, think of someone with expertise in the task or a fictional character for creative tasks.

For format, visualize the end result to guide the AI in the presentation style, such as paragraphs or markdown.

Tone can be specified by describing the feeling you want to convey, which aids in recalling the right tone keywords.

The video emphasizes the importance of not overcomplicating prompts and providing just enough information.

A comparison is made between a comprehensive prompt and a simpler one, highlighting the difference in output quality.

The next video in the series will take viewers from beginner to pro in prompting techniques.