SlideShare uma empresa Scribd logo
1 de 38
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enhance customer experience with
Conversational Interfaces
Johan Esbjörner
Technical Lead HQV CCOE
Husqvarna
@taraw
Tara E. Walker
Sr. Technical Evangelist
Amazon Web Services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
 The What & Why of Conversational Interfaces
 Ins and Outs of Amazon Lex
 Putting Conversational Interfaces to Work: Husqvarna Group
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What & Why of Conversational
Interfaces
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“What we need now is to be able to simply talk with our
devices. That's why I believe it's finally time for the
conversational user interface, or "CUI."
This is the interface of the future, made even more
necessary as computing propagates beyond laptops,
tablets and smartphones to cars, thermostats, home
appliances,and now even watches ... and glasses.”
~ Ron Kaplan (via WIRED magazine), Lead-Nuance Communications' NLU R&D
Lab, Professor of Linguistics at Stanford University, former CTO of Powerset
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why Conversational Interface Access
On-demand
Accessible
Efficient
Natural
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Developer challenges
Conversational interfaces need to combine a large number of
sophisticated algorithms and technologies
Speech
recognition Language
understanding
Business logic
Disparate
systems
Authentication
Messaging
platforms
Scale Testing
Security
Availability
Mobile
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Considerations when building Conversation Interfaces
• Understand the conversation flow
• What information do you need from the conversation
• What is the intent/goal of the conversation
• Validate your input
• Handle errors gracefully
• Add clarification prompts if required
• Test, test and more testing
• Understand Metrics after your bot or conversational
interface is deployed in production
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Alexa, What Is Amazon Lex?”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Text and speech language understanding: powered by the
same technology as Alexa
Enterprise Ready: connect to enterprise systems via SaaS
connectors; Versioning and alias support
Build once and deploy to multiple platforms
Designed for builders: efficient and intuitive tools to build
conversations; Scales automatically
Amazon Lex - Overview
Continuous Learning: monitor and improve your bot
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Hello Amazon Lex
Amazon Lex
Graphical User
Interface
Conversational
Interface
Built-In Integration
with Slack, Messenger, & Twilio
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Text and speech language understanding
Speech
recognition
Natural language
understanding
Powered by the same deep learning technology as Alexa
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Multi-platform
Mobile
Messaging
Platforms Web IoT
SDKs: iOS & Android
Mobile Hub
Facebook, Twilio
SMS and Slack
SDKs: Java, JavaScript, Python,
CLI, .NET, Ruby on Rails,
PHP, Go
Integrated with AWS
IoT via AWS Lambda
Build once and deploy to multiple platforms
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Technology
Amazon Lex
Automatic Speech
Recognition (ASR)
Natural Language
Understanding (NLU)
Same technology that powers Alexa
Amazon Cognito CloudTrail CloudWatch
AWS Services
Action
AWS Lambda
Authentication &
Monitoring
Speech
API
Language
API
Fulfillment
End Users
Developers
Console
SDK
Intents,
Slots,
Prompts,
Utterances
Input:
Speech
or Text
Multi-Platform Clients:
Mobile, IoT,
Web, Chat
API
Output:
Speech (via Amazon Polly TTS)
or Text
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – 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
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Example: “Book a hotel”
Book Hotel
Stockholm
“Book a Hotel in
Stockholm”
Automatic Speech
Recognition
Hotel Booking
Stockholm
Natural Language
Understanding
Intent/Slot
Model
UtterancesHotel Booking
City Stockholm
Check In May 14th
Check Out May 16th
“Your hotel is booked for
May 14th”
Amazon Polly
Confirmation: “Your hotel
is booked for May 14th”
“Can I go ahead
with the booking?
a
in
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Slot elicitation
Check In
5/14/2018
City
Stockholm
I would like to book a hotel
Sure, which city will you
be traveling to?
Stockholm
What date do you want to
check in?
May 14th
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Dialog management
I would like to book a hotel
Sure, which city will you
be traveling to?
Stockholm
What date do you want to
check in?
Tomorrow
… And for how many
nights is this for?
City
Simple Declarative Model
Check-In Date
Check-Out Date
Slots
Which city will you be traveling to?
What date do you want to check in?
How many nights is this for?
Prompts
Build Multi-turn Conversations
Easy Setup in Console
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Customize conversations
I would like to book a hotel
Would you prefer to stay in
Downtown this time as well?
Yes
What date do you want to
check in?
May 14th
Sorry no availability. Would
a different location work?
Personalize conversation
based on user preferences
Validate user input and
re-prompt as necessary
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Error handling
I want to …. {garbled} …..
Sorry can you please
repeat that?
I am having trouble understanding
Can you please say that again?
Sorry I am not able to
assist you at this time
Clarify by requesting user
to repeat
Uses a different
prompt every time
Hang up phrase to end the
conversation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Conversation context
Slot ValuesIntents Prompts ConfirmationsSession
Attributes
Slot Value
Slot Value
Conversation
Yes/No
Session
Attributes
Intent
Prompt
Lex maintains context by storing data throughout the conversation
Confirm
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Dynamic conversation flow
Conversation
Session
Attributes
Second Intent
Switch Intents
First Intent
Session
Attributes
Conversation
Chain Intents
Takeout
Dine In
Dine In or
Take out?
Anything else
today?
Book a Car
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Versioning and Alias support
AliasVersioning
• Supported for intents, slots,
and bots
• Enables multideveloper
environment
• Rollback to previous
versions
• Deploy different aliases to different
platforms
• Run different stacks for dev, stage and prod
environments
• Target different user groups with
different aliases
v1 v2 v3 latest
v1 Dev
v2 Stage
v3 Prod
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Fulfillment & Response
AWS Lambda integration Return to Client
User input parsed to derive
intents and slot values.
Output returned to client for
further processing.
Intents and slots passed to
AWS Lambda function for
business logic
implementation.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Deployment Cycle
Save Build
Saving your bot
preserves the current
state on the server
Building your bot
creates versions that
you can test
Publish
Publishing your app will create a
version of your bot and provide an
alias to your clients
Test
Test your bot in a
chat window on the
console
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex – Export to Alexa Skill
Amazon Lex
Chatbot schema
(JSON)
Alexa Skill
Export to Alexa
Skills Format
Import into Alexa
Skill Builder
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lex
Demo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting Conversational Interfaces to Work
Husqvarna Group
Johan Esbjörner
Integrating the
Husqvarna Automower
into the smart home
Market leadership – over 20 years of
innovation
Key robotic milestones
Connect Gen2
Automower Automower
Connect
Gen1
Solar
Mower
310, 315 450X
Generation 0 Generation 1
1995 1998 2003 2015
The Original
We created the
Robotic Mower
market
>1
million
20182011
Generation 2 Generation 3
Connect Gen3
PRO
2007
230ACX 260ACX 305
Automower evolution from product to a system of
systems
Selected
3-party
systems
Automower smart home integrations
•Alexa & Google support, 2018 Q3 / Q4
– Basic features, start, stop, park & status.
– Will evolve based on what our customers requests
•Open API, 2018 Q4 / 2019 Q1
– API access for all developers
Alexa & Google architecture
Alexa skill deployment pipeline
1. A launched skill is locked for editing and a new
development version of the skill is created automatically.
Things to consider when deploying an
Alexa Skill
Same ARN is used in both Skills!
Things to consider when deploying an
Alexa Skill
3. Alexa Skills Kit CLI requires manual intervention for authorization
store ~/.ask/cli_config securely for reuse in docker etc.
2. Changes to a non versioned lambda function will affect the
live skill
orunless
Separate environments Lambda versioning & aliases
is used
www.husqvarnagroup.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Learn More @
https://aws.amazon.com/lex
Build your first bot!
✔
✔
✔
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank You!
Tara E. Walker
Sr. Technical Evangelist
Amazon Web Services
@taraw

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Iterating Towards a Cloud-Enabled IT Organization (ENT204-R2) - AWS re:Invent...
Iterating Towards a Cloud-Enabled IT Organization (ENT204-R2) - AWS re:Invent...Iterating Towards a Cloud-Enabled IT Organization (ENT204-R2) - AWS re:Invent...
Iterating Towards a Cloud-Enabled IT Organization (ENT204-R2) - AWS re:Invent...
 
Aws Tools for Alexa Skills
Aws Tools for Alexa SkillsAws Tools for Alexa Skills
Aws Tools for Alexa Skills
 
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
 
Creating a Machine Learning Factory
Creating a Machine Learning FactoryCreating a Machine Learning Factory
Creating a Machine Learning Factory
 
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
 
BDA304 Build Deep Learning Applications with TensorFlow and Amazon SageMaker
BDA304 Build Deep Learning Applications with TensorFlow and Amazon SageMakerBDA304 Build Deep Learning Applications with TensorFlow and Amazon SageMaker
BDA304 Build Deep Learning Applications with TensorFlow and Amazon SageMaker
 
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
 
Exploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and UtilitiesExploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and Utilities
 
Join HPE to Learn How to Keep Your Career Relevant and Not Be Automated out o...
Join HPE to Learn How to Keep Your Career Relevant and Not Be Automated out o...Join HPE to Learn How to Keep Your Career Relevant and Not Be Automated out o...
Join HPE to Learn How to Keep Your Career Relevant and Not Be Automated out o...
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
 
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
 
Build Your Own Royal Wedding Celebrity Viewing Experience (CTD401) - AWS re:I...
Build Your Own Royal Wedding Celebrity Viewing Experience (CTD401) - AWS re:I...Build Your Own Royal Wedding Celebrity Viewing Experience (CTD401) - AWS re:I...
Build Your Own Royal Wedding Celebrity Viewing Experience (CTD401) - AWS re:I...
 
The Future of Enterprise IT
The Future of Enterprise IT The Future of Enterprise IT
The Future of Enterprise IT
 
Digital Transformation: Leveraging AWS as a Launchpad (CMP205-S) - AWS re:Inv...
Digital Transformation: Leveraging AWS as a Launchpad (CMP205-S) - AWS re:Inv...Digital Transformation: Leveraging AWS as a Launchpad (CMP205-S) - AWS re:Inv...
Digital Transformation: Leveraging AWS as a Launchpad (CMP205-S) - AWS re:Inv...
 
SRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon SumerianSRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
 
Leadership Session: Cloud Adoption and the Future of Financial Services (FSV2...
Leadership Session: Cloud Adoption and the Future of Financial Services (FSV2...Leadership Session: Cloud Adoption and the Future of Financial Services (FSV2...
Leadership Session: Cloud Adoption and the Future of Financial Services (FSV2...
 
Machine Learning for innovation and transformation
Machine Learning for innovation and transformationMachine Learning for innovation and transformation
Machine Learning for innovation and transformation
 
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
 
Innovating SAP the Easy Way – Migrate it to AWS
Innovating SAP the Easy Way – Migrate it to AWSInnovating SAP the Easy Way – Migrate it to AWS
Innovating SAP the Easy Way – Migrate it to AWS
 
Breaking the Ice: Transform Cold Archival Data into Fresh Insights (STG355) -...
Breaking the Ice: Transform Cold Archival Data into Fresh Insights (STG355) -...Breaking the Ice: Transform Cold Archival Data into Fresh Insights (STG355) -...
Breaking the Ice: Transform Cold Archival Data into Fresh Insights (STG355) -...
 

Semelhante a Enhance customer experience with Conversational Interfaces

AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
Amazon Web Services Korea
 

Semelhante a Enhance customer experience with Conversational Interfaces (20)

Building your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew WebinarBuilding your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew Webinar
 
Lex and connect
Lex and connectLex and connect
Lex and connect
 
AI Powered Conversational Interfaces
AI Powered Conversational InterfacesAI Powered Conversational Interfaces
AI Powered Conversational Interfaces
 
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
 
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
 
以 AWS 上的人工智能及數據平台開拓未來
以 AWS 上的人工智能及數據平台開拓未來以 AWS 上的人工智能及數據平台開拓未來
以 AWS 上的人工智能及數據平台開拓未來
 
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisionsai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions
 
AWS Webinar - Learn how and why to build conversational chatbots
AWS Webinar - Learn how and why to build conversational chatbots AWS Webinar - Learn how and why to build conversational chatbots
AWS Webinar - Learn how and why to build conversational chatbots
 
Build Smarter Enterprise Apps with AI, AR & VR on AWS
Build Smarter Enterprise Apps with AI, AR & VR on AWSBuild Smarter Enterprise Apps with AI, AR & VR on AWS
Build Smarter Enterprise Apps with AI, AR & VR on AWS
 
Build Intelligent Apps Using AI Services
Build Intelligent Apps Using AI ServicesBuild Intelligent Apps Using AI Services
Build Intelligent Apps Using AI Services
 
Build Intelligent Apps with Amazon ML
Build Intelligent Apps with Amazon ML Build Intelligent Apps with Amazon ML
Build Intelligent Apps with Amazon ML
 
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
 
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
 
人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)
 
BDA302 Building Intelligent Apps with AWS Machine Learning Language Services
BDA302 Building Intelligent Apps with AWS Machine Learning Language ServicesBDA302 Building Intelligent Apps with AWS Machine Learning Language Services
BDA302 Building Intelligent Apps with AWS Machine Learning Language Services
 
AI Today
AI TodayAI Today
AI Today
 
AWS AI state of the union - AWS Cape Town Summit 2018
AWS AI state of the union - AWS Cape Town Summit 2018AWS AI state of the union - AWS Cape Town Summit 2018
AWS AI state of the union - AWS Cape Town Summit 2018
 
Automate for Efficiency with Amazon Transcribe and Amazon Translate
Automate for Efficiency with Amazon Transcribe and Amazon TranslateAutomate for Efficiency with Amazon Transcribe and Amazon Translate
Automate for Efficiency with Amazon Transcribe and Amazon Translate
 
Improving Customer Experience: Enhanced Customer Insights Using Natural Langu...
Improving Customer Experience: Enhanced Customer Insights Using Natural Langu...Improving Customer Experience: Enhanced Customer Insights Using Natural Langu...
Improving Customer Experience: Enhanced Customer Insights Using Natural Langu...
 
Add Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML ServicesAdd Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML Services
 

Mais de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Enhance customer experience with Conversational Interfaces

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enhance customer experience with Conversational Interfaces Johan Esbjörner Technical Lead HQV CCOE Husqvarna @taraw Tara E. Walker Sr. Technical Evangelist Amazon Web Services
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda  The What & Why of Conversational Interfaces  Ins and Outs of Amazon Lex  Putting Conversational Interfaces to Work: Husqvarna Group
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What & Why of Conversational Interfaces
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “What we need now is to be able to simply talk with our devices. That's why I believe it's finally time for the conversational user interface, or "CUI." This is the interface of the future, made even more necessary as computing propagates beyond laptops, tablets and smartphones to cars, thermostats, home appliances,and now even watches ... and glasses.” ~ Ron Kaplan (via WIRED magazine), Lead-Nuance Communications' NLU R&D Lab, Professor of Linguistics at Stanford University, former CTO of Powerset
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why Conversational Interface Access On-demand Accessible Efficient Natural
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Developer challenges Conversational interfaces need to combine a large number of sophisticated algorithms and technologies Speech recognition Language understanding Business logic Disparate systems Authentication Messaging platforms Scale Testing Security Availability Mobile
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Considerations when building Conversation Interfaces • Understand the conversation flow • What information do you need from the conversation • What is the intent/goal of the conversation • Validate your input • Handle errors gracefully • Add clarification prompts if required • Test, test and more testing • Understand Metrics after your bot or conversational interface is deployed in production
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “Alexa, What Is Amazon Lex?”
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Text and speech language understanding: powered by the same technology as Alexa Enterprise Ready: connect to enterprise systems via SaaS connectors; Versioning and alias support Build once and deploy to multiple platforms Designed for builders: efficient and intuitive tools to build conversations; Scales automatically Amazon Lex - Overview Continuous Learning: monitor and improve your bot
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hello Amazon Lex Amazon Lex Graphical User Interface Conversational Interface Built-In Integration with Slack, Messenger, & Twilio
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Text and speech language understanding Speech recognition Natural language understanding Powered by the same deep learning technology as Alexa
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Multi-platform Mobile Messaging Platforms Web IoT SDKs: iOS & Android Mobile Hub Facebook, Twilio SMS and Slack SDKs: Java, JavaScript, Python, CLI, .NET, Ruby on Rails, PHP, Go Integrated with AWS IoT via AWS Lambda Build once and deploy to multiple platforms
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Technology Amazon Lex Automatic Speech Recognition (ASR) Natural Language Understanding (NLU) Same technology that powers Alexa Amazon Cognito CloudTrail CloudWatch AWS Services Action AWS Lambda Authentication & Monitoring Speech API Language API Fulfillment End Users Developers Console SDK Intents, Slots, Prompts, Utterances Input: Speech or Text Multi-Platform Clients: Mobile, IoT, Web, Chat API Output: Speech (via Amazon Polly TTS) or Text
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – 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
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Example: “Book a hotel” Book Hotel Stockholm “Book a Hotel in Stockholm” Automatic Speech Recognition Hotel Booking Stockholm Natural Language Understanding Intent/Slot Model UtterancesHotel Booking City Stockholm Check In May 14th Check Out May 16th “Your hotel is booked for May 14th” Amazon Polly Confirmation: “Your hotel is booked for May 14th” “Can I go ahead with the booking? a in
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Slot elicitation Check In 5/14/2018 City Stockholm I would like to book a hotel Sure, which city will you be traveling to? Stockholm What date do you want to check in? May 14th
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Dialog management I would like to book a hotel Sure, which city will you be traveling to? Stockholm What date do you want to check in? Tomorrow … And for how many nights is this for? City Simple Declarative Model Check-In Date Check-Out Date Slots Which city will you be traveling to? What date do you want to check in? How many nights is this for? Prompts Build Multi-turn Conversations Easy Setup in Console
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Customize conversations I would like to book a hotel Would you prefer to stay in Downtown this time as well? Yes What date do you want to check in? May 14th Sorry no availability. Would a different location work? Personalize conversation based on user preferences Validate user input and re-prompt as necessary
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Error handling I want to …. {garbled} ….. Sorry can you please repeat that? I am having trouble understanding Can you please say that again? Sorry I am not able to assist you at this time Clarify by requesting user to repeat Uses a different prompt every time Hang up phrase to end the conversation
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Conversation context Slot ValuesIntents Prompts ConfirmationsSession Attributes Slot Value Slot Value Conversation Yes/No Session Attributes Intent Prompt Lex maintains context by storing data throughout the conversation Confirm
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Dynamic conversation flow Conversation Session Attributes Second Intent Switch Intents First Intent Session Attributes Conversation Chain Intents Takeout Dine In Dine In or Take out? Anything else today? Book a Car
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Versioning and Alias support AliasVersioning • Supported for intents, slots, and bots • Enables multideveloper environment • Rollback to previous versions • Deploy different aliases to different platforms • Run different stacks for dev, stage and prod environments • Target different user groups with different aliases v1 v2 v3 latest v1 Dev v2 Stage v3 Prod
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Fulfillment & Response AWS Lambda integration Return to Client User input parsed to derive intents and slot values. Output returned to client for further processing. Intents and slots passed to AWS Lambda function for business logic implementation.
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Deployment Cycle Save Build Saving your bot preserves the current state on the server Building your bot creates versions that you can test Publish Publishing your app will create a version of your bot and provide an alias to your clients Test Test your bot in a chat window on the console
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex – Export to Alexa Skill Amazon Lex Chatbot schema (JSON) Alexa Skill Export to Alexa Skills Format Import into Alexa Skill Builder
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Lex Demo
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting Conversational Interfaces to Work Husqvarna Group Johan Esbjörner
  • 29. Market leadership – over 20 years of innovation Key robotic milestones Connect Gen2 Automower Automower Connect Gen1 Solar Mower 310, 315 450X Generation 0 Generation 1 1995 1998 2003 2015 The Original We created the Robotic Mower market >1 million 20182011 Generation 2 Generation 3 Connect Gen3 PRO 2007 230ACX 260ACX 305
  • 30. Automower evolution from product to a system of systems Selected 3-party systems
  • 31. Automower smart home integrations •Alexa & Google support, 2018 Q3 / Q4 – Basic features, start, stop, park & status. – Will evolve based on what our customers requests •Open API, 2018 Q4 / 2019 Q1 – API access for all developers
  • 32. Alexa & Google architecture
  • 34. 1. A launched skill is locked for editing and a new development version of the skill is created automatically. Things to consider when deploying an Alexa Skill Same ARN is used in both Skills!
  • 35. Things to consider when deploying an Alexa Skill 3. Alexa Skills Kit CLI requires manual intervention for authorization store ~/.ask/cli_config securely for reuse in docker etc. 2. Changes to a non versioned lambda function will affect the live skill orunless Separate environments Lambda versioning & aliases is used
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Learn More @ https://aws.amazon.com/lex Build your first bot! ✔ ✔ ✔
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank You! Tara E. Walker Sr. Technical Evangelist Amazon Web Services @taraw