aws re:invent 2016: how capital one built a voice-based banking skill for amazon echo (alx201)

38
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scott Totman - Head of Mobile Technology, Payments, and Innovation at Capital One David Isbitski Chief Evangelist, Alexa and Echo at Amazon November 29, 2016 How Capital One Built a Voice-Based Banking Skill for Amazon Echo ALX201

Upload: amazon-web-services

Post on 06-Jan-2017

351 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Scott Totman - Head of Mobile Technology, Payments, and Innovation at Capital One

David Isbitski – Chief Evangelist, Alexa and Echo at Amazon

November 29, 2016

How Capital One Built a Voice-Based

Banking Skill for Amazon Echo

ALX201

Page 2: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

W E BEL I EVE VO I C E R EPR ESEN TS TH E N EXT M AJ O R D I SR U PT I O N I N C O M PU TI N G

Page 3: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

C O N VERSATION IS T H E MO ST N AT U RAL W AY T O EN G AG E W ITH YO U R PR O DUCT S

VO IC E R EL EASES T H E F R IC T ION O F T R AD IT IONAL T EC H NOLOGY IN T ER ACTION

U SER S C AN N OW IN T ER ACT W ITH YO U R PR O DUCT IN A MO R E IN T IMAT E W AY

Page 4: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 5: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 6: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 7: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Create Great Content:

ASK is how you connect

to your consumer

A L E X A F R A M E W O R K SSupported by two powerful frameworks

ALEX A

VOI CE

SERVI CE

Unparalleled Distribution:

AVS allows your content

to be everywhereLives In The Cloud

Automated Speech

Recognition (ASR)

Natural Language

Understanding (NLU)

Always Learning

ALEX A

SKI LLS

KI T

Page 8: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

What Have We Learned?

Page 9: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Key Design Principles for

ALEXA SKILLS Skills Should Provide High Value

A Skill Should Evolve Over Time

Users Can Speak to Your Skill Naturally and

Spontaneously

Alexa Should Understand Most Requests to

Your Skill

A Skill Should Respond in an Appropriate Way

Page 10: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

High Utility Low Utility

DoingPerforms a Task

“Alexa, ask Scout to arm away mode.”

“Away mode armed. You

have 45 seconds to leave the

house.”

SearchingIdentifies specific info

“Alexa, ask Vendor if there are Pearl Jam tickets available for this weekend.”

“There are a limited number

of tickets, ranging from $49

to $279.”

TellingProvides a quick

reference point

“Alexa, tell me a cat fact.”

“It is well known that dogs

are superior to cats.”

BrowsingGives info on a broad

subject

“Alexa, ask Amazon what’s on sale.”

“The following items are on

sale right now...”

Page 11: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Example of Automatic Learning

ALEXA SKILLAlexa, launch Travel Buddy

Hi, I’m Travel Buddy. I can easily tell you about your

daily commute. Let’s get you set up. Where are you

starting from?

Philadelphia

Okay, and where are you going?

Boston

Great, now whenever you ask, I can tell you about

the commute from Philadelphia to Boston. The

current drive time is five hours and twenty-three

minutes. There is an accident on I-95 near Hartford.

Alexa, launch Travel Buddy

Your commute is currently five hours and two

minutes.

Page 12: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Users Can Speak to Your Skill Naturally and Spontaneously

The experience of using your Alexa skill should allow users to not

have to think about what to say and allow them to not remember how

to say it.

They should be able to converse with Alexa just as they would

another human.

All they need is a rough idea of what Alexa can do (e.g. playing

music, setting a timer, etc.), and they just ask her to do it.

This is the real value of voice interface, but this value can quickly

erode in a skill that forces users to interact in unnatural ways.

Page 13: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Users Can Speak to Your Skill Naturally and Spontaneously

You should try to remove artificial skill syntax and make interactions

within your skill as natural as possible.

Allowing your users to make simple requests without having to think

about the format those requests should be in will create a much

better experience.

Page 14: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

New Features

Page 15: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 16: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 17: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)
Page 18: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One Skill for Alexa

Page 19: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One – Real World Experiences

Page 20: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One’s Skill Overview

Page 21: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One’s Alexa JourneyJuly 2015. Tech off-

site & rapid

prototyping

October 2015.

Prototype at AWS

re:Invent

March 2016. Launch

Capital One for Alexa

skill

November 2015.

Formal project kick-

off

October 2016.

Semantic search feature

@ Grace Hopper

Page 22: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One Skill FocusWhat do customers want from their bank?

Help me

perform a

task

Financially

speaking...

am I okay?

Page 23: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

What the heck!?

I don’t recognize

this purchase.

Help Me Perform a Task

I want to

transfer money

to savings

I need to pay

my credit card

bill

I want to pay

my utility bill

I’m about to

travel. Please

don’t decline

my card!

How do I

order a

Venture Card?

Page 24: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

What’s the last

thing I bought?

Financially Speaking… Am I OK?

What’s my

credit card

balance?

Did my

payment go

through?

How much did

I spend at

Starbucks last

month?

When is my

next payment

due?

What’s left in

my checking

account?

Page 25: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Capital One Skill Features

Initial Feature Set

Pay credit card bill with existing primary payment account

Provide your credit card balance Provide your checking and/or

savings account balances List your recent transactions Provide your available credit

amount Tell you when payment is due Give you an account summary Easter egg: What’s in your wallet?

Evolved Feature Set

Prefetch customer account information

Activate a new credit card Provide credit card APR information Provide credit card transactions at a

specific location Provide total spending amount

within a specific category like dining Lock and unlock credit card

Page 26: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

What we’ve learned…

Page 27: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

How to talk to our customersEx: What’s my credit card balance?

The following balance may or

may not be accurate due to

partial payments, pending

transactions, and overall

money movement policies.

By listening to this message

you implicitly accept all

liabilities….Your

QuickSilver

balance is

$470.34

What exactly do

you mean by

“balance”?

Page 28: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

There are more than 150 ways to ask about recent spending

List my recent

{AcctType} transactions

My recent {AcctType}

transactions

Get my recent transactions

for account ending with

{LastFour}

Get recent {AcctType}

transactions

What are my recent

{AcctType}

transactions

What are my recent charges?

Get my transactions for account {LastFour}

Get my recent transactions for

account in {LastFour}

Transactions for account

ending {LastFour}

Get my transactions for

account {LastFour}

What did I buy?

What have I bought in the

last few days?

What have I purchased

recently?My recent transactions for

account ending with {LastFour}

"intent":"RecentTransactions",

"slots":[

{

"name":"LastFour",

"type":"AMAZON.FOUR_

DIGIT_NUMBER"

},

{

"name":"AcctType",

"type":"AccountType"

}

]

Page 29: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Awkward silence

Forced conversationNo personality

Page 30: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

How to balance security and convenience

Security Convenience

Page 31: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

How to balance security and convenience

SecuritySpoken pin

Push noti f ication

Secret phrase

Convenience

Page 32: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

How to balance security and convenience

ConvenienceOAuth account l inking

Optional PIN

Security

Spoken pin

Push notif ication

Secret phrase

Page 33: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

{ "intent": "AccountBalance", "slots":

[ { "name": "LastFour", "type":

"AMAZON.FOUR_DIGIT_NUMBER" },

{ "name":

"AccountType", "type":

"AccountType" }, { "name":

"ProductType", "type": "ProductType" } ] },

Utterance Compiler

Compiler Template Input

how much [is|do I have] in {My} ([{AccountType}|{ProductType}])? account

Compiler Template Output

AccountBalance how much is in my {AccountType} account

AccountBalance how much is in my {ProductType} account

AccountBalance how much is in my account

AccountBalance how much do I have in my {AccountType}

account

AccountBalance how much do I have in my {ProductType}

accountAccountBalance how much do I have in my account

Page 34: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Debug ToolUsername

Feature to Test

Amazon Commands to Invoke

Account Balance Feature

Optional Input

LastFour

AccountType

ProductType

CurrencyType

What’s

CurrentBalance

EndingWith

My

Alexa OutputHelp

Stop

No

Yes

Repeat

AccountBalance

AvailableCredit

BillDueDate

AmountDue

RecentTransactions

Financial Summary

Test

Platinum

“The current balance on your Platinum card ending in <say-as interpret-as=“characters”>3889</say-as> is $12501.57. “

Page 35: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Abstraction Layer• Pull out common logic for chatbots and other capabilities• Breakout routing middleware, intent handlers, and backend services

Page 36: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Thank you!

Page 37: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Remember to complete

your evaluations!

Page 38: AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Amazon Echo (ALX201)

Related Sessions