SlideShare a Scribd company logo
1 of 42
Download to read offline
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
Massimo Re Ferrè
Senior Principal Technologist, AWS
Generative AI for the rest of us
© 2023, Amazon Web Services, Inc. or its affiliates. 2
Mainframes
Zooming out a bit
Technology wave #1
Data center
© 2023, Amazon Web Services, Inc. or its affiliates. 3
Mainframes
Zooming out a bit
Personal Computers
Technology wave #2
Technology wave #1
Data center
© 2023, Amazon Web Services, Inc. or its affiliates. 4
Mainframes
Zooming out a bit
Phyisical Servers
Virtual Machines
Personal Computers
Technology wave #2
Technology wave #1
Data center
© 2023, Amazon Web Services, Inc. or its affiliates. 5
Mainframes
Zooming out a bit
Phyisical Servers
Virtual Machines
Personal Computers
Technology wave #2
Technology wave #1
T
e
c
h
n
o
l
o
g
y
d
e
l
i
v
e
r
y
m
o
d
e
l
Data center
Cloud
© 2023, Amazon Web Services, Inc. or its affiliates. 6
Mainframes
Zooming out a bit
Phyisical Servers
Virtual Machines
Personal Computers
Containers
Functions
Technology wave #2
Technology wave #1
T
e
c
h
n
o
l
o
g
y
d
e
l
i
v
e
r
y
m
o
d
e
l
Data center
Cloud
© 2023, Amazon Web Services, Inc. or its affiliates. 7
Mainframes
Zooming out a bit
Phyisical Servers
Virtual Machines
Personal Computers
Containers
Functions
Generative AI
Technology wave #3
Technology wave #2
Technology wave #1
T
e
c
h
n
o
l
o
g
y
d
e
l
i
v
e
r
y
m
o
d
e
l
Data center
Cloud
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
What is Generative AI?
8
© 2023, Amazon Web Services, Inc. or its affiliates.
What is Generative AI (in simple terms)
9
- Traditional AI/ML: “Is this a picture of Rome or Florence?”
- [ Discriminative ]
- Gen AI: “Compare Rome Vs. Florence for someone interested in history”
- [ Generative ]
© 2023, Amazon Web Services, Inc. or its affiliates.
Gen AI “prompt”
10
A T I T S V E R Y C O R E ( T H E L L M - L A R G E L A N G U A G E M O D E L ) , G E N A I I S A F A K E . B U T A U S E F U L O N E
submit
© 2023, Amazon Web Services, Inc. or its affiliates.
This is how I like to think about an LLM
11
* or any profession that has nothing to do with a job in IT for that matter
q An LLM is akin to a … windsurfer professional*
qVery proficient in English
qAnd that had memorized all Wikipedia and all IT forums out there (and a lot more)
q They know Stack Overflow inside out! But don’t have a window to check the
weather (or a watch to check the time, etc)
q On their own, they have no relation to reality (beyond what they read)
q But they are great at generating free form content based on what they know
“have seen"
© 2023, Amazon Web Services, Inc. or its affiliates.
Why is Gen AI useful? [ the builder view ]
Source of unstructured knowledge
How can I use this knowledge and reason about it to create a new asset?
An asset being a piece of code, a whole program, a blog, an architecture, a troubleshooting
workflow, a db query and more outside of the IT realm (a poem, a picture, a receipt …)
© 2023, Amazon Web Services, Inc. or its affiliates.
Why is Gen AI useful? [ the builder view ]
Read and
memorize it all
(LOL – yeah sure)
(1)
Source of unstructured knowledge
You
© 2023, Amazon Web Services, Inc. or its affiliates.
Why is Gen AI useful? [ the builder view ]
You
Read and
memorize it all
(LOL – yeah sure)
Search engines (possibly
not relevant and still hard
- you are the integrator
and generator of a new
asset – text or code)
(1)
(2)
Source of unstructured knowledge
asset
© 2023, Amazon Web Services, Inc. or its affiliates.
Why is Gen AI useful? [ the builder view ]
15
You
Read and
memorize it all
(LOL – yeah sure)
LLM
Train on it
(doable)
(1)
(2)
(3a)
Natural language
conversation
(3b)
Source of unstructured knowledge
asset
asset
Search engines (possibly
not relevant and still hard
- you are the integrator
and generator of a new
asset – text or code)
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
My first Gen AI application
16
© 2023, Amazon Web Services, Inc. or its affiliates.
Real life use case
17
B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S
!!!!
© 2023, Amazon Web Services, Inc. or its affiliates.
Real life use case – the ClickOps version
18
B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S
Audio
file
Text
file
LLM
Audio to text translation Text summarization
Text
file
© 2023, Amazon Web Services, Inc. or its affiliates.
Real life use case – the ClickOps version
19
B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S
Prompt
Output
(generated asset)
© 2023, Amazon Web Services, Inc. or its affiliates.
Real life use case – the application version
20
M Y F I R S T ( N O N T U T O R I A L - B A S E D H E L L O - W O R L D ) G E N E R A T I V E A I A P P L I C A T I O N
© 2023, Amazon Web Services, Inc. or its affiliates. 21
Real life use case – the application version
L A M B D A C A L L S A N E X T E R N A L L L M S E R V I C E
https://it20.info/2023/08/building-a-generative-ai-application-using-aws-step-functions/
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
Making LLMs useful
22
© 2023, Amazon Web Services, Inc. or its affiliates. 23
Why are people talking about things like Agents, Tools, RAG..
q The LLM is just one (fundamental) component of Generative AI
q The LLM could hallucinate, don’t have knowledge of recent / private / live
information, can’t do advanced math, may have limited reasoning capabilities, etc.
q You need something to complement its capabilities and guide/help it
q Especially for “real” business use cases that go beyond “toying around”
© 2023, Amazon Web Services, Inc. or its affiliates. 24
Why are people talking about things like Agents, Tools, RAG..
T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S )
Developing code
Debugging code
Living life
Deploying code
Domains
Writing a novel
Organizing travels
© 2023, Amazon Web Services, Inc. or its affiliates. 25
Why are people talking about things like Agents, Tools, RAG..
T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S )
Developing code
Debugging code
Deploying code
Domains
Autocomplete a
function method
Build a new ERP
from scratch
Resolve an error
message
Rearchitect the
app to avoid this
error at scale
Suggest what I
could do today
Organize my
whole life for the
next 10 years
Level of abstraction
Simple task Complex task
Writing a novel
Living life
Organizing travels
Tell me how long
it takes driving
from Florence to
Rome
Plan in details all
my 1-year long
sabbatical
© 2023, Amazon Web Services, Inc. or its affiliates. 26
Why are people talking about things like Agents, Tools, RAG..
T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S )
Domains
Level of abstraction
Simple task Complex task
Progressive complexity
Completion Chat Reasoning Acting
à
à
à
coverage
Domain
A
function
of
the
corpus
data
© 2023, Amazon Web Services, Inc. or its affiliates. 27
Why are people talking about things like Agents, Tools, RAG..
T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S )
Domains
Level of abstraction
Simple task Complex task
Large Language model
Smaller
purpose
built/tuned
model
Models may need to be
helped / guided to achieve
goals where task complexity
is too high or simply for
missing domain knowledge
© 2023, Amazon Web Services, Inc. or its affiliates. 28
Why are people talking about things like Agents, Tools, RAG..
A N E X A M P L E O F C O T ( C H A I N O F T H O U G H T S )
https://arxiv.org/abs/2201.11903
But sometimes in-prompt Chain of Thoughts (CoT) isn’t enough for the LLM to reason properly
W
elcom
e to
the
m
agic world
of
“prom
pt engineering”
© 2023, Amazon Web Services, Inc. or its affiliates. 29
Why are people talking about things like Agents, Tools, RAG..
A N E X A M P L E O F T H E F A C T C H E C K I N G W I T H P R O M P T C H A I N I N G P R O C E S S
https://it20.info/2023/6/the-dark-zone-between-the-magic-genai-experience-and-the-large-language-model/
Q: What is the biggest clock in the world?
© 2023, Amazon Web Services, Inc. or its affiliates. 30
Why are people talking about things like Agents, Tools, RAG..
LLM
A N E X A M P L E O F T O O L S
You
“what’s the weather like
today in Rome?”
Math function
code
Web search
code
“Calculate <very complex
formula>”
(1a)
(2a)
(1b)
(2b)
© 2023, Amazon Web Services, Inc. or its affiliates. 31
Why are people talking about things like Agents, Tools, RAG..
A N E X A M P L E O F R E A C T ( R E A S O N I N G A N D A C T I N G )
https://arxiv.org/abs/2210.03629
© 2023, Amazon Web Services, Inc. or its affiliates. 32
Why are people talking about things like Agents, Tools, RAG..
LLM
A N E X A M P L E O F R E A C T ( R E A S O N I N G A N D A C T I N G )
You
Iterating
reasoning
code
“Write the solution for
<very complex task>” (1)
(2)
https://arxiv.org/abs/2210.03629
Tool
© 2023, Amazon Web Services, Inc. or its affiliates. 33
Why are people talking about things like Agents, Tools, RAG..
LLM
Vector
DB
A N E X A M P L E O F R A G ( R E T R I E V A L - A U G M E N T E D G E N E R A T I O N )
You
Private corpus of data
embedding
“Write a draft email on <specific
company secret topic>”
(1)
(2)
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
Prompt context Vs. RAG Vs. fine-tuning
34
© 2023, Amazon Web Services, Inc. or its affiliates. 35
Prompt context Vs. RAG Vs. fine-tuning: I am lost
q Fair. There are three ways to increase an LLM answer precision and correctness
1. Provide context in the prompt
2. Augment the LLM with an external source of vectorized data at inference time (RAG)
3. Fine tune the LLM with additional data
q There isn’t a global right or wrong approach. As often happens, it depends
q Also they are not mutually exclusive
q They could (and often should) be used together to achieve optimal results
© 2023, Amazon Web Services, Inc. or its affiliates. 36
q Rate of the change of the data source
q Limits, cost, latency, speed of prompt context tokens
q Cost of fine tuning
q including the work required to “prepare the data”
q Cost of creating and maintaining the vector store
Prompt context Vs. RAG Vs. fine-tuning: when to use what?
© 2023, Amazon Web Services, Inc. or its affiliates. 37
q Complexity of the architecture
q fine tuning may make the architecture easier (with an upfront fine-tuning investment)
q Shape and location of the data source
q Precision of the outcome
q no absolute rules exist, testing may be required
q Personal experience of the team building the solution
q “I have always used RAG and that’s what I am comfortable with”
Prompt context Vs. RAG Vs. fine-tuning: when to use what?
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
Who’s Gen AI for?
38
© 2023, Amazon Web Services, Inc. or its affiliates. 39
Who’s Gen AI for?
q For the developer that is writing code
q e.g. code assistants e.g. AWS CodeWhisperer
q For the developer that wants to use English as a programming language
q e.g. the example of the WhatsApp vocal messages
q For the ops person that does not want to write a SQL query to extract data
q e.g. https://www.honeycomb.io/blog/introducing-query-assistant
© 2023, Amazon Web Services, Inc. or its affiliates. 40
Who’s Gen AI for?
q For the business analyst that wants to create a report off of a spreadsheet
q For the journalist that wants to draft an article on a specific topic
q Etc. etc.
q Come see me later to chat about the story of my plumber impressed by “chat …
chat …. chat something” (true story)
© 2023, Amazon Web Services, Inc. or its affiliates. 41
Conclusions
q Get ready for this new wave. It’s coming and (I think) it’s staying.
q LLMs have moved the needle of the art of possible
q But LLMs alone are not enough. You need to … make LLMs useful.
q Gen AI is for everyone, not just for “builders”. It’s for “consumers” of tech too.
q Go explore! Go build!
© 2023, Amazon Web Services, Inc. or its affiliates.
© 2023, Amazon Web Services, Inc. or its affiliates.
Massimo Re Ferrè
Senior Principal Technologist, AWS
Twitter: @mreferre
E-mail: mreferre@amazon.com
Thanks!

More Related Content

What's hot

Let's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersSteven Van Vaerenbergh
 
Large Language Models Bootcamp
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Naoki (Neo) SATO
 
generative-ai-fundamentals and Large language models
generative-ai-fundamentals and Large language modelsgenerative-ai-fundamentals and Large language models
generative-ai-fundamentals and Large language modelsAdventureWorld5
 
Using Generative AI
Using Generative AIUsing Generative AI
Using Generative AIMark DeLoura
 
Generative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfLiming Zhu
 
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!taozen
 
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfSuresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfAWS Chicago
 
The current state of generative AI
The current state of generative AIThe current state of generative AI
The current state of generative AIBenjaminlapid1
 
Generative AI con Amazon Bedrock.pdf
Generative AI con Amazon Bedrock.pdfGenerative AI con Amazon Bedrock.pdf
Generative AI con Amazon Bedrock.pdfGuido Maria Nebiolo
 
ChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxJesus Rodriguez
 
Generative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdfGenerative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdfSaeed Al Dhaheri
 
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures
 
Responsible AI
Responsible AIResponsible AI
Responsible AINeo4j
 
Large Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdfLarge Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdfDavid Rostcheck
 
ChatGPT Deck.pptx
ChatGPT Deck.pptxChatGPT Deck.pptx
ChatGPT Deck.pptxomornahid1
 
Generative Models and ChatGPT
Generative Models and ChatGPTGenerative Models and ChatGPT
Generative Models and ChatGPTLoic Merckel
 
Generative AI at the edge.pdf
Generative AI at the edge.pdfGenerative AI at the edge.pdf
Generative AI at the edge.pdfQualcomm Research
 

What's hot (20)

Let's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchers
 
Large Language Models Bootcamp
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models Bootcamp
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
 
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
 
generative-ai-fundamentals and Large language models
generative-ai-fundamentals and Large language modelsgenerative-ai-fundamentals and Large language models
generative-ai-fundamentals and Large language models
 
Using Generative AI
Using Generative AIUsing Generative AI
Using Generative AI
 
Generative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
 
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
 
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfSuresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
 
The current state of generative AI
The current state of generative AIThe current state of generative AI
The current state of generative AI
 
Generative AI con Amazon Bedrock.pdf
Generative AI con Amazon Bedrock.pdfGenerative AI con Amazon Bedrock.pdf
Generative AI con Amazon Bedrock.pdf
 
ChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptx
 
Generative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdfGenerative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdf
 
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AI
 
Responsible AI
Responsible AIResponsible AI
Responsible AI
 
Large Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdfLarge Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdf
 
LLMs Bootcamp
LLMs BootcampLLMs Bootcamp
LLMs Bootcamp
 
ChatGPT Deck.pptx
ChatGPT Deck.pptxChatGPT Deck.pptx
ChatGPT Deck.pptx
 
Generative Models and ChatGPT
Generative Models and ChatGPTGenerative Models and ChatGPT
Generative Models and ChatGPT
 
Generative AI at the edge.pdf
Generative AI at the edge.pdfGenerative AI at the edge.pdf
Generative AI at the edge.pdf
 

Similar to Generative AI for the rest of us

AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...Amazon Web Services
 
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...Lisa Roth, PMP
 
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfSviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfAmazon Web Services
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Amazon Web Services
 
Add Intelligence to Applications with AWS AI Services
Add Intelligence to Applications with AWS AI ServicesAdd Intelligence to Applications with AWS AI Services
Add Intelligence to Applications with AWS AI ServicesNicholas Walsh
 
AI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAmazon Web Services
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019AWS Summits
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Amazon Web Services
 
Build Intelligent Apps Using AI Services.pdf
Build Intelligent Apps Using AI Services.pdfBuild Intelligent Apps Using AI Services.pdf
Build Intelligent Apps Using AI Services.pdfAmazon Web Services
 
Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Julien SIMON
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Amazon Web Services
 
Build_Intelligent_Apps_Using_AI_Services.pdf
Build_Intelligent_Apps_Using_AI_Services.pdfBuild_Intelligent_Apps_Using_AI_Services.pdf
Build_Intelligent_Apps_Using_AI_Services.pdfAmazon Web Services
 
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon Web Services
 
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...Amazon Web Services
 
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleBuild-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleAmazon Web Services
 
Meetup Niort Data - AWS Intelligence Artificielle
Meetup Niort Data - AWS Intelligence ArtificielleMeetup Niort Data - AWS Intelligence Artificielle
Meetup Niort Data - AWS Intelligence ArtificielleOlivier Cahagne
 
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017Amazon Web Services
 
Building Intelligent Applications Using AI Services
Building Intelligent Applications Using AI ServicesBuilding Intelligent Applications Using AI Services
Building Intelligent Applications Using AI ServicesAmazon Web Services
 

Similar to Generative AI for the rest of us (20)

AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
 
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...
MongoDB .local London 2019: Using AWS to Transform Customer Data in MongoDB i...
 
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfSviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
 
Add Intelligence to Applications with AWS AI Services
Add Intelligence to Applications with AWS AI ServicesAdd Intelligence to Applications with AWS AI Services
Add Intelligence to Applications with AWS AI Services
 
AI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen Cybersecurity
 
.NET on AWS
.NET on AWS.NET on AWS
.NET on AWS
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
 
Build Intelligent Apps Using AI Services.pdf
Build Intelligent Apps Using AI Services.pdfBuild Intelligent Apps Using AI Services.pdf
Build Intelligent Apps Using AI Services.pdf
 
Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
 
Build_Intelligent_Apps_Using_AI_Services.pdf
Build_Intelligent_Apps_Using_AI_Services.pdfBuild_Intelligent_Apps_Using_AI_Services.pdf
Build_Intelligent_Apps_Using_AI_Services.pdf
 
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
 
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
AWS Summit Singapore 2019 | Building Business Outcomes with Machine Learning ...
 
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleBuild-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
 
Meetup Niort Data - AWS Intelligence Artificielle
Meetup Niort Data - AWS Intelligence ArtificielleMeetup Niort Data - AWS Intelligence Artificielle
Meetup Niort Data - AWS Intelligence Artificielle
 
Machine Learning at the Edge
Machine Learning at the EdgeMachine Learning at the Edge
Machine Learning at the Edge
 
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
 
Building Intelligent Applications Using AI Services
Building Intelligent Applications Using AI ServicesBuilding Intelligent Applications Using AI Services
Building Intelligent Applications Using AI Services
 

More from Massimo Ferre'

IDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdfIDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdfMassimo Ferre'
 
Web Assembly (on the server)
Web Assembly (on the server)Web Assembly (on the server)
Web Assembly (on the server)Massimo Ferre'
 
IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'Massimo Ferre'
 
Codemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet ServerlessCodemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet ServerlessMassimo Ferre'
 
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate Massimo Ferre'
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessMassimo Ferre'
 
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020Massimo Ferre'
 
Breaking the monolith (an example)
Breaking the monolith (an example)Breaking the monolith (an example)
Breaking the monolith (an example)Massimo Ferre'
 
From 0 to Blue-Green deployments on AWS Fargate
From 0 to Blue-Green deployments on AWS Fargate From 0 to Blue-Green deployments on AWS Fargate
From 0 to Blue-Green deployments on AWS Fargate Massimo Ferre'
 
AWS Summit Stockholm - Fargate: deploy containers, not infrastructure
AWS Summit Stockholm - Fargate: deploy containers, not infrastructureAWS Summit Stockholm - Fargate: deploy containers, not infrastructure
AWS Summit Stockholm - Fargate: deploy containers, not infrastructureMassimo Ferre'
 
AWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWSAWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWSMassimo Ferre'
 
Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019 Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019 Massimo Ferre'
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesMassimo Ferre'
 
Containers at AWS: State of the Union
Containers at AWS: State of the Union  Containers at AWS: State of the Union
Containers at AWS: State of the Union Massimo Ferre'
 

More from Massimo Ferre' (14)

IDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdfIDI_2023_MRF-Final.pdf
IDI_2023_MRF-Final.pdf
 
Web Assembly (on the server)
Web Assembly (on the server)Web Assembly (on the server)
Web Assembly (on the server)
 
IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'IDI 2022: Making sense of the '17 ways to run containers on AWS'
IDI 2022: Making sense of the '17 ways to run containers on AWS'
 
Codemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet ServerlessCodemotion 2020 - Containers Meet Serverless
Codemotion 2020 - Containers Meet Serverless
 
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
 
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
Containers Meetup (AWS+CNCF) Milano Jan 15th 2020
 
Breaking the monolith (an example)
Breaking the monolith (an example)Breaking the monolith (an example)
Breaking the monolith (an example)
 
From 0 to Blue-Green deployments on AWS Fargate
From 0 to Blue-Green deployments on AWS Fargate From 0 to Blue-Green deployments on AWS Fargate
From 0 to Blue-Green deployments on AWS Fargate
 
AWS Summit Stockholm - Fargate: deploy containers, not infrastructure
AWS Summit Stockholm - Fargate: deploy containers, not infrastructureAWS Summit Stockholm - Fargate: deploy containers, not infrastructure
AWS Summit Stockholm - Fargate: deploy containers, not infrastructure
 
AWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWSAWS Summit London 2019 - Containers on AWS
AWS Summit London 2019 - Containers on AWS
 
Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019 Meetup CNCF Torino - Amazon EKS March 29th 2019
Meetup CNCF Torino - Amazon EKS March 29th 2019
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
 
Containers at AWS: State of the Union
Containers at AWS: State of the Union  Containers at AWS: State of the Union
Containers at AWS: State of the Union
 

Recently uploaded

Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

Generative AI for the rest of us

  • 1. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. Massimo Re Ferrè Senior Principal Technologist, AWS Generative AI for the rest of us
  • 2. © 2023, Amazon Web Services, Inc. or its affiliates. 2 Mainframes Zooming out a bit Technology wave #1 Data center
  • 3. © 2023, Amazon Web Services, Inc. or its affiliates. 3 Mainframes Zooming out a bit Personal Computers Technology wave #2 Technology wave #1 Data center
  • 4. © 2023, Amazon Web Services, Inc. or its affiliates. 4 Mainframes Zooming out a bit Phyisical Servers Virtual Machines Personal Computers Technology wave #2 Technology wave #1 Data center
  • 5. © 2023, Amazon Web Services, Inc. or its affiliates. 5 Mainframes Zooming out a bit Phyisical Servers Virtual Machines Personal Computers Technology wave #2 Technology wave #1 T e c h n o l o g y d e l i v e r y m o d e l Data center Cloud
  • 6. © 2023, Amazon Web Services, Inc. or its affiliates. 6 Mainframes Zooming out a bit Phyisical Servers Virtual Machines Personal Computers Containers Functions Technology wave #2 Technology wave #1 T e c h n o l o g y d e l i v e r y m o d e l Data center Cloud
  • 7. © 2023, Amazon Web Services, Inc. or its affiliates. 7 Mainframes Zooming out a bit Phyisical Servers Virtual Machines Personal Computers Containers Functions Generative AI Technology wave #3 Technology wave #2 Technology wave #1 T e c h n o l o g y d e l i v e r y m o d e l Data center Cloud
  • 8. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. What is Generative AI? 8
  • 9. © 2023, Amazon Web Services, Inc. or its affiliates. What is Generative AI (in simple terms) 9 - Traditional AI/ML: “Is this a picture of Rome or Florence?” - [ Discriminative ] - Gen AI: “Compare Rome Vs. Florence for someone interested in history” - [ Generative ]
  • 10. © 2023, Amazon Web Services, Inc. or its affiliates. Gen AI “prompt” 10 A T I T S V E R Y C O R E ( T H E L L M - L A R G E L A N G U A G E M O D E L ) , G E N A I I S A F A K E . B U T A U S E F U L O N E submit
  • 11. © 2023, Amazon Web Services, Inc. or its affiliates. This is how I like to think about an LLM 11 * or any profession that has nothing to do with a job in IT for that matter q An LLM is akin to a … windsurfer professional* qVery proficient in English qAnd that had memorized all Wikipedia and all IT forums out there (and a lot more) q They know Stack Overflow inside out! But don’t have a window to check the weather (or a watch to check the time, etc) q On their own, they have no relation to reality (beyond what they read) q But they are great at generating free form content based on what they know “have seen"
  • 12. © 2023, Amazon Web Services, Inc. or its affiliates. Why is Gen AI useful? [ the builder view ] Source of unstructured knowledge How can I use this knowledge and reason about it to create a new asset? An asset being a piece of code, a whole program, a blog, an architecture, a troubleshooting workflow, a db query and more outside of the IT realm (a poem, a picture, a receipt …)
  • 13. © 2023, Amazon Web Services, Inc. or its affiliates. Why is Gen AI useful? [ the builder view ] Read and memorize it all (LOL – yeah sure) (1) Source of unstructured knowledge You
  • 14. © 2023, Amazon Web Services, Inc. or its affiliates. Why is Gen AI useful? [ the builder view ] You Read and memorize it all (LOL – yeah sure) Search engines (possibly not relevant and still hard - you are the integrator and generator of a new asset – text or code) (1) (2) Source of unstructured knowledge asset
  • 15. © 2023, Amazon Web Services, Inc. or its affiliates. Why is Gen AI useful? [ the builder view ] 15 You Read and memorize it all (LOL – yeah sure) LLM Train on it (doable) (1) (2) (3a) Natural language conversation (3b) Source of unstructured knowledge asset asset Search engines (possibly not relevant and still hard - you are the integrator and generator of a new asset – text or code)
  • 16. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. My first Gen AI application 16
  • 17. © 2023, Amazon Web Services, Inc. or its affiliates. Real life use case 17 B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S !!!!
  • 18. © 2023, Amazon Web Services, Inc. or its affiliates. Real life use case – the ClickOps version 18 B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S Audio file Text file LLM Audio to text translation Text summarization Text file
  • 19. © 2023, Amazon Web Services, Inc. or its affiliates. Real life use case – the ClickOps version 19 B A C K G R O U N D : I H A T E W H A T S A P P V O C A L M E S S A G E S Prompt Output (generated asset)
  • 20. © 2023, Amazon Web Services, Inc. or its affiliates. Real life use case – the application version 20 M Y F I R S T ( N O N T U T O R I A L - B A S E D H E L L O - W O R L D ) G E N E R A T I V E A I A P P L I C A T I O N
  • 21. © 2023, Amazon Web Services, Inc. or its affiliates. 21 Real life use case – the application version L A M B D A C A L L S A N E X T E R N A L L L M S E R V I C E https://it20.info/2023/08/building-a-generative-ai-application-using-aws-step-functions/
  • 22. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. Making LLMs useful 22
  • 23. © 2023, Amazon Web Services, Inc. or its affiliates. 23 Why are people talking about things like Agents, Tools, RAG.. q The LLM is just one (fundamental) component of Generative AI q The LLM could hallucinate, don’t have knowledge of recent / private / live information, can’t do advanced math, may have limited reasoning capabilities, etc. q You need something to complement its capabilities and guide/help it q Especially for “real” business use cases that go beyond “toying around”
  • 24. © 2023, Amazon Web Services, Inc. or its affiliates. 24 Why are people talking about things like Agents, Tools, RAG.. T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S ) Developing code Debugging code Living life Deploying code Domains Writing a novel Organizing travels
  • 25. © 2023, Amazon Web Services, Inc. or its affiliates. 25 Why are people talking about things like Agents, Tools, RAG.. T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S ) Developing code Debugging code Deploying code Domains Autocomplete a function method Build a new ERP from scratch Resolve an error message Rearchitect the app to avoid this error at scale Suggest what I could do today Organize my whole life for the next 10 years Level of abstraction Simple task Complex task Writing a novel Living life Organizing travels Tell me how long it takes driving from Florence to Rome Plan in details all my 1-year long sabbatical
  • 26. © 2023, Amazon Web Services, Inc. or its affiliates. 26 Why are people talking about things like Agents, Tools, RAG.. T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S ) Domains Level of abstraction Simple task Complex task Progressive complexity Completion Chat Reasoning Acting à à à coverage Domain A function of the corpus data
  • 27. © 2023, Amazon Web Services, Inc. or its affiliates. 27 Why are people talking about things like Agents, Tools, RAG.. T H E R E ’ R E T W O D I M E N S I O N S T H E L L M O P E R A T E S I N ( L E V E L O F A B S T R A C T I O N A N D D O M A I N S ) Domains Level of abstraction Simple task Complex task Large Language model Smaller purpose built/tuned model Models may need to be helped / guided to achieve goals where task complexity is too high or simply for missing domain knowledge
  • 28. © 2023, Amazon Web Services, Inc. or its affiliates. 28 Why are people talking about things like Agents, Tools, RAG.. A N E X A M P L E O F C O T ( C H A I N O F T H O U G H T S ) https://arxiv.org/abs/2201.11903 But sometimes in-prompt Chain of Thoughts (CoT) isn’t enough for the LLM to reason properly W elcom e to the m agic world of “prom pt engineering”
  • 29. © 2023, Amazon Web Services, Inc. or its affiliates. 29 Why are people talking about things like Agents, Tools, RAG.. A N E X A M P L E O F T H E F A C T C H E C K I N G W I T H P R O M P T C H A I N I N G P R O C E S S https://it20.info/2023/6/the-dark-zone-between-the-magic-genai-experience-and-the-large-language-model/ Q: What is the biggest clock in the world?
  • 30. © 2023, Amazon Web Services, Inc. or its affiliates. 30 Why are people talking about things like Agents, Tools, RAG.. LLM A N E X A M P L E O F T O O L S You “what’s the weather like today in Rome?” Math function code Web search code “Calculate <very complex formula>” (1a) (2a) (1b) (2b)
  • 31. © 2023, Amazon Web Services, Inc. or its affiliates. 31 Why are people talking about things like Agents, Tools, RAG.. A N E X A M P L E O F R E A C T ( R E A S O N I N G A N D A C T I N G ) https://arxiv.org/abs/2210.03629
  • 32. © 2023, Amazon Web Services, Inc. or its affiliates. 32 Why are people talking about things like Agents, Tools, RAG.. LLM A N E X A M P L E O F R E A C T ( R E A S O N I N G A N D A C T I N G ) You Iterating reasoning code “Write the solution for <very complex task>” (1) (2) https://arxiv.org/abs/2210.03629 Tool
  • 33. © 2023, Amazon Web Services, Inc. or its affiliates. 33 Why are people talking about things like Agents, Tools, RAG.. LLM Vector DB A N E X A M P L E O F R A G ( R E T R I E V A L - A U G M E N T E D G E N E R A T I O N ) You Private corpus of data embedding “Write a draft email on <specific company secret topic>” (1) (2)
  • 34. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. Prompt context Vs. RAG Vs. fine-tuning 34
  • 35. © 2023, Amazon Web Services, Inc. or its affiliates. 35 Prompt context Vs. RAG Vs. fine-tuning: I am lost q Fair. There are three ways to increase an LLM answer precision and correctness 1. Provide context in the prompt 2. Augment the LLM with an external source of vectorized data at inference time (RAG) 3. Fine tune the LLM with additional data q There isn’t a global right or wrong approach. As often happens, it depends q Also they are not mutually exclusive q They could (and often should) be used together to achieve optimal results
  • 36. © 2023, Amazon Web Services, Inc. or its affiliates. 36 q Rate of the change of the data source q Limits, cost, latency, speed of prompt context tokens q Cost of fine tuning q including the work required to “prepare the data” q Cost of creating and maintaining the vector store Prompt context Vs. RAG Vs. fine-tuning: when to use what?
  • 37. © 2023, Amazon Web Services, Inc. or its affiliates. 37 q Complexity of the architecture q fine tuning may make the architecture easier (with an upfront fine-tuning investment) q Shape and location of the data source q Precision of the outcome q no absolute rules exist, testing may be required q Personal experience of the team building the solution q “I have always used RAG and that’s what I am comfortable with” Prompt context Vs. RAG Vs. fine-tuning: when to use what?
  • 38. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. Who’s Gen AI for? 38
  • 39. © 2023, Amazon Web Services, Inc. or its affiliates. 39 Who’s Gen AI for? q For the developer that is writing code q e.g. code assistants e.g. AWS CodeWhisperer q For the developer that wants to use English as a programming language q e.g. the example of the WhatsApp vocal messages q For the ops person that does not want to write a SQL query to extract data q e.g. https://www.honeycomb.io/blog/introducing-query-assistant
  • 40. © 2023, Amazon Web Services, Inc. or its affiliates. 40 Who’s Gen AI for? q For the business analyst that wants to create a report off of a spreadsheet q For the journalist that wants to draft an article on a specific topic q Etc. etc. q Come see me later to chat about the story of my plumber impressed by “chat … chat …. chat something” (true story)
  • 41. © 2023, Amazon Web Services, Inc. or its affiliates. 41 Conclusions q Get ready for this new wave. It’s coming and (I think) it’s staying. q LLMs have moved the needle of the art of possible q But LLMs alone are not enough. You need to … make LLMs useful. q Gen AI is for everyone, not just for “builders”. It’s for “consumers” of tech too. q Go explore! Go build!
  • 42. © 2023, Amazon Web Services, Inc. or its affiliates. © 2023, Amazon Web Services, Inc. or its affiliates. Massimo Re Ferrè Senior Principal Technologist, AWS Twitter: @mreferre E-mail: mreferre@amazon.com Thanks!