SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Learnings from Building Alexa SkillsLearnings from Building Alexa Skills
Ralf EggertRalf Eggert
CEO Travello GmbH, Programming since 29 years,CEO Travello GmbH, Programming since 29 years,
Trainer, Author, Coach DeveloperTrainer, Author, Coach Developer
Ralf EggertRalf Eggert 33 fromfrom 2828
AgendaAgenda
My First Alexa Skill
My LearningsMy Second Alexa SkillMy Second Alexa Skill
My Tech Stack
My Tech StackMy Tech Stack
Ralf EggertRalf Eggert 55 fromfrom 2828
How does an Alexa request work?How does an Alexa request work?
Alexa! Start
GUEST reception!
I am very pleased
That guests are here!
Custom Skill Code
(AWS Lambda or
HTTP endpoint)
Amazon
Alexa
Service
Platform
JSON request / response
Speech recognition / Text to speech
Voice request /
text response
Ralf EggertRalf Eggert 66 fromfrom 2828
Alexa Skills Kit (ASK)Alexa Skills Kit (ASK)
Ralf EggertRalf Eggert 77 fromfrom 2828
AWS Lambda FunctionsAWS Lambda Functions
Ralf EggertRalf Eggert 88 fromfrom 2828
Basic Technology SetupBasic Technology Setup
Ralf EggertRalf Eggert 99 fromfrom 2828
PHP on AWS Lambda?PHP on AWS Lambda?
https://goo.gl/N9VVvb
Ralf EggertRalf Eggert 1010 fromfrom 2828
Why use own end-point server?Why use own end-point server?
No native PHP support
on AWS Lambda functions
Need to compile PHP and
use a Node.js wrapper
More complicated than
a plain old LAMP server
Ralf EggertRalf Eggert 1111 fromfrom 2828
My open-source PHP libraryMy open-source PHP library
https://github.com/travello-gmbh/
My First Alexa SkillMy First Alexa Skill
Ralf EggertRalf Eggert 1313 fromfrom 2828
The ideaThe idea
Ralf EggertRalf Eggert 1414 fromfrom 2828
How it worksHow it works
Alexa! Start
GUEST reception!
I am very pleased
That guests are here!
Say hello to Ella
Nice to see you Ella.
Your hair colour really
fits together with our
Pillow cases.
Please welcome
Martha
Where on earth have you
Been such a long time
Martha?
Thanks Alexa I was delighted to meet
you Ella And Martha!
Ralf EggertRalf Eggert 1515 fromfrom 2828
Early successEarly success
Top 10 of activated Skills
from March till today
60 customer reviews so far
July 2017:
- 22.000 customers
- 54.000 Sessions
- 460.000 Utterances
My Second Alexa SkillMy Second Alexa Skill
Ralf EggertRalf Eggert 1717 fromfrom 2828
The ideaThe idea
Ralf EggertRalf Eggert 1818 fromfrom 2828
How it worksHow it works
Alexa! Start
boredom killer
I am very pleased
to fight your boredom!
Answering the
Questions.
How many are you?
How old are you?
Creativity, entertainment,
gaming, movement, home
or whatever?
Next one please!
First suggestion:
Make Photo-Shooting!
Thanks I will do that.
Second suggestion:
Make a forest Olympiad!
My LearningsMy Learnings
Ralf EggertRalf Eggert 2020 fromfrom 2828
Biggest ChallengesBiggest Challenges
Custom slot type for category
needed too many synonyms
VUI was much more complex
While updating one skil a
Small risk to break other skills
Slot type for German
first names incomplete
Signature Validation
(no problem on AWS Lambda)
Setup second end-point
server (for testing)
Ralf EggertRalf Eggert 2121 fromfrom 2828
Some numbersSome numbers
15 custom intents
3 custom slot types
185 defined Utterances
100 suggestions
4 custom intents
1 extended slot type
34 defined utterances
100 greeting phrases
Ralf EggertRalf Eggert 2222 fromfrom 2828
Certification processCertification process
16 hours to go live
(July 2017)
0 Issues
17 hours to go live
after re-submitting
7 days for first feedback
(February 2017)
3 Issues:
- Signature validation
- Single-word invocation
- No response on »abbrechen«
23 hours to go live
after re-submit
Ralf EggertRalf Eggert 2323 fromfrom 2828
DevelopmentDevelopment
15 working days total
10% time spent
on infrastructure code
90% time spent
on skill code
10 working days total
80% time spent
on infrastructure code
20% time spent
on skill code
Ralf EggertRalf Eggert 2424 fromfrom 2828
LearningsLearnings
1) Start with a very simple skill
2) Write a solid code base for infrastructure code or use an OS one
3) Test thoroughly (use Postman, unit tests and ASK beta test)
4) Do not trust the built-in slot types blindly (extend them)
5) Design a sophisticated voice user interface (VUI)
6) Build more than one skill
7) Have fun
Questions?Questions?
Thanks!Thanks!
Contact ralf@travello.audioContact ralf@travello.audio
Web www.travello.audioWeb www.travello.audio
Coming soon?Coming soon?
Ralf EggertRalf Eggert 2828 fromfrom 2828
Photo creditsPhoto credits
Entertainment Nation
Wandering Wings
Acoustic Folk Band
Flickr CC BY 2.0
Jules Minus
Bored
Flickr CC BY 2.0

Contenu connexe

Tendances

From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016
Shannon Williams
 
120 WATSUK 2014 Antony Askew - AutoSys In The Real World
120 WATSUK 2014 Antony Askew -  AutoSys In The Real World120 WATSUK 2014 Antony Askew -  AutoSys In The Real World
120 WATSUK 2014 Antony Askew - AutoSys In The Real World
Paul Donoghue-Parker
 

Tendances (20)

TuleapCon2017 -Automating Jenkins build with Tuleap trackers
TuleapCon2017 -Automating Jenkins build with Tuleap trackersTuleapCon2017 -Automating Jenkins build with Tuleap trackers
TuleapCon2017 -Automating Jenkins build with Tuleap trackers
 
Riminder API USER GUIDE - TALENT CLOUD SOLUTION
Riminder   API USER GUIDE - TALENT CLOUD SOLUTIONRiminder   API USER GUIDE - TALENT CLOUD SOLUTION
Riminder API USER GUIDE - TALENT CLOUD SOLUTION
 
What's new on Rails 5
What's new on Rails 5What's new on Rails 5
What's new on Rails 5
 
Chef Configuration Management With RightScale - RightScale Compute 2013
Chef Configuration Management With RightScale - RightScale Compute 2013Chef Configuration Management With RightScale - RightScale Compute 2013
Chef Configuration Management With RightScale - RightScale Compute 2013
 
NAB Tech Talk
NAB Tech TalkNAB Tech Talk
NAB Tech Talk
 
Mastering Puppet Configuration Management in the Cloud - RightScale Compute 2013
Mastering Puppet Configuration Management in the Cloud - RightScale Compute 2013Mastering Puppet Configuration Management in the Cloud - RightScale Compute 2013
Mastering Puppet Configuration Management in the Cloud - RightScale Compute 2013
 
CodeOne Java Debugging Tips
CodeOne Java Debugging TipsCodeOne Java Debugging Tips
CodeOne Java Debugging Tips
 
When down is not good enough. SRE On Azure
When down is not good enough. SRE On AzureWhen down is not good enough. SRE On Azure
When down is not good enough. SRE On Azure
 
Atp 11 b pocket guide(1)
Atp 11 b pocket guide(1)Atp 11 b pocket guide(1)
Atp 11 b pocket guide(1)
 
RabbitMQ Plugins Talk
RabbitMQ Plugins TalkRabbitMQ Plugins Talk
RabbitMQ Plugins Talk
 
Testing in Infrastructure
Testing in InfrastructureTesting in Infrastructure
Testing in Infrastructure
 
Contributing to open source as a non developer - #wclax
Contributing to open source as a non developer - #wclaxContributing to open source as a non developer - #wclax
Contributing to open source as a non developer - #wclax
 
The How and Why of Using Chef with RightScale
The How and Why of Using Chef with RightScaleThe How and Why of Using Chef with RightScale
The How and Why of Using Chef with RightScale
 
Monitoring Gengo using Saas
Monitoring Gengo using SaasMonitoring Gengo using Saas
Monitoring Gengo using Saas
 
From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016
 
Micro prointronprog
Micro prointronprogMicro prointronprog
Micro prointronprog
 
HP ProLiant Gen9 Server Features
HP ProLiant Gen9 Server FeaturesHP ProLiant Gen9 Server Features
HP ProLiant Gen9 Server Features
 
Embedded systems ppt iv part c
Embedded systems ppt iv   part cEmbedded systems ppt iv   part c
Embedded systems ppt iv part c
 
Embedded systems ppt iv part d
Embedded systems ppt iv   part dEmbedded systems ppt iv   part d
Embedded systems ppt iv part d
 
120 WATSUK 2014 Antony Askew - AutoSys In The Real World
120 WATSUK 2014 Antony Askew -  AutoSys In The Real World120 WATSUK 2014 Antony Askew -  AutoSys In The Real World
120 WATSUK 2014 Antony Askew - AutoSys In The Real World
 

Similaire à Learnings Building Alexa Skills with PHP

Similaire à Learnings Building Alexa Skills with PHP (20)

Learnings Building Alexa Skills with PHP
Learnings Building Alexa Skills with PHPLearnings Building Alexa Skills with PHP
Learnings Building Alexa Skills with PHP
 
Develop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPDevelop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHP
 
Testing Adhearsion Applications
Testing Adhearsion ApplicationsTesting Adhearsion Applications
Testing Adhearsion Applications
 
New skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NETNew skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NET
 
Case-Study für Alexa Skill Empfangsdame
Case-Study für Alexa Skill Empfangsdame Case-Study für Alexa Skill Empfangsdame
Case-Study für Alexa Skill Empfangsdame
 
voice is the new controller
voice is the new controllervoice is the new controller
voice is the new controller
 
Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk
Create Alexa Skills using IBM Watson Conversation and Apache OpenWhiskCreate Alexa Skills using IBM Watson Conversation and Apache OpenWhisk
Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk
 
Automate all your EMR related activities
Automate all your EMR related activitiesAutomate all your EMR related activities
Automate all your EMR related activities
 
Introduzione alla SEO Automation con Python
Introduzione alla SEO Automation con PythonIntroduzione alla SEO Automation con Python
Introduzione alla SEO Automation con Python
 
Introduction to Alexa Skill Building
Introduction to Alexa Skill BuildingIntroduction to Alexa Skill Building
Introduction to Alexa Skill Building
 
Controlling gadgets with amazon Alexa - June 2018
Controlling gadgets with amazon Alexa - June 2018Controlling gadgets with amazon Alexa - June 2018
Controlling gadgets with amazon Alexa - June 2018
 
RESTful API Design Best Practices Using ASP.NET Web API
RESTful API Design Best Practices Using ASP.NET Web APIRESTful API Design Best Practices Using ASP.NET Web API
RESTful API Design Best Practices Using ASP.NET Web API
 
Case-Study für Alexa Skill Empfangsdame
Case-Study für Alexa Skill Empfangsdame Case-Study für Alexa Skill Empfangsdame
Case-Study für Alexa Skill Empfangsdame
 
Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101
 
Scaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per DayScaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per Day
 
Developing Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageDeveloping Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming Language
 
Voice Applications (Alexa Skills) Cloud Native on Kubernetes with Terraform
Voice Applications (Alexa Skills) Cloud Native on Kubernetes with TerraformVoice Applications (Alexa Skills) Cloud Native on Kubernetes with Terraform
Voice Applications (Alexa Skills) Cloud Native on Kubernetes with Terraform
 
JakartaJS: Serverless in production
JakartaJS: Serverless in productionJakartaJS: Serverless in production
JakartaJS: Serverless in production
 
Kata String Calculator
Kata String CalculatorKata String Calculator
Kata String Calculator
 
A Whale and an Elephant, when PHP meets docker
A Whale and an Elephant, when PHP meets dockerA Whale and an Elephant, when PHP meets docker
A Whale and an Elephant, when PHP meets docker
 

Plus de Ralf Eggert

Plus de Ralf Eggert (20)

ChatGPT: unser täglich' Bot gib uns heute
ChatGPT: unser täglich' Bot gib uns heuteChatGPT: unser täglich' Bot gib uns heute
ChatGPT: unser täglich' Bot gib uns heute
 
Der ultimative PHP Framework Vergleich 2023 Edition
Der ultimative PHP Framework Vergleich 2023 EditionDer ultimative PHP Framework Vergleich 2023 Edition
Der ultimative PHP Framework Vergleich 2023 Edition
 
PHP Module als Rundum-Sorglos-Pakete entwickeln
PHP Module als Rundum-Sorglos-Pakete entwickelnPHP Module als Rundum-Sorglos-Pakete entwickeln
PHP Module als Rundum-Sorglos-Pakete entwickeln
 
Alexa, what's next?
Alexa, what's next?Alexa, what's next?
Alexa, what's next?
 
Alexa, wohin geht die Reise
Alexa, wohin geht die ReiseAlexa, wohin geht die Reise
Alexa, wohin geht die Reise
 
8. Hamburg Voice Interface Meetup
8. Hamburg Voice Interface Meetup8. Hamburg Voice Interface Meetup
8. Hamburg Voice Interface Meetup
 
Welcome Bixby
Welcome BixbyWelcome Bixby
Welcome Bixby
 
Alexa Skill Maintenance
Alexa Skill MaintenanceAlexa Skill Maintenance
Alexa Skill Maintenance
 
Vom Zend Framework zu Laminas
Vom Zend Framework zu LaminasVom Zend Framework zu Laminas
Vom Zend Framework zu Laminas
 
Alexa Skills und PHP? Passt das zusammen?
Alexa Skills und PHP? Passt das zusammen?Alexa Skills und PHP? Passt das zusammen?
Alexa Skills und PHP? Passt das zusammen?
 
Mit Jovo von 0 auf 100
Mit Jovo von 0 auf 100Mit Jovo von 0 auf 100
Mit Jovo von 0 auf 100
 
Vom Zend Framework zu Laminas
Vom Zend Framework zu LaminasVom Zend Framework zu Laminas
Vom Zend Framework zu Laminas
 
Alexa for Hospitality
Alexa for HospitalityAlexa for Hospitality
Alexa for Hospitality
 
Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...
Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...
Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...
 
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Fortgeschrittene Techniken für erfolgreiche SprachanwendungenFortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
 
Die sieben Projektphasen für Voice Projekte
Die sieben Projektphasen für Voice ProjekteDie sieben Projektphasen für Voice Projekte
Die sieben Projektphasen für Voice Projekte
 
Künstliche Intelligenz – Traum und Wirklichkeit
Künstliche Intelligenz – Traum und WirklichkeitKünstliche Intelligenz – Traum und Wirklichkeit
Künstliche Intelligenz – Traum und Wirklichkeit
 
Multi-Modal Voice Development with Amazon Alexa
Multi-Modal Voice Development with Amazon AlexaMulti-Modal Voice Development with Amazon Alexa
Multi-Modal Voice Development with Amazon Alexa
 
Mein Haus, mein Auto, mein Backend
Mein Haus, mein Auto, mein BackendMein Haus, mein Auto, mein Backend
Mein Haus, mein Auto, mein Backend
 
Zend/Expressive 3 – The Next Generation
Zend/Expressive 3 – The Next GenerationZend/Expressive 3 – The Next Generation
Zend/Expressive 3 – The Next Generation
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 

Learnings Building Alexa Skills with PHP

  • 1. Learnings from Building Alexa SkillsLearnings from Building Alexa Skills
  • 2. Ralf EggertRalf Eggert CEO Travello GmbH, Programming since 29 years,CEO Travello GmbH, Programming since 29 years, Trainer, Author, Coach DeveloperTrainer, Author, Coach Developer
  • 3. Ralf EggertRalf Eggert 33 fromfrom 2828 AgendaAgenda My First Alexa Skill My LearningsMy Second Alexa SkillMy Second Alexa Skill My Tech Stack
  • 4. My Tech StackMy Tech Stack
  • 5. Ralf EggertRalf Eggert 55 fromfrom 2828 How does an Alexa request work?How does an Alexa request work? Alexa! Start GUEST reception! I am very pleased That guests are here! Custom Skill Code (AWS Lambda or HTTP endpoint) Amazon Alexa Service Platform JSON request / response Speech recognition / Text to speech Voice request / text response
  • 6. Ralf EggertRalf Eggert 66 fromfrom 2828 Alexa Skills Kit (ASK)Alexa Skills Kit (ASK)
  • 7. Ralf EggertRalf Eggert 77 fromfrom 2828 AWS Lambda FunctionsAWS Lambda Functions
  • 8. Ralf EggertRalf Eggert 88 fromfrom 2828 Basic Technology SetupBasic Technology Setup
  • 9. Ralf EggertRalf Eggert 99 fromfrom 2828 PHP on AWS Lambda?PHP on AWS Lambda? https://goo.gl/N9VVvb
  • 10. Ralf EggertRalf Eggert 1010 fromfrom 2828 Why use own end-point server?Why use own end-point server? No native PHP support on AWS Lambda functions Need to compile PHP and use a Node.js wrapper More complicated than a plain old LAMP server
  • 11. Ralf EggertRalf Eggert 1111 fromfrom 2828 My open-source PHP libraryMy open-source PHP library https://github.com/travello-gmbh/
  • 12. My First Alexa SkillMy First Alexa Skill
  • 13. Ralf EggertRalf Eggert 1313 fromfrom 2828 The ideaThe idea
  • 14. Ralf EggertRalf Eggert 1414 fromfrom 2828 How it worksHow it works Alexa! Start GUEST reception! I am very pleased That guests are here! Say hello to Ella Nice to see you Ella. Your hair colour really fits together with our Pillow cases. Please welcome Martha Where on earth have you Been such a long time Martha? Thanks Alexa I was delighted to meet you Ella And Martha!
  • 15. Ralf EggertRalf Eggert 1515 fromfrom 2828 Early successEarly success Top 10 of activated Skills from March till today 60 customer reviews so far July 2017: - 22.000 customers - 54.000 Sessions - 460.000 Utterances
  • 16. My Second Alexa SkillMy Second Alexa Skill
  • 17. Ralf EggertRalf Eggert 1717 fromfrom 2828 The ideaThe idea
  • 18. Ralf EggertRalf Eggert 1818 fromfrom 2828 How it worksHow it works Alexa! Start boredom killer I am very pleased to fight your boredom! Answering the Questions. How many are you? How old are you? Creativity, entertainment, gaming, movement, home or whatever? Next one please! First suggestion: Make Photo-Shooting! Thanks I will do that. Second suggestion: Make a forest Olympiad!
  • 20. Ralf EggertRalf Eggert 2020 fromfrom 2828 Biggest ChallengesBiggest Challenges Custom slot type for category needed too many synonyms VUI was much more complex While updating one skil a Small risk to break other skills Slot type for German first names incomplete Signature Validation (no problem on AWS Lambda) Setup second end-point server (for testing)
  • 21. Ralf EggertRalf Eggert 2121 fromfrom 2828 Some numbersSome numbers 15 custom intents 3 custom slot types 185 defined Utterances 100 suggestions 4 custom intents 1 extended slot type 34 defined utterances 100 greeting phrases
  • 22. Ralf EggertRalf Eggert 2222 fromfrom 2828 Certification processCertification process 16 hours to go live (July 2017) 0 Issues 17 hours to go live after re-submitting 7 days for first feedback (February 2017) 3 Issues: - Signature validation - Single-word invocation - No response on »abbrechen« 23 hours to go live after re-submit
  • 23. Ralf EggertRalf Eggert 2323 fromfrom 2828 DevelopmentDevelopment 15 working days total 10% time spent on infrastructure code 90% time spent on skill code 10 working days total 80% time spent on infrastructure code 20% time spent on skill code
  • 24. Ralf EggertRalf Eggert 2424 fromfrom 2828 LearningsLearnings 1) Start with a very simple skill 2) Write a solid code base for infrastructure code or use an OS one 3) Test thoroughly (use Postman, unit tests and ASK beta test) 4) Do not trust the built-in slot types blindly (extend them) 5) Design a sophisticated voice user interface (VUI) 6) Build more than one skill 7) Have fun
  • 28. Ralf EggertRalf Eggert 2828 fromfrom 2828 Photo creditsPhoto credits Entertainment Nation Wandering Wings Acoustic Folk Band Flickr CC BY 2.0 Jules Minus Bored Flickr CC BY 2.0