Slide Deck - ChatGPT Masterclass
Slide Deck - ChatGPT Masterclass
Welcome!
Input Response
WHAT IS CHATGPT?
AI Large Language Model
Input
Response
The better the prompts, the better the response.
Input
Response
C
Context
E
Expert persona
T
Task
O
Output
C
Context
E
Expert persona
T
Task
O
Output
C
Context
E
Expert persona
T
Task
O
Output
C
Context
E
Expert persona
T
Task
O
Output
C
Context
E
Expert persona
T
Task
O
Output
C
Context
E
Expert persona
T
Task
O
Output
One-Shot Article: New Zealand has extended its nationwide lockdown until
at least Tuesday as it tries to contain an outbreak of the Delta
variant of Covid-19. Prime Minister Jacinda Ardern said there
were 35 new cases on Friday, bringing the total to 107. She said
One Example the lockdown was having an impact, but more time was needed to
ensure the virus was under control. New Zealand had been largely
free of Covid-19 for months until an infected traveler from
Australia arrived earlier this month.
Summary:
Few-Shot
Create a summary for this article:
Article Example 1: …
Summary Example 1: …
2+ Article Example 2: …
Summary Example 2: …
Article:
Few-Shot
Summary:
Multiple
Examples
Few-Shot
2+
Improve Accuracy & Quality of Output
Few-Shot
More Complex Tasks & Specific Idea
Reduced Uncertainty
Multiple
Examples
FOLLOW-UP PROMPTS
A prompt that is
asking ChatGPT to
recall the
conversation to Do this
task.
complete a new
task. Here you
go.
Make this
adjustment.
PROMPT TIPS
• Avoid unnecessary context or information
• Use short sentences with one message and clear
commands
• Try different output formats
Text
JSON
Unformatted markdown
Code
KEY PRINCIPLES IN PROMPTING
1 2 3 4
Instructions
KEY PRINCIPLES IN PROMPTING
For the purpose of gaining an
1 understanding of the main ideas
conveyed in this article, I would like
to kindly request that you generate a
concise summary that encapsulates the
essence of the text.
Clarity
Clear
Summarize this article in
Instructions a single sentence.
KEY PRINCIPLES IN PROMPTING
1
Keep things simple and direct.
Clarity Short Sentences.
Clear
Instructions
Be specific.
KEY PRINCIPLES IN PROMPTING
1 Write a story about a dragon.
Clarity
Write a story about a
Clear dragon for children.
Write a story about a
Instructions
dragon in three paragraphs.
KEY PRINCIPLES IN PROMPTING
2
Outputs
KEY PRINCIPLES IN PROMPTING
2 Write a review for this
Write a caption for this product
image
Relevance
Write a positive review of
Suitable this product with at least
Write a caption for this one reason why you like it
Outputs
image in one sentence.
KEY PRINCIPLES IN PROMPTING
3
Accuracy
… right information and avoiding mistakes.
Correct
Information
CHATGPT FOR BUSINESS WRITING
The Writing Process
1 2 3 4
You are my prompt engineer. The goal is to create the best possible prompt for me that is tailored to my needs.
You (ChatGPT) will later use that prompt to generate a response.
Step 1: You will ask me what the prompt should be about. I will give you my response but we will improve my
responses and the suggested prompt through continuous iteration of the process in Step 2.
Note: The prompt you provide should take the form of a request from me, to be executed by ChatGPT.
We will continue this iterative process by me providing you with additional information, and you updating the prompt
in the "Revised Prompt" section until it is complete.
PROMT GENERATING PROMPT
You are a prompt engineer.
The goal is to create the best possible prompt for me that is
tailored to my needs.
You (ChatGPT) will later use that prompt to generate a
Context
response.
Step 1:
You will ask me what the prompt should be about. I will give you
my response but we will improve my responses and the suggested Task
prompt through continuous iteration of the process in Step 2.
PROMT GENERATING PROMPT
Step 2:
Based on my input, you create 3 sections:
a) Revised prompt (you write your revised prompt. It should be
clear, precise, and easily understandable for you),
b) Suggestions (you make suggestions on what details should be Process
included in the prompt to improve it), and
c) Questions (you ask relevant questions about what additional
information I need to enhance the prompt).
Note: The prompt you provide should take the form of a request
from me, to be executed by ChatGPT.
We will continue this iterative process by me providing you with Output
additional information, and you updating the prompt in the
"Revised Prompt" section until it is complete.
Section 05
ChatGPT Plus
ChatGPT Plus
Plugins Yes No
Problem-solving and
language capabilities
Stronger Weaker
GPT-4 Vs GPT-3.5
FEATURE GPT-4 GPT-3.5
Naturalness and
engagement of responses
Higher Lower
GPT-4 Vs GPT-3.5
FEATURE GPT-4 GPT-3.5
● Versatile applications
Transformer Model
Encoder Decoder
Takes in the input Takes these vectors
sequence and encodes and generates the
it into a set of output sequence
vectors
Mechanism allows the model to focus on
different parts of the input when
generating each word in the output.
BPE
Byte Pair
Encoding
UNHAPPINESS
ChatGPT’s Tokenization
It breaks down the input text into smaller units, or
'tokens', which the model can understand and process
BPE
Byte Pair
Encoding
UN HAPPINESS
Tokenization Challenges
● Speaking of biases
TECHNO-SOLUTIONISM
JOB MARKET
Goldman Sachs estimates that
approximately 300 million
global jobs could be exposed
to automation
Staying Updated
Large Inbox
Working with
small datasets
ChatGPT can help you Depending on the size of
clean data in many ways your dataset
Large Datasets
Ask ChatGPT
Organize Data:
● Alphabetically
● By Height
DataFrame
“FastCars”
Sorting Grouping
want to get the
want to sort the
average top speed
information by top
of these fast cars
speed
by country.
This was just a…
● Classifying
● Labeling
● Extracting data
Named Entity Recognition
ChatGPT can help you perform named entity
recognition (or NER) on your data
to extract whatever information you need.
Classifications & Coding
et
Sm
s
al
ta
l
da
Use ChatGPT to help generate
da
l
ta
al
se
Sm
t
the same analyses.
t
Sm
se
a
a
ll
t
da
da
l
ta
l
ma
se
S
YouTube LinkedIn
3 Ways to
Create a Bio
Prompts
● Summarize the main
points of this
text.
Prompts Prompts
● Summarize the main ● Explain this part
points of this of more…
text.
● Provide more
● List of the key details about…
points, presented
in a table.
RESEARCH
critical thinking.
Introductions
Introductions
Introductions
Prompt
Give me a list of 50
different tones that could
be used for writing.
Include a description of
each. Present these
results in a table.”
AUDIENCE FOCUSED
TONE STYLE VOICE
Overall attitude or mood The sentence structure, The unique personality,
of the writing vocabulary, grammar, and perspective, and
punctuation individuality of the
writer.
Suggest a structure
for content that
covers these specific
topics…
Technique number 2: Ask for quick writing.
Rewrite that to be a
[insert] reading
level.
Technique number 6: Remove technical jargon/language.
"Give simpler
“Explain this
alternatives for “Write this without
technical concept
these technical jargon.”
using an analogy.”
terms."
6 QUICK TECHNIQUES
3
1. Suggest a structure
2. Quick writing
Write 3. Quick re-write
Audience 4. Changing lengths
focused
Language flow and How can I improve the flow and consistency of
consistency this content?
C E T O
Context Expert persona Task Output
C E T O
Context Expert persona Task Output
A large amount of
writing work that
needs to be done
all at once.
request response
GPT-3.5
Why using API?
Build Applications
request response
GPT-3.5
Use Cases
request response
API Key
Who? GPT-3.5
CHATGPT FOR BUSINESS WRITING
The Writing Process
1 2 3 4
Prompts
● Summarize the main
points of this
text.
Introductions
Introductions
More security and privacy options Less control over your data and account
Makes
search then Produces
Bing Chat
Parses answers + media
Accepts
Information based on your
Prompt
to Special prompts
GPT4 model
Find new things to do What are some fun events happening this weekend?
● SEO optimization
Section 19
Google Bard
Google Bard
Citations Yes No
Exploring The Features Of
Bard
● Generate text
Live Updating & Link
Sharing
● Image-to-text translation