SlideShare a Scribd company logo
Learning ChatGPT via Use Cases
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1
All the use cases shown in this presentation are from the practice work given in the book, The art of Prompt
Engineering with ChatGPT by Nathan Hunter.
I found the book very informative. So, I am sharing the homework I did.
Learning ChatGPT via Use Cases
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1
Index
1. Brainstorming ideas and presenting them in a tabular format page 1
2. Translating a poem from Marathi into English page 4
3. Summarizing content in bullet points, in a language
that a 10-year-old can understand and, in the voice,
of Ross Gellar from the series Friends page 6
4. Writing Articles, Blogs and Books page 10
5. Academic Writing page 12
6. Emails to your manager asking for leave because your
son is unwell page 13
7. Learning to code with Python page 14
8. Search for recipes based on the ingredients in your refrigerator
(ChatGPT can make mistakes) page 21
9. Important points to note page 27
Use Case – Brainstorming Ideas
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1
Brainstorming ideas: For e.g. If you are brainstorming an idea for a new business. You can ask ChatGPT to organize
the response in a tabular format.
The prompt would look some like this. “Let’s brainstorm some ideas for a new approach to selling digital marketing
services to micro, small and medium enterprises in India. Write these in a table in the following format: Idea Name,
Short Description, Why it will Sell, Target Market”.
Use Case – Brainstorming Ideas
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 2
This is the response.
Use Case – Brainstorming Ideas
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 3
To get more information on each idea just type: Elaborate on the Results-Driven Package.
Use Case – Translation
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 4
ChatGPT is trained on many languages so it can be immensely powerful translation tool. However, please bear in
mind, poetry, news articles, technical documentation, or any written text can be a complex task. There are many
factors to consider when translating a text such as what writing style should be used, how should jargon be
translated, and whether meaning or accuracy should be the focus.
When translating poetry, for example, you may need to decide whether to preserve the rhyme scheme in the target
language, even if it means sacrificing the accuracy of the translation. In contrast, translating a news article may
require you to consider the writing style and level of formality of the target language, as well as any local
colloquialisms in the original text.
Here is an example of translating a poem in Marathi into English, maintaining the same format.
Use Case – Translation
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 5
The prompt and response will look like this.
Use Case – Summarizing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 6
ChatGPT can be extremely useful when summarizing long form content. Here are few tips on how to summarize the
content.
Use Case – Summarizing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 7
The response will be in bullet points as per the prompt.
Use Case – Summarizing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 8
You can ask ChatGPT to simplify the content in language a 10 year would understand.
Use Case – Summarizing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 9
Make the summary fun by asking ChatGPT to write content in the voice and saying of a popular actor/character.
Please note I mentioned Ross Gellar and ChatGPT adroitly identified the actor.
Use Case – Writing Articles, Blogs and Books
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 10
When using ChatGPT remember it is tool/assistant that helps you do your work. It can be a brilliant idea generator,
creative content blocker, or editor but it can never replace your ideas and you.
Here are some ways it can assist writers in generating content.
Use Case – Academic Writing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 11
In this section we want to demonstrate how to use Chat GPT for academic writing while maintain the uniqueness of
your ideas.
Use Case – Academic Writing
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 12
Once ChatGPT has generated the content of your choice.
Then you can use the tips provided in the Summarizing section to summarize content from these books and writing
it in your voice, language and tone for your post. Remember for ChatGPT to understand your writing style you must
feed it sufficient examples of your work to learn. To know more click on this link:
https://www.linkedin.com/pulse/art-prompt-engineering-chatgpt-introduction-tools-nikhill-
gadkar/?trackingId=liuY2rgSRUST22rYJIb4%2FQ%3D%3D
Then ask ChatGPT to check for errors and recommend any changes to the language based on your target audience.
You can use ChatGPT to generate references for your content. Just type in the prompt – Can you provide me with a
list of references for my content.
Use Case – Emails
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 13
Drafting emails is always a boring and stressful task. You want to convey your message strategically, in a friendly/
professional yet polite manner. You can also use the ChatGPT chrome writer extension it is also very effective
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 14
Learning how to ask ChatGPT in an optimum way can turn it from an assistant into a professional trainer.
Let me explain with an example. Do you all remember what matrices are? We will ask ChatGPT to create a tool in
python that can multiple 2, 2X2 matrices and include detailed comments in a language my mother-in-law can
understand.
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 16
The response looks like this.
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 17
If you don’t understand any of the concepts mentioned. Ask ChatGPT to elaborate.
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 18
If you want to get more granular.
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 19
If you want to get more granular.
Use Case – Learning to Code
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 20
A more efficient way to learn would be to begin by telling ChatGPT what you know about Python programming. The
more details information you provide the better ChatGPT will be able to help you.
Remember when you use ChatGPT as a tutor converse with it as you would with a human teacher.
Use Case – Searching for Recipes
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 21
Instead of searching for recipes and then hunting for ingredients in your refrigerator. Ask ChatGPT to find a recipe
based on the ingredients/vegetables in your refrigerator.
Use Case – Searching for Recipes
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 22
ChatGPT gives me multiple recipes.
Use Case – Searching for Recipes
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 23
You can go one step further by telling ChatGPT your dietary preference or allergies and then ask it to recommend
recipes.
Use Case – Searching for Recipes
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 24
The recipes based on your preferences.
Use Case – Searching for Recipes
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 25
ChatGPT can make mistakes. (So, you have to ensure you do your research and have thorough knowledge of your
subject.) Here is an example.
Important points to note
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 26
You can ask ChatGPT to input the contents in a tabular form by providing the names of the columns.
Important - Sometimes ChatGPT doesn’t like to output information in a table format. If this occurs use the term
‘text-based table’, or just click regenerate a couple of times.
Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar
Thanks

More Related Content

Learn Prompting with ChatGPT

  • 1. Learning ChatGPT via Use Cases Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1 All the use cases shown in this presentation are from the practice work given in the book, The art of Prompt Engineering with ChatGPT by Nathan Hunter. I found the book very informative. So, I am sharing the homework I did.
  • 2. Learning ChatGPT via Use Cases Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1 Index 1. Brainstorming ideas and presenting them in a tabular format page 1 2. Translating a poem from Marathi into English page 4 3. Summarizing content in bullet points, in a language that a 10-year-old can understand and, in the voice, of Ross Gellar from the series Friends page 6 4. Writing Articles, Blogs and Books page 10 5. Academic Writing page 12 6. Emails to your manager asking for leave because your son is unwell page 13 7. Learning to code with Python page 14 8. Search for recipes based on the ingredients in your refrigerator (ChatGPT can make mistakes) page 21 9. Important points to note page 27
  • 3. Use Case – Brainstorming Ideas Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 1 Brainstorming ideas: For e.g. If you are brainstorming an idea for a new business. You can ask ChatGPT to organize the response in a tabular format. The prompt would look some like this. “Let’s brainstorm some ideas for a new approach to selling digital marketing services to micro, small and medium enterprises in India. Write these in a table in the following format: Idea Name, Short Description, Why it will Sell, Target Market”.
  • 4. Use Case – Brainstorming Ideas Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 2 This is the response.
  • 5. Use Case – Brainstorming Ideas Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 3 To get more information on each idea just type: Elaborate on the Results-Driven Package.
  • 6. Use Case – Translation Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 4 ChatGPT is trained on many languages so it can be immensely powerful translation tool. However, please bear in mind, poetry, news articles, technical documentation, or any written text can be a complex task. There are many factors to consider when translating a text such as what writing style should be used, how should jargon be translated, and whether meaning or accuracy should be the focus. When translating poetry, for example, you may need to decide whether to preserve the rhyme scheme in the target language, even if it means sacrificing the accuracy of the translation. In contrast, translating a news article may require you to consider the writing style and level of formality of the target language, as well as any local colloquialisms in the original text. Here is an example of translating a poem in Marathi into English, maintaining the same format.
  • 7. Use Case – Translation Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 5 The prompt and response will look like this.
  • 8. Use Case – Summarizing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 6 ChatGPT can be extremely useful when summarizing long form content. Here are few tips on how to summarize the content.
  • 9. Use Case – Summarizing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 7 The response will be in bullet points as per the prompt.
  • 10. Use Case – Summarizing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 8 You can ask ChatGPT to simplify the content in language a 10 year would understand.
  • 11. Use Case – Summarizing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 9 Make the summary fun by asking ChatGPT to write content in the voice and saying of a popular actor/character. Please note I mentioned Ross Gellar and ChatGPT adroitly identified the actor.
  • 12. Use Case – Writing Articles, Blogs and Books Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 10 When using ChatGPT remember it is tool/assistant that helps you do your work. It can be a brilliant idea generator, creative content blocker, or editor but it can never replace your ideas and you. Here are some ways it can assist writers in generating content.
  • 13. Use Case – Academic Writing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 11 In this section we want to demonstrate how to use Chat GPT for academic writing while maintain the uniqueness of your ideas.
  • 14. Use Case – Academic Writing Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 12 Once ChatGPT has generated the content of your choice. Then you can use the tips provided in the Summarizing section to summarize content from these books and writing it in your voice, language and tone for your post. Remember for ChatGPT to understand your writing style you must feed it sufficient examples of your work to learn. To know more click on this link: https://www.linkedin.com/pulse/art-prompt-engineering-chatgpt-introduction-tools-nikhill- gadkar/?trackingId=liuY2rgSRUST22rYJIb4%2FQ%3D%3D Then ask ChatGPT to check for errors and recommend any changes to the language based on your target audience. You can use ChatGPT to generate references for your content. Just type in the prompt – Can you provide me with a list of references for my content.
  • 15. Use Case – Emails Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 13 Drafting emails is always a boring and stressful task. You want to convey your message strategically, in a friendly/ professional yet polite manner. You can also use the ChatGPT chrome writer extension it is also very effective
  • 16. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 14 Learning how to ask ChatGPT in an optimum way can turn it from an assistant into a professional trainer. Let me explain with an example. Do you all remember what matrices are? We will ask ChatGPT to create a tool in python that can multiple 2, 2X2 matrices and include detailed comments in a language my mother-in-law can understand.
  • 17. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 16 The response looks like this.
  • 18. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 17 If you don’t understand any of the concepts mentioned. Ask ChatGPT to elaborate.
  • 19. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 18 If you want to get more granular.
  • 20. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 19 If you want to get more granular.
  • 21. Use Case – Learning to Code Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 20 A more efficient way to learn would be to begin by telling ChatGPT what you know about Python programming. The more details information you provide the better ChatGPT will be able to help you. Remember when you use ChatGPT as a tutor converse with it as you would with a human teacher.
  • 22. Use Case – Searching for Recipes Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 21 Instead of searching for recipes and then hunting for ingredients in your refrigerator. Ask ChatGPT to find a recipe based on the ingredients/vegetables in your refrigerator.
  • 23. Use Case – Searching for Recipes Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 22 ChatGPT gives me multiple recipes.
  • 24. Use Case – Searching for Recipes Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 23 You can go one step further by telling ChatGPT your dietary preference or allergies and then ask it to recommend recipes.
  • 25. Use Case – Searching for Recipes Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 24 The recipes based on your preferences.
  • 26. Use Case – Searching for Recipes Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 25 ChatGPT can make mistakes. (So, you have to ensure you do your research and have thorough knowledge of your subject.) Here is an example.
  • 27. Important points to note Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Page 26 You can ask ChatGPT to input the contents in a tabular form by providing the names of the columns. Important - Sometimes ChatGPT doesn’t like to output information in a table format. If this occurs use the term ‘text-based table’, or just click regenerate a couple of times.
  • 28. Source: The art of Prompt Engineering with ChatGPT by Nathan Hunter By Nikhil Gadkar Thanks