├── README.md ├── Section 3 ├── prompts used in module 3-3.txt ├── prompts used in module 3-2.txt └── prompts used in module 3-1.txt ├── Section 7 ├── Prompt+ideas+-+Executive+Leadership.pdf ├── Prompt+ideas+-+Research+&+Learning.pdf ├── Prompt+ideas+-+E-commerce+&+Inventory.pdf ├── Prompt+ideas+-+Customer+Support+&+Sales.pdf ├── Prompt+ideas+-+Data+Science+&+Analytics.pdf ├── Prompt+ideas+-+Project+&+Team+Management.pdf └── Prompt+ideas+-+Marketing+and+Communications.pdf ├── Sample Prompts ├── Prompt ideas - Executive Leadership.pdf ├── Prompt ideas - Research & Learning.pdf ├── Prompt ideas - E-commerce & Inventory.pdf ├── Prompt ideas - Customer Support & Sales.pdf ├── Prompt ideas - Data Science & Analytics.pdf ├── Prompt ideas - Project & Team Management.pdf └── Prompt ideas - Marketing and Communications.pdf ├── Section 4 ├── prompts used in module 4-4.txt ├── prompts used in module 4-1.txt ├── prompts used in module 4-6.txt ├── prompts used in module 4-2.txt ├── prompts used in module 4-3.txt └── prompts used in module 4-5.txt ├── Section 2 ├── prompts used in module 2-3.txt ├── prompts used in module 2-1.txt ├── prompts used in module 2-2.txt └── prompts used in module 2-5.txt ├── Section 5 ├── prompts used in module 5-3.txt ├── prompts used in module 5-1.txt ├── prompts used in module 5-5.txt ├── prompts used in module 5-2.txt └── prompts used in module 5-4.txt ├── LICENSE └── Quizzes ├── quizzes_module2.txt ├── quizzes_module1.txt ├── quizzes_module5.txt ├── quizzes_module4.txt ├── quizzes_module6.txt └── quizzes_module3.txt /README.md: -------------------------------------------------------------------------------- 1 | # Prompt-Engineering-for-Everybody-with-ChatGPT-and-GPT4 2 | Prompt Engineering for Everybody with ChatGPT and GPT4, by Packt Publishing 3 | -------------------------------------------------------------------------------- /Section 3/prompts used in module 3-3.txt: -------------------------------------------------------------------------------- 1 | Write a headline for an article about a new environmentally friendly car. 2 | 3 | Write a catchy tagline for a sustainable shoe brand. -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Executive+Leadership.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Executive+Leadership.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Research+&+Learning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Research+&+Learning.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+E-commerce+&+Inventory.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+E-commerce+&+Inventory.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Executive Leadership.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Executive Leadership.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Research & Learning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Research & Learning.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Customer+Support+&+Sales.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Customer+Support+&+Sales.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Data+Science+&+Analytics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Data+Science+&+Analytics.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Project+&+Team+Management.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Project+&+Team+Management.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - E-commerce & Inventory.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - E-commerce & Inventory.pdf -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-4.txt: -------------------------------------------------------------------------------- 1 | Please help me understand the return policy of your online store. 2 | 3 | How can I reset my password? 4 | 5 | Can you provide more information about the shipping process? -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Customer Support & Sales.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Customer Support & Sales.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Data Science & Analytics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Data Science & Analytics.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Project & Team Management.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Project & Team Management.pdf -------------------------------------------------------------------------------- /Section 7/Prompt+ideas+-+Marketing+and+Communications.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Section 7/Prompt+ideas+-+Marketing+and+Communications.pdf -------------------------------------------------------------------------------- /Sample Prompts/Prompt ideas - Marketing and Communications.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Prompt-Engineering-for-Everyone-with-ChatGPT-and-GPT4/HEAD/Sample Prompts/Prompt ideas - Marketing and Communications.pdf -------------------------------------------------------------------------------- /Section 2/prompts used in module 2-3.txt: -------------------------------------------------------------------------------- 1 | Create a vegan lasagna recipe using eggplant and mushrooms. 2 | 3 | Create a step-by-step vegan lasagna recipe with detailed instructions, using eggplant, mushrooms, and a rich tomato sauce. -------------------------------------------------------------------------------- /Section 3/prompts used in module 3-2.txt: -------------------------------------------------------------------------------- 1 | Translate the following English sentence to Spanish: {input_text} 2 | 3 | What language is the following text written in? {input_text} 4 | 5 | Generate a caption for the following image: {image_description} 6 | -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-1.txt: -------------------------------------------------------------------------------- 1 | Compose an email to schedule a meeting with a colleague, discussing a new project idea. 2 | 3 | Write a Twitter post to promote an online workshop about prompt engineering, targeting professionals interested in A.I. -------------------------------------------------------------------------------- /Section 5/prompts used in module 5-3.txt: -------------------------------------------------------------------------------- 1 | Rewrite this formal paragraph in an informal tone: 'The data clearly demonstrates a significant increase in sales over the past quarter, which can be attributed to the successful implementation of our new marketing strategy.' -------------------------------------------------------------------------------- /Section 2/prompts used in module 2-1.txt: -------------------------------------------------------------------------------- 1 | Translate the following English sentence to French: 'The cat is on the mat.' 2 | 3 | Write a short and creative story about a cat named Whiskers. Try to be as creative as possible. Limit the length of your response to 50 words. -------------------------------------------------------------------------------- /Section 5/prompts used in module 5-1.txt: -------------------------------------------------------------------------------- 1 | Generate 3 story ideas with a theme of friendship and adventure. 2 | 3 | I'm writing a sci-fi story about a space mission gone wrong. Suggest three possible plot twists. 4 | 5 | Here's a paragraph from my story: [insert paragraph]. Suggest a more engaging and descriptive version. -------------------------------------------------------------------------------- /Section 5/prompts used in module 5-5.txt: -------------------------------------------------------------------------------- 1 | Based on my LinkedIn profile and my goal of becoming a marketing manager, what skills should I focus on improving? {linkedin profile} 2 | 3 | 4 | Suggest a learning plan to improve my data analysis skills for marketing. 5 | 6 | 7 | Find me the top 5 articles on the latest digital marketing strategies. -------------------------------------------------------------------------------- /Section 5/prompts used in module 5-2.txt: -------------------------------------------------------------------------------- 1 | Find recent articles on sustainable business practices, focusing on renewable energy and waste management 2 | 3 | Summarize the key points of this article on sustainable business practices in 200 words: {article} 4 | 5 | Identify the trends in renewable energy adoption among small businesses over the last five years -------------------------------------------------------------------------------- /Section 2/prompts used in module 2-2.txt: -------------------------------------------------------------------------------- 1 | Write an email to a client 2 | 3 | Write a friendly email to a client, John Smith, thanking him for his recent purchase of our premium software package and offering assistance if he has any questions. 4 | 5 | Write a social media post about my bakery 6 | 7 | Craft a playful and mouthwatering Instagram caption to promote our bakery's new chocolate chip cookie ice cream sandwich, available for a limited time. -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-6.txt: -------------------------------------------------------------------------------- 1 | Create a data visualization showing the monthly revenue from each product category for the past year: {revenues per product categories} 2 | 3 | Analyze last quarter's ad spend and recommend the top three channels with the highest ROI {ad spend per channel} 4 | 5 | Analyze the qualifications of these applicants and rank them based on their skills and experience, without considering their names or personal information {applicant list} -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-2.txt: -------------------------------------------------------------------------------- 1 | Write a blog post about the health benefits of yoga for stress relief. Include keywords: mindfulness, flexibility, relaxation. 2 | 3 | Write an informative article about the impact of air pollution on human health. Include recent studies, statistics, and ways to reduce exposure. 4 | 5 | Create a report on the current trends in renewable energy. Cover solar, wind, and hydropower, and include recent market data, technological advancements, and future projections. -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-3.txt: -------------------------------------------------------------------------------- 1 | Given the following tasks, deadlines, and team member skills, please suggest an optimal task assignment for the team: {tasks, deadlines, team member skills} 2 | 3 | 4 | Please provide a project status update based on the following task completion percentages and team member contributions: {completion percentages and contributions} 5 | 6 | 7 | Considering the availability of the following team members, please suggest the best time for a project update meeting: {team members availability} 8 | 9 | -------------------------------------------------------------------------------- /Section 4/prompts used in module 4-5.txt: -------------------------------------------------------------------------------- 1 | Generate a list of top 3 product recommendations for a customer who enjoys outdoor activities and has previously purchased camping gear. 2 | 3 | Based on the given sales data and upcoming events, predict the demand for sports shoes in the next month. 4 | {previous sales data and list of upcoming events} 5 | 6 | Create a personalized email campaign for customers who have a birthday in the next month, offering them a special discount on their favorite product category 7 | {list of birthdays and product categories} -------------------------------------------------------------------------------- /Section 3/prompts used in module 3-1.txt: -------------------------------------------------------------------------------- 1 | Provide a marketing strategy for launching a new eco-friendly product line 2 | 3 | Create a social media campaign highlighting the environmental benefits and use influencers to promote the products. 4 | 5 | Describe the target audience for a new eco-friendly product line. 6 | 7 | What are the key features and benefits of eco-friendly products? 8 | 9 | Based on the target audience and product features, suggest marketing channels and tactics for promoting the eco-friendly product line. 10 | 11 | Using the information about the target audience, product features, and suggested marketing tactics, provide a comprehensive marketing strategy for launching the new eco-friendly product line. -------------------------------------------------------------------------------- /Section 2/prompts used in module 2-5.txt: -------------------------------------------------------------------------------- 1 | What were the causes of the American Civil War? 2 | 3 | As a historian, explain the main causes of the American Civil War. 4 | 5 | 6 | 7 | I want you to become my research assistant. Your goal is to help me create the best possible summary of a scientific paper. We will work together to refine the summary through an iterative process. 8 | 9 | The paper is titled 'The Impact of Climate Change on Marine Ecosystems.' It discusses the effects of climate change on marine life and how it alters the structure and function of marine ecosystems. 10 | 11 | Yes, please focus on the main findings and recommendations from the paper. 12 | 13 | That's a great summary. Thank you! 14 | 15 | 16 | 17 | Explain the environmental benefits and challenges of using electric vehicles. 18 | 19 | Explain the environmental benefits of using electric vehicles. 20 | Next, discuss the current challenges faced by electric vehicle technology and infrastructure. -------------------------------------------------------------------------------- /Section 5/prompts used in module 5-4.txt: -------------------------------------------------------------------------------- 1 | Given the following tasks, rank them in order of priority: 2 | Review project report (due in 3 days, high importance, 2 hours estimated time) 3 | Prepare presentation (due in 5 days, medium importance, 4 hours estimated time) 4 | Respond to client emails (due today, low importance, 1 hour estimated time) 5 | Brainstorm ideas for upcoming campaign (due in 7 days, high importance, 3 hours estimated time) 6 | 7 | 8 | Analyze the following workflow for inefficiencies: 9 | Draft email content (30 minutes) 10 | Get approval from supervisor (2 hours) 11 | Edit based on feedback (15 minutes) 12 | Send email to recipients (5 minutes) 13 | 14 | 15 | Given the following sales data, suggest which product to prioritize for marketing efforts: 16 | Product A: Sales growth of 5% in the last 3 months, 200 units sold per month 17 | Product B: Sales growth of 12% in the last 3 months, 100 units sold per month 18 | Product C: Sales growth of 2% in the last 3 months, 150 units sold per month -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Quizzes/quizzes_module2.txt: -------------------------------------------------------------------------------- 1 | Question 1: What is the primary purpose of an input in prompt engineering? 2 | 3 | A. To define the AI's behavior 4 | B. To provide the AI with a task or question 5 | C. To control the randomness of the AI's output 6 | D. To set the maximum length of the AI's response 7 | 8 | Answer: B. To provide the AI with a task or question 9 | 10 | Question 2: Which parameter is used to control the randomness or creativity of the AI's output? 11 | 12 | A. Max tokens 13 | B. Clarity 14 | C. Temperature 15 | D. Context 16 | 17 | Answer: C. Temperature 18 | 19 | Question 3: What are the three key aspects to consider when crafting a good prompt? 20 | 21 | A. Length, creativity, and context 22 | B. Clarity, context, and creativity 23 | C. Specificity, relevance, and temperature 24 | D. Temperature, max tokens, and clarity 25 | 26 | Answer: B. Clarity, context, and creativity 27 | 28 | Question 4: In the iterative process of refining prompts, what is the first step after reviewing the output? 29 | 30 | A. Adjusting the temperature parameter 31 | B. Modifying the prompt 32 | C. Adjusting the max tokens parameter 33 | D. Providing more examples 34 | 35 | Answer: B. Modifying the prompt 36 | 37 | Question 5: According to the principles of prompt engineering, what is the best approach when working with AI and creating prompts? 38 | 39 | A. Assume the AI knows everything 40 | B. Start with complex prompts 41 | C. Begin with simple prompts and gradually add complexity 42 | D. Focus on achieving perfection 43 | 44 | Answer: C. Begin with simple prompts and gradually add complexity -------------------------------------------------------------------------------- /Quizzes/quizzes_module1.txt: -------------------------------------------------------------------------------- 1 | Question 1: What is prompt engineering? 2 | A. The study of computer programming languages 3 | B. The art and science of designing effective inputs and fine-tuning parameters for A.I. models 4 | C. The process of building robots to perform specific tasks 5 | D. The development of algorithms for data analysis 6 | 7 | Correct answer: B 8 | 9 | Question 2: Which A.I. model is known for understanding and generating human-like text? 10 | A. GPT-4 11 | B. Midjourney 12 | C. Stable Diffusion 13 | D. Journeyman 14 | 15 | Correct answer: A 16 | 17 | Question 3: What role do prompts play in working with A.I. models? 18 | A. They provide a user interface for interacting with A.I. systems 19 | B. They serve as the steering wheel and gas pedal, helping navigate the A.I.'s capabilities and guiding it toward the right destination 20 | C. They act as a database for storing information related to A.I. models 21 | D. They define the structure of the A.I. model's neural network 22 | 23 | Correct answer: B 24 | 25 | Question 4: Why is learning prompt engineering important in the age of A.I.? 26 | A. It is the only way to communicate with A.I. systems 27 | B. It helps you understand how to create new A.I. models from scratch 28 | C. It enables you to enhance your productivity, adapt to the changing job market, and play an active role in shaping the A.I.-powered future 29 | D. It ensures that A.I. systems cannot replace your job 30 | 31 | Correct answer: C 32 | 33 | Question 5: Which of the following tasks can GPT-4 be useful for? 34 | A. Generating images from textual descriptions 35 | B. Summarizing large data sets 36 | C. Composing music based on lyrics 37 | D. Providing real-time speech translation 38 | 39 | Correct answer: B -------------------------------------------------------------------------------- /Quizzes/quizzes_module5.txt: -------------------------------------------------------------------------------- 1 | Question 1: How can AI assist in overcoming writer's block during the creative writing process? 2 | A. By suggesting new directions or perspectives 3 | B. By suggesting new character names 4 | C. By providing a detailed history of literature 5 | D. By editing the entire manuscript 6 | 7 | Answer: A. By suggesting new directions or perspectives 8 | 9 | Question 2: Which of the following is NOT a benefit of using AI-powered research and information curation tools? 10 | A. Time-saving 11 | B. Enhanced accuracy 12 | C. Customized insights 13 | D. Guaranteed plagiarism-free content 14 | 15 | Answer: D. Guaranteed plagiarism-free content 16 | 17 | Question 3: How can AI help improve grammar, spelling, and style in your writing? 18 | A. By generating a completely new piece of writing 19 | B. By providing suggestions for improvements and corrections 20 | C. By offering personalized tutoring sessions 21 | D. By writing a detailed review of your work 22 | 23 | Answer: B. By providing suggestions for improvements and corrections 24 | 25 | Question 4: In the context of AI-driven task management, what can AI help to identify in workflows? 26 | A. Your favorite tasks 27 | B. Coworkers' task preferences 28 | C. Inefficiencies and bottlenecks 29 | D. The most enjoyable tasks 30 | 31 | Answer: C. Inefficiencies and bottlenecks 32 | 33 | Question 5: What can AI-powered personalized learning paths help you with? 34 | A. Identifying job opportunities in your area 35 | B. Identifying skill gaps and crafting personalized learning plans 36 | C. Writing a professional resume and cover letter 37 | D. Negotiating a higher salary in your current position 38 | 39 | Answer: B. Identifying skill gaps and crafting personalized learning plans -------------------------------------------------------------------------------- /Quizzes/quizzes_module4.txt: -------------------------------------------------------------------------------- 1 | Question 1: What is an important factor to consider when creating prompts for social media posts? 2 | 3 | a) The font size of the post 4 | b) The recipient's relationship to you 5 | c) The platform (e.g. Twitter, Instagram, Facebook) 6 | d) The sender's favorite color 7 | 8 | Answer: c) The platform (e.g. Twitter, Instagram, Facebook) 9 | 10 | Question 2: What is one of the main purposes of using prompt engineering for content generation? 11 | 12 | a) To replace human creativity entirely 13 | b) To generate memes 14 | c) To guide AI in generating tailored content 15 | d) To access the Internet for real-time data 16 | 17 | Answer: c) To guide AI in generating tailored content 18 | 19 | Question 3: In the context of task delegation and project management, what can prompt engineering help accomplish? 20 | 21 | a) Analyze workload and prioritize tasks 22 | b) Make a selection of mandatory reads the team 23 | c) Predict future technology trends 24 | d) Compose a business case 25 | 26 | Answer: a) Analyze workload and prioritize tasks 27 | 28 | Question 4: What is a key advantage of using AI-assisted customer support? 29 | 30 | a) The ability to handle complex emotional situations 31 | b) The ability to reduce response times 32 | c) The ability to understand sarcasm 33 | d) The ability to empathize with customers 34 | 35 | Answer: b) The ability to reduce response times 36 | 37 | Question 5: How can AI help in the realm of data analysis? 38 | 39 | a) By participating in meetings and providing live feedback 40 | b) By creating visual art based on data patterns 41 | c) By enhancing data visualization and pattern recognition 42 | d) By being influenced by emotions and preconceived notions 43 | 44 | Answer: c) By enhancing data visualization and pattern recognition -------------------------------------------------------------------------------- /Quizzes/quizzes_module6.txt: -------------------------------------------------------------------------------- 1 | Question 1: Which of the following strategies can help reduce bias in A.I. prompts? 2 | 3 | a) Use gender-specific pronouns 4 | b) Use inclusive language 5 | c) Focus on a single perspective 6 | d) Avoid diverse examples 7 | 8 | Correct answer: b) Use inclusive language 9 | 10 | Question 2: When evaluating A.I.-generated outputs, which of the following steps should you follow? 11 | 12 | a) Ignore feedback from others 13 | b) Ask for feedback from a diverse group of people 14 | c) Focus on your own perspective 15 | d) Avoid iterating and improving 16 | 17 | Correct answer: b) Ask for feedback from a diverse group of people 18 | 19 | Question 3: Which of the following is NOT a type of bias that can emerge in A.I. systems? 20 | 21 | a) Hair color bias 22 | b) Gender bias 23 | c) Racial or ethnic bias 24 | d) Socioeconomic bias 25 | 26 | Correct answer: a) Hair color bias 27 | 28 | Question 4: In the context of data privacy, which of the following considerations is important when working with A.I.? 29 | 30 | a) Including personally identifiable information in prompts 31 | b) Anonymizing data before training or using A.I. models 32 | c) Ignoring data protection regulations 33 | d) Using unsecure data storage and transmission 34 | 35 | Correct answer: b) Anonymizing data before training or using A.I. models 36 | 37 | Question 5: What is one way to ensure that A.I. complements human work in prompt engineering? 38 | 39 | a) Use A.I. to replace human input entirely 40 | b) Encourage A.I. to make all decisions 41 | c) Use A.I. to generate creative ideas, while humans refine and finalize the output 42 | d) Avoid collaboration between humans and A.I. systems 43 | 44 | Correct answer: c) Use A.I. to generate creative ideas, while humans refine and finalize the output -------------------------------------------------------------------------------- /Quizzes/quizzes_module3.txt: -------------------------------------------------------------------------------- 1 | Question 1: How can you control the length of the output generated by an AI model? 2 | a) By adjusting the temperature of the AI system 3 | b) By explicitly mentioning the desired length in the prompt 4 | c) By using chain-of-thought prompting 5 | d) By adjusting the maximum number of words or characters in the prompt 6 | 7 | Answer: d) By adjusting the maximum number of words or characters in the prompt 8 | 9 | Question 2: What effect does increasing the "temperature" of an AI system have on its output? 10 | a) It produces more focused and conservative responses 11 | b) It generates more diverse and creative outputs 12 | c) It shortens the output 13 | d) It improves the AI's understanding of context 14 | 15 | Answer: b) It generates more diverse and creative outputs 16 | 17 | Question 3: In which scenario is chain-of-thought prompting particularly useful? 18 | a) When the topic is simple and requires a short answer 19 | b) When the AI needs additional context to provide a relevant response 20 | c) When the AI is generating captions for images 21 | d) When the AI is used for language detection 22 | 23 | Answer: b) When the AI needs additional context to provide a relevant response 24 | 25 | Question 4: What is the primary purpose of multimodal AI systems? 26 | a) To generate more creative text 27 | b) To improve the AI's understanding of context 28 | c) To work with different types of data, such as images and audio 29 | d) To control the length of the output 30 | 31 | Answer: c) To work with different types of data, such as images and audio 32 | 33 | Question 5: Which of the following strategies can help manage the non-deterministic nature of AI systems? 34 | a) Test multiple prompt variations to find the most reliable and consistent results 35 | b) Use chain-of-thought prompting for all tasks 36 | c) Increase the temperature of the AI system 37 | d) Focus solely on the AI's strengths and ignore its limitations 38 | 39 | Answer: a) Test multiple prompt variations to find the most reliable and consistent results --------------------------------------------------------------------------------