Weitere ähnliche Inhalte Ähnlich wie Build Intelligent Apps Using AI Services (20) Mehr von Amazon Web Services (20) Build Intelligent Apps Using AI Services1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STEVEN BRYEN | AWS TECHNICAL & DEVELOPER EVANGELISM | @steven_bryen
sbryen@amazon.com
LONDON – MARCH 2019
AML1
Build Intelligent Apps using AI Services
2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Put machine learning in the
hands of every developer
Our mission at
3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Our Approach for Machine Learning
Customer-focused
90%+ of our ML roadmap is
defined by customers
Multi-framework
Support for the most
popular frameworks
Pace of innovation
200+ new ML launches and major
feature updates in the
last year
Breadth and depth
A wide range of AI and ML services in-
production
Security and analytics
Deep set of security and
encryption features, with robust
analytics capabilities
Embedded R&D
Customer-centric approach to
advancing the state of the art
4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
M L F R A M E W O R K S &
I N F R A S T R U C T U R E
The Amazon ML Stack: Broadest & Deepest Set of Capabilities
A I S E R V I C E S
R E K O G N I T I O N
I M A G E
P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D
& C O M P R E H E N D
M E D I C A L
L E XR E K O G N I T I O N
V I D E O
Vision Speech Chatbots
A M A Z O N
S A G E M A K E R
B U I L D T R A I N
F O R E C A S TT E X T R A C T P E R S O N A L I Z E
D E P L O Y
Pre-built algorithms & notebooks
Data labeling (G R O U N D T R U T H )
One-click model training & tuning
Optimization (N E O )
One-click deployment & hosting
M L S E R V I C E S
F r a m e w o r k s I n t e r f a c e s I n f r a s t r u c t u r e
E C 2 P 3
& P 3 d n
E C 2 C 5 F P G A s G R E E N G R A S S E L A S T I C
I N F E R E N C E
Reinforcement learningAlgorithms & models ( A W S M A R K E T P L A C E
F O R M A C H I N E L E A R N I N G )
Language Forecasting Recommendations
5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AI Services
Pre-trained AI services that require
no ML skills or training
Easily add intelligence to your
existing apps and workflows
Quality and accuracy from
continuously-learning APIs
A I S E R V I C E S
R E K O G N I T I O N
I M A G E
P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D
& C O M P R E H E N D
M E D I C A L
L E XR E K O G N I T I O N
V I D E O
Vision Speech Chatbots
F O R E C A S TT E X T R A C T P E R S O N A L I Z E
Language Forecasting Recommendations
6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Audio Input
Example: End-to-end audio analysis
store
Amazon S3
trigger
AWS
Lambda
call
Amazon
Transcribe
in cascade
Amazon
Comprehend
aggregate
Amazon
Athena
analyze
Amazon
QuickSight
7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Example: Media analysis solution
S3:
Web UI
aws.amazon.com/answers/media-entertainment/media-analysis-solution/
S3:
Media storage
Step Functions:
Orchestrate
analysis
Elasticsearch:
Search index
Amazon Rekognition Video:
Detect objects, scenes,
faces, & celebrities
AWS Elemental MediaConvert:
Transcode videos
Transcribe Comprehend
Lambda
API Gateway:
REST API
Lambda
8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Rekognition – Image and Video Analysis
10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Optical Character Recognition (OCR)
13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Textract – OCR++
14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Textract – How it works
15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex
A service for building conversational interfaces into your
applications using voice and text
17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Features
Text and speech language understanding: powered by
the same technology as Amazon Alexa
Deployment to chat services
(Web/Mobile Apps, Facebook, Kik, Slack, Twilio SMS)
Designed for builders: efficient and intuitive tools to
build conversations; scales automatically
Versioning and alias support@
18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex Bots – key concepts
Utterances
Spoken or typed phrases that invoke
your intent
BookHotel
Intents
An intent performs an action in response
to natural language user input
Slots
Slots are input data required to fulfill
the intent
Fulfillment
Fulfillment mechanism for your intent
19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Book a hotel”
Book hotel
NYC
“Book a hotel in
NYC”
Automatic speech recognition
Hotel booking
New York City
Natural language
understanding
Intent/slot
Model
UtterancesHotel Booking
City New York City
Check in Nov 30th
Check out Dec 2nd
“Your hotel is booked for Nov
30th”
Amazon Polly
Confirmation: “Your hotel is
booked for Nov 30th”
“Can I go ahead
with the booking?
a
in
20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Utterances
I’d like to book a hotel
I want to make my hotel
reservations
I want to book a hotel in New
York City
Can you help me book my hotel?
21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Slots
Destination City New York City, Seattle, London …
Slot Type Values
Check in Date Valid dates
Check out Date Valid dates
22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Slot elicitation
I’d like to book a hotel
What date do you check in?
New York City
Sure, what city do you want to book?
Nov 30th Check in
11/30/2017
City
New York City
23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Connect
Self-service, cloud-based contact center service
Real time and
historical analytics
High-quality
voice capability
Call
recording
Skills-based routing
[Automatic Call Distribution (ACD)]
24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Intelligent call center chatbot
Amazon
Connect
Customer
Amazon Lex Lambda:
Fulfillment
DynamoDB:
Customer Data
SNS:
SMS Messaging
Customer calls
Connect to
reschedule an
appointment
Connect calls
Lex chatbot
Lex chatbot calls
Lambda function
to get customer
preferences and
fulfil Intents
Lambda function
sends text message
confirmation via SNS
Customer receives
appointment
confirmation text
message
Lambda
function
writes updates
to DynamoDB
25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Turn text into lifelike speech using deep learning
28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Polly
• Content creation
• Mobile & desktop applications
• Internet of Things (IoT)
• Education & e-learning
• Telephony
• Game development
Use cases
• 58 voices across 28 languages
• Lip-syncing & text highlighting
• Fine-grained voice control
• Custom vocabularies
• Available in 18 AWS Regions
Key features
29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Polly
“Hi, my name is
Steve…”
Text-to-speech (TTS)
30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Synthesize Speech API
$ aws polly synthesize-speech
--text "hello"
--voice-id Matthew
--output-format mp3
[--lexicon-names mylex1 mylex2]
output.mp3
{
"ContentType": "audio/mpeg",
"RequestCharacters": "11"
}
31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“With Amazon Polly our users benefit from
the most lifelike Text-to-Speech voices
available on the market.”
Severin Hacker
CTO, Duolingo
32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Turn speech into text
33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Hello, this is Allan
speaking”
Amazon
Transcribe
Speech-to-text (STT)
34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
English
Italian
French
Spanish
Portuguese
Supported languages *
* more languages coming soon!
35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ringDNA
End-to-end communications platform for
sales teams
Enterprise organizations use RingDNA to
dramatically increase productivity, engage
in smarter sales conversations, gain
predictive sales insights and improve their
win rate
Speech to Text
"A critical component of RingDNA’s Conversation AI
requires best of breed speech-to-text to deliver
transcriptions of every phone call. RingDNA is
excited about Amazon Transcribe since it
provides high-quality speech recognition at scale,
helping us to better transcribe every call to text "
Howard Brown, CEO & Founder, RingDNA
https://www.youtube.com/watch?v=1ZJ_f1bDdog
36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do you extract insights from
unstructured text?
38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Comprehend
A fully managed and continuously trained service that helps you
extract insights from unstructured text
39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Comprehend
Sentiment Entities LanguagesKeyphrases
Topic
modeling
Syntax
40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Comprehend – Natural Language Processing
Amazon.com, Inc. is located in Seattle, WA
and was founded July 5, 1994 by Jeff
Bezos. Our customers love buying
everything from books to blenders at
great prices
Named Entities
Amazon.com: Organization
Seattle, WA : Location
July 5th,1994: Date
Jeff Bezos : Person
Keyphrases
Our customers
books
blenders
great prices
Sentiment
Positive
Language
English
41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Comprehend – Syntax API
Our customers love buying everything
from books to blenders at great prices
Token
(word)
Part of
Speech
customers Noun
love Verb
books Noun
great Adjective
prices Noun
42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Supported parts of speech
ADJ – Adjective
ADP – Adposition
ADV – Adverb
AUX – Auxiliary
CCONJ – Coordinating Conjunction
DET – Determiner
INTJ - Interjection
NOUN - Noun
NUM – Numeral
O – Other
PART – Particle
PRON – Pronoun
PROPN – Proper Noun
PUNCT – Punctuation
SCONJ – Subordinating
Conjunction
SYM – Symbol
VERB – Verb
43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Syntax detection
$ aws comprehend detect-syntax
--language-code 'en' --text 'I love cloud!’
{
"SyntaxTokens": [
{
"TokenId": 1,
"Text": "I",
"BeginOffset": 0,
"EndOffset": 1,
"PartOfSpeech": {
"Tag": "PRON",
"Score": 0.9999802112579346
}
},
...
44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sentiment Analysis
$ aws comprehend detect-sentiment
--language-code 'en' --text 'I love cloud!’
{
"Sentiment": "POSITIVE”,
"SentimentScore": {
"Mixed": 0.012617903761565685,
"Positive": 0.9599817991256714,
"Neutral": 0.021758323535323143,
"Negative": 0.005641999188810587
}
}
45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Popular text analytics use cases
Content Personalization
• Understand related documents based on entities, phrases or even topic similarities for trends
analysis, to drive content personalization and recommendations
Semantic Search
• Index entities for boosting and ranking search results
Intelligent data warehouse
• Query unstructured data in relational databases, processing data within the data lake (Amazon S3)
and then inserting it back into the data warehouse
Social Analytics
• Ingest, process and analyze trends from entities and sentiment from social media posts across
Twitter and Facebook
46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Support for large data sets and topic modeling
STORM
WORLD SERIES
STOCK MARKET
WASHINGTON
LIBRARY OF
NEW S AR TICLES *
Amazon
Comprehend
47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Extract information from unstructured medical text accurately and quickly
No machine learning experience required
Amazon Comprehend
Medical
48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Yes, natural language translation J
49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Supported languages *
Arabic
Simplified Chinese
French
German
Spanish
Portuguese
Japanese
Traditional Chinese
Italian
Russian
Turkish
Czech
* 417 translation combinations
Danish
Dutch
Finnish
Swedish
Polish
Hebrew
50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
«We operate 90 localized websites in 41
languages. (…)
Having evaluated Amazon Translate
and several other solutions, we believe
that Amazon Translate presents a quick,
efficient and most importantly, accurate
solution. »
Matt Fryer, VP and Chief Data Science Officer, Hotels.com
51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STEVEN BRYEN | AWS TECHNICAL & DEVELOPER EVANGELISM | @steven_bryen
sbryen@amazon.com
LONDON – MARCH 2019
Thank You!