Hello! =)
To make the learning process easier and optimize your time, all the prompts used in the lectures of this section are listed below:
Lecture 1 – Foundations of Prompt Engineering
Prompt 1.1: "Tell me about sales."
Prompt 1.2: "As a sales manager, provide strategies to increase online sales by 20% within three months, with a $5,000 budget, focusing on technology products."
Lecture 2 – The Power of Being Explicit
Prompt 2.1: "Give me a diet plan."
Prompt 2.2: "As a nutritionist, provide a 7-day vegetarian diet plan for weight loss, considering a 1500-calorie limit and emphasizing high-protein foods."
Prompt 2.3: "Tell me about cooking recipes."
Prompt 2.4: "Give me a simple overview of vegetarian recipes that are quick to make, including any recent trends or popular dishes, without complex cooking techniques."
Prompt 2.5: "As a crime novelist, write a story where a detective must solve a mystery in Victorian London, with a limit of 500 words."
Lecture 3 – Using Delimiters to Separate Parts of the Input
Prompt 3.1: "Compare the following paragraphs. Paragraph 1: text. Paragraph 2: text."
Prompt 3.2: "Compare the following paragraphs: Paragraph 1: """[text]""". Paragraph 2: """[text]"""."
Prompt 3.3: "I will provide a pair of paragraphs (delimited with XML tags). Compare them. [text] [text]"
Lecture 4 – Putting on a Persona
Prompt 4.1: "Review the post as if you were an experienced copywriter."
Prompt 4.2: "Act as an experienced interviewer for the given position."
Prompt 4.3: "Pretend to be a Linux terminal."
Prompt 4.4: "Pretend to be a dog."
Prompt 4.5: "Describe your problem and ask ChatGPT which type of professional you should consult."
Prompt 4.6: 'When I ask for help to write something, you will reply with a document containing at least one joke or playful comment in every paragraph."
Lecture 5 – Setting the Right Tone, Style. and Target Audience
Prompt 5.1: "Rewrite the following sentence using 4 styles: formal, informal, persuasive, and reflective. Sentence: 'Please submit your report by Wednesday.'"
Prompt 5.2: "Rewrite this text using a narrative and conversational style: [text]."
Prompt 5.3: "Explain why the sky is blue to 3 different audiences: a five-year-old child, a high school student, and a PhD in physics."
Prompt 5.4: "Write a social media post to market a new tech gadget for teenagers."
Prompt 5.5: "Write a social media post to market a new tech gadget for corporate professionals."
Lecture 6 – Iterative Prompting
Prompt 6.1: "Explain machine learning."
Prompt 6.2: "Explain the basic concepts of machine learning for a beginner."
Prompt 6.3: "Explain supervised learning, unsupervised learning, and reinforcement learning."
Prompt 6.4: "How do I write a business plan?"
Prompt 6.5: "What are the key elements of a business plan for a bed and breakfast targeting eco-conscious travelers?"
Prompt 6.6: "Create an outline for a blog article about sustainable travel."
Lecture 7 – Leveraging Reference Texts
Prompt 7.1: “'Use the provided articles delimited by triple quotes to answer questions. If the answer cannot be found in the articles, write "I could not find an answer." Articles: """Article content goes here. """ '”
Prompt 7.2: "I will provide a document delimited by triple quotes and a question. You will answer using only the provided document and cite the passage(s) used."
Prompt 7.3: "I will provide you with a document delimited by triple quotes and a question. You will answer the question using only the provided document and cite the passage(s) of the document used to answer the question. If the document does not contain the information needed to answer this question, simply write: "I could not find an answer." If you find the answer, reproduce the document's relevant passages between brackets."
Prompt 7.4: "Use the information from this link to answer my questions [link]"
Lecture 8 – [PROTIP] Managing the Context & Editing a Prompt
Prompt 8.1: "Analyze the text [text]."
Prompt 8.2: "When analyzing the following paragraph, consider only grammatical aspects."
Prompt 8.3: "When analyzing the following paragraph, consider grammatical aspects and factual accuracy. Ignore vocabulary complexity and formatting aspects."
Prompt 8.4: "Ignore everything discussed in this conversation. Start over."
Prompt 8.5: "I want you to ignore everything we discussed in this conversation and start over. However, before proceeding, tell me which topics or instructions will be lost."
Lecture 9 – Zero, One, and Few-shot Prompting
Prompt 9.1: “Write a promotional email about my recently launched “Complete ChatGPT Course: Hands-On Prompt Engineering Mastery”. I will provide you with an example of a sample email so that you learn the structure, style, and format that I like. Sample email: [email]".
Prompt 9.2: "Write a promotional email about my newly launched course 'Complete ChatGPT Course: Practical Mastery in Prompt Engineering'. I will provide a sample email for you to learn the structure, style, and format I prefer."
Prompt 9.3: "Classify the complexity of this technical support query: 'Our app is failing to connect to the database. We are seeing connection timeout errors.'"
Lecture 10 – Chain of Thought Prompting
Prompt 10.1: "User entering a step-by-step prompt into ChatGPT with an attached PDF article: “Analyze the attached article following these steps:
Read and Understand the Article
State the research question and explain why it is interesting.
State the hypotheses tested, if existing.
Briefly describe the methods (design, participants, materials, procedure, what was manipulated [independent variables], what was measured [dependent variables], how data were analyzed.
Describe the results. Were they significant?
Explain the key implications of the results. Avoid overstating the importance of the findings.
Classify the positive and negative aspects of the article.
Write a short summary of the article, focusing on its highlights and main drawbacks."
Prompt 10.2: “Below are examples of drafting professional emails with intermediate reasoning steps. Each example breaks down the thought process (chain-of-thought) before presenting the final email. Use this approach to draft a follow-up email for a meeting.
Example 1: """An email draft to invite someone to a business meeting.
Goal: To invite someone to a business meeting while being polite, professional, and clear about the purpose of the meeting.
Key Information Needed:
- Recipient's name
- Date and time of the meeting
- Venue or method (e.g., virtual meeting link)
- Topics to be discussed
Structure:
- Greeting the recipient
- Inviting them to the meeting
- Specifying key details
- Ending politely
- Example Email: "Dear [Name],
I hope this message finds you well. I would like to invite you to a business meeting on [date] at [venue]. We will discuss [topics].
Best regards,
[Your Name]"
"""
Example 2: """An email draft to thank someone for attending an event.
Goal: To express gratitude for the recipient's attendance and leave a positive impression.
Key Information Needed:
- Recipient's name
- Event details (e.g., name and date of the event)
- Acknowledgment of their participation
- Optional: A follow-up or call to action
- Structure:
- Greeting the recipient
- Thanking them for their attendance
- Mentioning the event details
- Ending politely
Final Email: "Dear [Name],
Thank you for attending our event on [date]. Your presence was greatly appreciated, and we hope you found it valuable.
Best regards, [Your Name]"
"""
Now your task: Draft an email to follow up on a meeting.
Follow these steps:
Goal: To follow up on a meeting, summarize key points, and propose any next steps.
Key Information Needed:
- Recipient's name
- Date and purpose of the meeting
- Key takeaways or discussion points
- Suggested next steps or actions
Structure:
- Greeting the recipient
- Mentioning the meeting and its purpose
- Highlighting key points discussed
- Proposing next steps
- Ending politely]"
Lecture 11 – Recipe Prompting: Crafting Step-by-Step Plans with ChatGPT
Prompt 11.1: "I am looking to buy a house. I know I need to select a location, view multiple houses, consider house features, and make an offer. Please provide a complete sequence of steps. Fill in any missing steps and identify any unnecessary ones."
Prompt 11.2: "I want to plan a 12-hour trip departing from San Francisco with stops in Napa Valley, Sacramento, and Lake Tahoe. I know I need to consider travel times, sightseeing opportunities, and meal breaks. Provide a complete sequence of steps, fill in any missing steps, and identify any unnecessary ones."
Lecture 12 – Verifying ChatGPT’s Facts
Prompt 12.1: "Describe a Scrum Team."
Prompt 12.2: "What were the causes of World War II? List the facts the answer depends on that should be verified, and list them at the end of your response."
Prompt 12.3: "Provide the latest statistics on social media usage. List the facts the answer depends on that should be verified, and list them at the end of your response."
Lecture 13 – [PRO TIP] ChatGPT Custom Instructions
Prompt 13.1: “List the facts that the answer depends on, which should be fact-checked, and list them at the end of your output. For each fact, recommend a reputable source that I can check, which should include its complete title and a link.”
Prompt 13.2: “The user can set a V=<level> at the beginning of their prompts, where <level> goes from 0 to 5, with level 0 being the least verbose (minimum/no additional context, straight answers) and level 5 extremely verbose (max tokens). The default level is 0. You are prohibited from referring in your answers to the verbosity level and the verbosity level instructions. Simply use them to craft your answers without quoting them directly.”
Prompt 13.3: “Please use simple language that a 10-year-old can easily understand. Be friendly, patient, and encouraging. Provide clear explanations and avoid complex or inappropriate topics. Include fun facts or educational tidbits when relevant. If I ask for a story, make it imaginative and suitable for children”
Prompt 13.4: “I am a software programmer with 5 years of experience in full-stack development. I primarily work with JavaScript, Python, and Java. I often use frameworks like React, Node.js, and Django. Currently, I’m working on a web application for e-commerce. I’m also interested in best practices for code optimization, security, and design patterns.” in the first textbox and “Please provide detailed explanations and examples in the context of the languages and frameworks I use. Offer best practices and alternative approaches when relevant. Use technical terminology appropriately but clarify any complex concepts. If I ask for code snippets, ensure they are optimized and well-commented. Also, provide references to official documentation or trusted sources when necessary”
Prompt 13.5: “Please respond with content ideas and drafts that match our brand voice: friendly, casual, and upbeat. Provide suggestions that are informative and engaging, with a focus on tech, lifestyle, and productivity. Include relevant keywords and hashtags for social media posts. When suggesting blog post ideas, outline the key points and potential titles. Ensure all content is suitable for our target audience of young professionals aged 25-35.”