4. What is Alexa and an Alexa Skill?
Your Skill
Alexa, frage
Hausbar nach
Drink
Willkommen
bei deiner
Hausbar....
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
5. Skills are simple HTTP Services
... implements a simple HTTP-API
... verify each request (SSL Client & Server Authentication)
... accepts INTENT requests with SLOTS
... outputs SSML formated text, which is read by Echo
6. Or we can use an AWS Lambda
... implements a simple HTTP-API
... verify each requests (SSL Client & Server Authentication)
... accepts INTENT requests with SLOTS
... outputs SSML formated text, which is read by Echo
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
7. Wanna build your own?
You need:
An API
Coding Skills
Language Skills aka Voice UX
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
8. Language Interaction with Alexa
• A skill is started with a verb & INVOCATION WORD
Alexa, starte Carsharing
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
9. Language Interaction with Alexa
• A skill is started with a verb & INVOCATION WORD
Alexa, starte Carsharing
• After the INVOCATION, the user can add a direct command (called an
INTENT)
Alexa, starte Carsharing
und finde ein Auto
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
10. A complete conversation
Alexa, starte Carsharing
Willkommen, du kannst..... Launch Intent,
Session is opened
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
11. A complete conversation
Alexa, starte Carsharing
Willkommen, du kannst.....
Find Autos mit Car2Go in meiner Nähe bitte
Ich habe ein Car2go in der XYZ gefunden. Möchstest du das
Auto reservieren?
Launch Intent,
Session is opened
ReserverCarWithCompany
Intent
SlotValue = car2go
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
12. A complete conversation
Alexa, starte Carsharing
Willkommen, du kannst.....
Find Autos mit Car2Go in meiner Nähe bitte
Ich habe ein Car2go in der XYZ gefunden. Möchstest du das
Auto reservieren?
Ja, bitte.
Ich hab das Auto für dich reserviert. Du kannst es mit der
car2go App öffnen. Bis demnächst
Launch Intent,
Session is opened
ReserverCarWithCompany
Intent
SlotValue = car2go
Confirm Reservation Intent
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
13. Enough talk, let‘s build!
Sample Skill to ask for drink
recommondations.
Loads a list of drinks and gives you
the recipes for a random or known
drink if you ask nicely
Alexa, frage Haus Bar nach einem
passenden Drink
Ich hätte einen White Russian im
Angebot. Dazu bitte Milch, Kahlua
und Vodka im Shaker zu gleichen
Teilen zubereiten und abseien.
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
14. Steps
1. Create Skill (developer.amazon.com)
2. Add Intent Model (use the beta Interface)
3. Add Utterances (use the beta Interface)
4. Create Lambda from Template (aws.amazon.com)
5. Add new Code
6. Connect the two
Patrick Blitz, CTO | ChallTell Solutions GmbH | @LordThundering – Chatbots & Voice Assistants Grand Event
16. So long, and thanks for all the
… fish
… beer
… skills
Patrick Blitz | ChallTell Solutions GmbH | @LordThundering | www.challtell.de
Editor's Notes
Welcome to the talk.
Patrick Blitz, CTO of Challtell
Today, I will introduce Alexa and what we can do with it.
Will not focus on UX (Voice UI), but rather trying to show the base operating principles
Alexa really doesn‘t do much – it‘s an interface to do stuff with.
It can do great things like playing music (it‘s a speaker) but also controlling your home, telling decent chuck norris jokes – and whatever you teach it to do
How many of you have had Siri or google Now (on cellphones) understand them nearly always (i.e. you feel you can use it reliably?)
With the formfactor (Echo/echo dot and echo whatever), Alexa just works a lot better.
Alexa takes care of the heavy lifting by processing language into something we can work with. Later, defining the Skill, we give it spoke language queris that will be sued to train the AI to recongize user input – and map what the user says into “intent“ requests that our skill can easily understand – basically, predefined input.
This makes programming voice assistants really easy.
Skills don‘t do anything with spoken language – or audio files unless you want to do that
Caveat: Invocation Word should be two words (so the above is wrong!)