SlideShare una empresa de Scribd logo
Introduction to
Prompt Engineering
CHAMEERA DEDDUWAGE
MANAGER – DIGITAL STRATEGY
B.SC., PG. DIP (APPLIED STATISTICS)
Most of us use ChatGPT and other LLMs
for writing text. But it can do more.
Writing
◦ Elaboration – expands an idea into a larger text.
◦ Summarisation - summarises a large text into a smaller text.
Conceptualisation
◦ Ideation – lateral expansion of a text/idea based on similarities
◦ Extraction – extracting data, features, and information from a text.
◦ Transformation – transform data from one format to another.
Entity-relations
◦ Classification – classifying entities based on given data.
◦ Relationships – find relationships between entities in a text.
Part I: Introduction to
Prompts
What is a
prompt?
A prompt is a natural language request submitted to a
language model to receive a response.
Prompts can contain questions, instructions, contextual
information, examples, and partial input for the model to
complete or continue.
After the model receives a prompt, depending on the type of
model being used, it can generate text, embeddings, code,
images, videos, music, and more.
What are the types of prompts?
Input (required)
◦ Question
◦ Task
◦ Entity
◦ Completion
Context (optional)
Examples (optional)
Question-type inputs
A question input is a question that you ask the
model that the model provides an answer to.
Example:
What are the top 10 most travelled
destinations in Asia?
Task inputs
A task input is a task that you want the model
to perform. For example, you can tell the
model to give you ideas or suggestions for
something.
Example:
Give me a list of steps (numbered) to travel
from Paris to Moscow, using only public
transport.
Entity inputs
An entity input is what the model acts on, such
as classifying or summarising. This type of
input can benefit from the inclusion of
instructions.
Example:
Classify the following items as [large, small].
Elephant
Mouse
Snail
Completion inputs
A completion input is a text that the model is
expected to complete or continue.
Example:
Some simple writing devices to use in fiction
would be...
Context: an example
Marbles:
Color: red
Number: 12
Color: blue
Number: 28
Color: yellow
Number: 15
Color: green
Number: 17
How many green marbles are there?
Context: transformation
E.g.,
Transform this data into JSON format.
Context: transformation
E.g.,
Convert this to an unordered list in LaTex.
Here's the JSON representationconverted into an
unorderedlist in LaTeX format:
begin{itemize}
item textbf{Color:} red, textbf{Number:}12
item textbf{Color:} blue, textbf{Number:}28
item textbf{Color:} yellow, textbf{Number:}15
item textbf{Color:} green, textbf{Number:}17
end{itemize}
Part II: General
Considerations
Clear definition of the task
Example:
Give me a paragraph arguing that Large
Language Models can help humans discover
new, unseen connections.
Applying constraints
Example:
This paragraph was a bit too long. Give me a
50-word paragraph.
Setting rules
Example:
Expand the above paragraph to a 100-word
paragraph. The word "inevitable" must be
there. Mark that word with a bold text.
Setting the tone
Example:
Rewrite the same paragraph in a playful tone.
Define the format
Example:
Transform the same to a bullet list. Preserve
the tone.
Few-shot, one-shot, and zero-shot
Example:
Please choose the most verbose explanation
from these two:
Question: Why is sky blue?
Explanation 1: The sky appears blue because
of Rayleigh scattering, which causes shorter
blue wavelengths of light to be scattered more
easily than longer red wavelengths, making
the sky look blue.
Explanation 2: Due to the Rayleigh scattering
effect.
Context, context, context…
Example:
Consider the following exchange:
Ella: Being a woman is not cosplay.
Betty: That's transphobic!
Context:Ella is a natural-born female, hardcore
Christian, and politically conservative, whereas
Betty is an atheist trans-woman.
Is Betty's exclamation justified?
Enforce selection (1)
Example:
What should I do to fix my disconnected wifi?
The light on my Wifi router is yellow and
blinking slowly.
Enforce selection (2)
Enforce selection (3)
Example:
Multiple choice problem: Which of the
following options describes the book The
Odyssey?
Options:
- thriller
- sci-fi
- mythology
- biography
Prompt not just the content, but the
format as well (1)
Example:
Create an outline for an essay about the
history of Galle, Sri Lanka.
I. Introduction
*
Prompt not just the content, but the
format as well (2)
Example:
At a particular food joint, an order can contain
between 0-5 of the following: Ulundu Vadai,
Masala Vadai, Alu Bonda, and Chai.
A customer orders 2 Masala Vadai + a Chai.
Display the order in JSON format. Display zero-
volume items as well. Display as a copiable
code block.
See you on next
Monday.
THAT’S IT FOR TODAY.

Más contenido relacionado

Similar a Introduction to Prompt Engineering (Focusing on ChatGPT)

A Document Exploring System on LDA Topic Model for Wikipedia Articles
A Document Exploring System on LDA Topic Model for Wikipedia ArticlesA Document Exploring System on LDA Topic Model for Wikipedia Articles
A Document Exploring System on LDA Topic Model for Wikipedia Articles
ijma
 
Scala 3 Is Coming: Martin Odersky Shares What To Know
Scala 3 Is Coming: Martin Odersky Shares What To KnowScala 3 Is Coming: Martin Odersky Shares What To Know
Scala 3 Is Coming: Martin Odersky Shares What To Know
Lightbend
 
Deep Learning for Search
Deep Learning for SearchDeep Learning for Search
Deep Learning for Search
Bhaskar Mitra
 
Learning deep structured semantic models for web search
Learning deep structured semantic models for web searchLearning deep structured semantic models for web search
Learning deep structured semantic models for web search
hyunsung lee
 
SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"
SMART Infrastructure Facility
 
The Three Core Topic Types
The Three Core Topic TypesThe Three Core Topic Types
The Three Core Topic Types
Marcia Riefer Johnston
 
jon-on reasearch.ppt
jon-on reasearch.pptjon-on reasearch.ppt
jon-on reasearch.ppt
Sumit Roy
 
Robustness in Machine Learning Explanations Does It Matter-1.pdf
Robustness in Machine Learning Explanations Does It Matter-1.pdfRobustness in Machine Learning Explanations Does It Matter-1.pdf
Robustness in Machine Learning Explanations Does It Matter-1.pdf
Daniel983829
 
Build With AI AI Driven Resolution NLP Resolution Revolution Started bt Goo...
Build With AI AI Driven Resolution  NLP Resolution  Revolution Started bt Goo...Build With AI AI Driven Resolution  NLP Resolution  Revolution Started bt Goo...
Build With AI AI Driven Resolution NLP Resolution Revolution Started bt Goo...
AshishChanchal1
 
Dsm as theory building
Dsm as theory buildingDsm as theory building
Dsm as theory buildingClarkTony
 
Writing Great Alt Text
Writing Great Alt TextWriting Great Alt Text
Writing Great Alt Text
Whitney Quesenbery
 
Temple University Digital Scholarship Center: Model of the Month Club: Septem...
Temple University Digital Scholarship Center: Model of the Month Club: Septem...Temple University Digital Scholarship Center: Model of the Month Club: Septem...
Temple University Digital Scholarship Center: Model of the Month Club: Septem...
Liz Rodrigues
 
Deep Learning from Scratch - Building with Python from First Principles.pdf
Deep Learning from Scratch - Building with Python from First Principles.pdfDeep Learning from Scratch - Building with Python from First Principles.pdf
Deep Learning from Scratch - Building with Python from First Principles.pdf
YungSang1
 
Seminar
SeminarSeminar
SEMINAR
SEMINARSEMINAR
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
OWAISSALAUDDINKHAN
 
Multidimensional Patterns of Disturbance in Digital Social Networks
Multidimensional Patterns of Disturbance in Digital Social NetworksMultidimensional Patterns of Disturbance in Digital Social Networks
Multidimensional Patterns of Disturbance in Digital Social Networks
Dimitar Denev
 
TopicModels_BleiPaper_Summary.pptx
TopicModels_BleiPaper_Summary.pptxTopicModels_BleiPaper_Summary.pptx
TopicModels_BleiPaper_Summary.pptxKalpit Desai
 
Machine Learning - Intro & Applications .pptx
Machine Learning - Intro & Applications .pptxMachine Learning - Intro & Applications .pptx
Machine Learning - Intro & Applications .pptx
ssuserf3aa89
 

Similar a Introduction to Prompt Engineering (Focusing on ChatGPT) (20)

A Document Exploring System on LDA Topic Model for Wikipedia Articles
A Document Exploring System on LDA Topic Model for Wikipedia ArticlesA Document Exploring System on LDA Topic Model for Wikipedia Articles
A Document Exploring System on LDA Topic Model for Wikipedia Articles
 
Scala 3 Is Coming: Martin Odersky Shares What To Know
Scala 3 Is Coming: Martin Odersky Shares What To KnowScala 3 Is Coming: Martin Odersky Shares What To Know
Scala 3 Is Coming: Martin Odersky Shares What To Know
 
Deep Learning for Search
Deep Learning for SearchDeep Learning for Search
Deep Learning for Search
 
Learning deep structured semantic models for web search
Learning deep structured semantic models for web searchLearning deep structured semantic models for web search
Learning deep structured semantic models for web search
 
SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"
 
The Three Core Topic Types
The Three Core Topic TypesThe Three Core Topic Types
The Three Core Topic Types
 
jon-on reasearch.ppt
jon-on reasearch.pptjon-on reasearch.ppt
jon-on reasearch.ppt
 
Robustness in Machine Learning Explanations Does It Matter-1.pdf
Robustness in Machine Learning Explanations Does It Matter-1.pdfRobustness in Machine Learning Explanations Does It Matter-1.pdf
Robustness in Machine Learning Explanations Does It Matter-1.pdf
 
Build With AI AI Driven Resolution NLP Resolution Revolution Started bt Goo...
Build With AI AI Driven Resolution  NLP Resolution  Revolution Started bt Goo...Build With AI AI Driven Resolution  NLP Resolution  Revolution Started bt Goo...
Build With AI AI Driven Resolution NLP Resolution Revolution Started bt Goo...
 
Dsm as theory building
Dsm as theory buildingDsm as theory building
Dsm as theory building
 
Writing Great Alt Text
Writing Great Alt TextWriting Great Alt Text
Writing Great Alt Text
 
Chatbot_Presentation
Chatbot_PresentationChatbot_Presentation
Chatbot_Presentation
 
Temple University Digital Scholarship Center: Model of the Month Club: Septem...
Temple University Digital Scholarship Center: Model of the Month Club: Septem...Temple University Digital Scholarship Center: Model of the Month Club: Septem...
Temple University Digital Scholarship Center: Model of the Month Club: Septem...
 
Deep Learning from Scratch - Building with Python from First Principles.pdf
Deep Learning from Scratch - Building with Python from First Principles.pdfDeep Learning from Scratch - Building with Python from First Principles.pdf
Deep Learning from Scratch - Building with Python from First Principles.pdf
 
Seminar
SeminarSeminar
Seminar
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
 
Multidimensional Patterns of Disturbance in Digital Social Networks
Multidimensional Patterns of Disturbance in Digital Social NetworksMultidimensional Patterns of Disturbance in Digital Social Networks
Multidimensional Patterns of Disturbance in Digital Social Networks
 
TopicModels_BleiPaper_Summary.pptx
TopicModels_BleiPaper_Summary.pptxTopicModels_BleiPaper_Summary.pptx
TopicModels_BleiPaper_Summary.pptx
 
Machine Learning - Intro & Applications .pptx
Machine Learning - Intro & Applications .pptxMachine Learning - Intro & Applications .pptx
Machine Learning - Intro & Applications .pptx
 

Último

Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
Vladimir Samoylov
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
faizulhassanfaiz1670
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
eCommerce Institute
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
IP ServerOne
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
Access Innovations, Inc.
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Orkestra
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
OWASP Beja
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Access Innovations, Inc.
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 

Último (16)

Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 

Introduction to Prompt Engineering (Focusing on ChatGPT)

  • 1. Introduction to Prompt Engineering CHAMEERA DEDDUWAGE MANAGER – DIGITAL STRATEGY B.SC., PG. DIP (APPLIED STATISTICS)
  • 2. Most of us use ChatGPT and other LLMs for writing text. But it can do more. Writing ◦ Elaboration – expands an idea into a larger text. ◦ Summarisation - summarises a large text into a smaller text. Conceptualisation ◦ Ideation – lateral expansion of a text/idea based on similarities ◦ Extraction – extracting data, features, and information from a text. ◦ Transformation – transform data from one format to another. Entity-relations ◦ Classification – classifying entities based on given data. ◦ Relationships – find relationships between entities in a text.
  • 3. Part I: Introduction to Prompts
  • 4. What is a prompt? A prompt is a natural language request submitted to a language model to receive a response. Prompts can contain questions, instructions, contextual information, examples, and partial input for the model to complete or continue. After the model receives a prompt, depending on the type of model being used, it can generate text, embeddings, code, images, videos, music, and more.
  • 5. What are the types of prompts? Input (required) ◦ Question ◦ Task ◦ Entity ◦ Completion Context (optional) Examples (optional)
  • 6. Question-type inputs A question input is a question that you ask the model that the model provides an answer to. Example: What are the top 10 most travelled destinations in Asia?
  • 7. Task inputs A task input is a task that you want the model to perform. For example, you can tell the model to give you ideas or suggestions for something. Example: Give me a list of steps (numbered) to travel from Paris to Moscow, using only public transport.
  • 8. Entity inputs An entity input is what the model acts on, such as classifying or summarising. This type of input can benefit from the inclusion of instructions. Example: Classify the following items as [large, small]. Elephant Mouse Snail
  • 9. Completion inputs A completion input is a text that the model is expected to complete or continue. Example: Some simple writing devices to use in fiction would be...
  • 10. Context: an example Marbles: Color: red Number: 12 Color: blue Number: 28 Color: yellow Number: 15 Color: green Number: 17 How many green marbles are there?
  • 12. Context: transformation E.g., Convert this to an unordered list in LaTex. Here's the JSON representationconverted into an unorderedlist in LaTeX format: begin{itemize} item textbf{Color:} red, textbf{Number:}12 item textbf{Color:} blue, textbf{Number:}28 item textbf{Color:} yellow, textbf{Number:}15 item textbf{Color:} green, textbf{Number:}17 end{itemize}
  • 14. Clear definition of the task Example: Give me a paragraph arguing that Large Language Models can help humans discover new, unseen connections.
  • 15. Applying constraints Example: This paragraph was a bit too long. Give me a 50-word paragraph.
  • 16. Setting rules Example: Expand the above paragraph to a 100-word paragraph. The word "inevitable" must be there. Mark that word with a bold text.
  • 17. Setting the tone Example: Rewrite the same paragraph in a playful tone.
  • 18. Define the format Example: Transform the same to a bullet list. Preserve the tone.
  • 19. Few-shot, one-shot, and zero-shot Example: Please choose the most verbose explanation from these two: Question: Why is sky blue? Explanation 1: The sky appears blue because of Rayleigh scattering, which causes shorter blue wavelengths of light to be scattered more easily than longer red wavelengths, making the sky look blue. Explanation 2: Due to the Rayleigh scattering effect.
  • 20. Context, context, context… Example: Consider the following exchange: Ella: Being a woman is not cosplay. Betty: That's transphobic! Context:Ella is a natural-born female, hardcore Christian, and politically conservative, whereas Betty is an atheist trans-woman. Is Betty's exclamation justified?
  • 21. Enforce selection (1) Example: What should I do to fix my disconnected wifi? The light on my Wifi router is yellow and blinking slowly.
  • 23. Enforce selection (3) Example: Multiple choice problem: Which of the following options describes the book The Odyssey? Options: - thriller - sci-fi - mythology - biography
  • 24. Prompt not just the content, but the format as well (1) Example: Create an outline for an essay about the history of Galle, Sri Lanka. I. Introduction *
  • 25. Prompt not just the content, but the format as well (2) Example: At a particular food joint, an order can contain between 0-5 of the following: Ulundu Vadai, Masala Vadai, Alu Bonda, and Chai. A customer orders 2 Masala Vadai + a Chai. Display the order in JSON format. Display zero- volume items as well. Display as a copiable code block.
  • 26. See you on next Monday. THAT’S IT FOR TODAY.