SlideShare a Scribd company logo
Learnings fromLearnings from
Building Alexa Skills with PHPBuilding Alexa Skills with PHP
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 2525
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 2525
Basic Technology SetupBasic Technology Setup
Ralf EggertRalf Eggert 66 fromfrom 2525
PHP on AWS Lambda?PHP on AWS Lambda?
https://goo.gl/N9VVvb
Ralf EggertRalf Eggert 77 fromfrom 2525
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 88 fromfrom 2525
My open-source PHP libraryMy open-source PHP library
https://github.com/travello-gmbh/
My First Alexa SkillMy First Alexa Skill
Ralf EggertRalf Eggert 1010 fromfrom 2525
The ideaThe idea
Ralf EggertRalf Eggert 1111 fromfrom 2525
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 1212 fromfrom 2525
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 1414 fromfrom 2525
The ideaThe idea
Ralf EggertRalf Eggert 1515 fromfrom 2525
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 1717 fromfrom 2525
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 1818 fromfrom 2525
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 1919 fromfrom 2525
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 2020 fromfrom 2525
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 2121 fromfrom 2525
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 2525 fromfrom 2525
Photo creditsPhoto credits
Entertainment Nation
Wandering Wings
Acoustic Folk Band
Flickr CC BY 2.0
Jules Minus
Bored
Flickr CC BY 2.0

More Related Content

What's hot

Debugging Tips and Tricks
Debugging Tips and TricksDebugging Tips and Tricks
Debugging Tips and Tricks
Keanan Koppenhaver
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
freeforextools
 

What's hot (17)

Debugging Tips and Tricks
Debugging Tips and TricksDebugging Tips and Tricks
Debugging Tips and Tricks
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 
Whoops! 404 Error!
Whoops! 404 Error!Whoops! 404 Error!
Whoops! 404 Error!
 

Similar to Learnings Building Alexa Skills with PHP

Learnings Building Alexa Skills with PHP
Learnings Building Alexa Skills with PHPLearnings Building Alexa Skills with PHP
Learnings Building Alexa Skills with PHP
Ralf Eggert
 
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
Ralf Eggert
 
Wojciech Ogrodowczyk | 3Scale | I am a Developer
Wojciech Ogrodowczyk | 3Scale | I am a DeveloperWojciech Ogrodowczyk | 3Scale | I am a Developer
Wojciech Ogrodowczyk | 3Scale | I am a Developer
Smash Tech
 
Testing Adhearsion Applications
Testing Adhearsion ApplicationsTesting Adhearsion Applications
Testing Adhearsion Applications
Luca Pradovera
 
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
Ralf Eggert
 
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
Niklas Heidloff
 
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
Miguel Angel Teheran Garcia
 
voice is the new controller
voice is the new controllervoice is the new controller
voice is the new controller
Mark Bate
 
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
Shengyou Fan
 
I can has API? A Love Story
I can has API? A Love StoryI can has API? A Love Story
I can has API? A Love Story
Cal Henderson
 
Building Next Level Voice Games with Alexa
Building Next Level Voice Games with AlexaBuilding Next Level Voice Games with Alexa
Building Next Level Voice Games with Alexa
Mark Bate
 
Eugene PHP June 2015 - Let's Talk Laravel
Eugene PHP June 2015 - Let's Talk LaravelEugene PHP June 2015 - Let's Talk Laravel
Eugene PHP June 2015 - Let's Talk Laravel
anaxamaxan
 
.NET, Alexa and me
.NET, Alexa and me.NET, Alexa and me
.NET, Alexa and me
Rafał Hryniewski
 
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
Ralf Eggert
 
Unit Tests and Test Seams for abap Hamburg June 2017 presented
Unit Tests and Test Seams for abap Hamburg June 2017   presentedUnit Tests and Test Seams for abap Hamburg June 2017   presented
Unit Tests and Test Seams for abap Hamburg June 2017 presented
Rainer Winkler
 
Setting advanced PHP development environment
Setting advanced PHP development environmentSetting advanced PHP development environment
Setting advanced PHP development environment
Kapil Sharma
 
Ruby - The Hard Bits
Ruby - The Hard BitsRuby - The Hard Bits
Ruby - The Hard Bits
Paul Gallagher
 
EuroPython 2011 - How to build complex web applications having fun?
EuroPython 2011 - How to build complex web applications having fun?EuroPython 2011 - How to build complex web applications having fun?
EuroPython 2011 - How to build complex web applications having fun?
Andrew Mleczko
 
Power of linked list
Power of linked listPower of linked list
Power of linked list
Peter Hlavaty
 
Graal VM: Multi-Language Execution Platform
Graal VM: Multi-Language Execution PlatformGraal VM: Multi-Language Execution Platform
Graal VM: Multi-Language Execution Platform
Thomas Wuerthinger
 

Similar to 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
 
Wojciech Ogrodowczyk | 3Scale | I am a Developer
Wojciech Ogrodowczyk | 3Scale | I am a DeveloperWojciech Ogrodowczyk | 3Scale | I am a Developer
Wojciech Ogrodowczyk | 3Scale | I am a Developer
 
Testing Adhearsion Applications
Testing Adhearsion ApplicationsTesting Adhearsion Applications
Testing Adhearsion Applications
 
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
 
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
 
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
 
voice is the new controller
voice is the new controllervoice is the new controller
voice is the new controller
 
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
 
I can has API? A Love Story
I can has API? A Love StoryI can has API? A Love Story
I can has API? A Love Story
 
Building Next Level Voice Games with Alexa
Building Next Level Voice Games with AlexaBuilding Next Level Voice Games with Alexa
Building Next Level Voice Games with Alexa
 
Eugene PHP June 2015 - Let's Talk Laravel
Eugene PHP June 2015 - Let's Talk LaravelEugene PHP June 2015 - Let's Talk Laravel
Eugene PHP June 2015 - Let's Talk Laravel
 
.NET, Alexa and me
.NET, Alexa and me.NET, Alexa and me
.NET, Alexa and me
 
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
 
Unit Tests and Test Seams for abap Hamburg June 2017 presented
Unit Tests and Test Seams for abap Hamburg June 2017   presentedUnit Tests and Test Seams for abap Hamburg June 2017   presented
Unit Tests and Test Seams for abap Hamburg June 2017 presented
 
Setting advanced PHP development environment
Setting advanced PHP development environmentSetting advanced PHP development environment
Setting advanced PHP development environment
 
Ruby - The Hard Bits
Ruby - The Hard BitsRuby - The Hard Bits
Ruby - The Hard Bits
 
EuroPython 2011 - How to build complex web applications having fun?
EuroPython 2011 - How to build complex web applications having fun?EuroPython 2011 - How to build complex web applications having fun?
EuroPython 2011 - How to build complex web applications having fun?
 
Power of linked list
Power of linked listPower of linked list
Power of linked list
 
Graal VM: Multi-Language Execution Platform
Graal VM: Multi-Language Execution PlatformGraal VM: Multi-Language Execution Platform
Graal VM: Multi-Language Execution Platform
 

More from Ralf Eggert

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
PHP Rewrite: Do the right thing (IPC Berlin 2024)
PHP Rewrite: Do the right thing (IPC Berlin 2024)PHP Rewrite: Do the right thing (IPC Berlin 2024)
PHP Rewrite: Do the right thing (IPC Berlin 2024)
Ralf Eggert
 
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
Ralf Eggert
 
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
Ralf Eggert
 
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
Ralf Eggert
 
Alexa, what's next?
Alexa, what's next?Alexa, what's next?
Alexa, what's next?
Ralf Eggert
 
Alexa, wohin geht die Reise
Alexa, wohin geht die ReiseAlexa, wohin geht die Reise
Alexa, wohin geht die Reise
Ralf Eggert
 
8. Hamburg Voice Interface Meetup
8. Hamburg Voice Interface Meetup8. Hamburg Voice Interface Meetup
8. Hamburg Voice Interface Meetup
Ralf Eggert
 
Welcome Bixby
Welcome BixbyWelcome Bixby
Welcome Bixby
Ralf Eggert
 
Alexa Skill Maintenance
Alexa Skill MaintenanceAlexa Skill Maintenance
Alexa Skill Maintenance
Ralf Eggert
 
Vom Zend Framework zu Laminas
Vom Zend Framework zu LaminasVom Zend Framework zu Laminas
Vom Zend Framework zu Laminas
Ralf Eggert
 
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?
Ralf Eggert
 
Mit Jovo von 0 auf 100
Mit Jovo von 0 auf 100Mit Jovo von 0 auf 100
Mit Jovo von 0 auf 100
Ralf Eggert
 
Vom Zend Framework zu Laminas
Vom Zend Framework zu LaminasVom Zend Framework zu Laminas
Vom Zend Framework zu Laminas
Ralf Eggert
 
Alexa for Hospitality
Alexa for HospitalityAlexa for Hospitality
Alexa for Hospitality
Ralf Eggert
 
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...
Ralf Eggert
 
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Fortgeschrittene Techniken für erfolgreiche SprachanwendungenFortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Ralf Eggert
 
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
Ralf Eggert
 
Künstliche Intelligenz – Traum und Wirklichkeit
Künstliche Intelligenz – Traum und WirklichkeitKünstliche Intelligenz – Traum und Wirklichkeit
Künstliche Intelligenz – Traum und Wirklichkeit
Ralf Eggert
 
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
Ralf Eggert
 

More from Ralf Eggert (20)

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
PHP Rewrite: Do the right thing (IPC Berlin 2024)
PHP Rewrite: Do the right thing (IPC Berlin 2024)PHP Rewrite: Do the right thing (IPC Berlin 2024)
PHP Rewrite: Do the right thing (IPC Berlin 2024)
 
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
 

Recently uploaded

Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 

Recently uploaded (20)

Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 

Learnings Building Alexa Skills with PHP

  • 1. Learnings fromLearnings from Building Alexa Skills with PHPBuilding Alexa Skills with PHP
  • 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 2525 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 2525 Basic Technology SetupBasic Technology Setup
  • 6. Ralf EggertRalf Eggert 66 fromfrom 2525 PHP on AWS Lambda?PHP on AWS Lambda? https://goo.gl/N9VVvb
  • 7. Ralf EggertRalf Eggert 77 fromfrom 2525 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
  • 8. Ralf EggertRalf Eggert 88 fromfrom 2525 My open-source PHP libraryMy open-source PHP library https://github.com/travello-gmbh/
  • 9. My First Alexa SkillMy First Alexa Skill
  • 10. Ralf EggertRalf Eggert 1010 fromfrom 2525 The ideaThe idea
  • 11. Ralf EggertRalf Eggert 1111 fromfrom 2525 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!
  • 12. Ralf EggertRalf Eggert 1212 fromfrom 2525 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
  • 13. My Second Alexa SkillMy Second Alexa Skill
  • 14. Ralf EggertRalf Eggert 1414 fromfrom 2525 The ideaThe idea
  • 15. Ralf EggertRalf Eggert 1515 fromfrom 2525 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!
  • 17. Ralf EggertRalf Eggert 1717 fromfrom 2525 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)
  • 18. Ralf EggertRalf Eggert 1818 fromfrom 2525 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
  • 19. Ralf EggertRalf Eggert 1919 fromfrom 2525 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
  • 20. Ralf EggertRalf Eggert 2020 fromfrom 2525 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
  • 21. Ralf EggertRalf Eggert 2121 fromfrom 2525 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
  • 25. Ralf EggertRalf Eggert 2525 fromfrom 2525 Photo creditsPhoto credits Entertainment Nation Wandering Wings Acoustic Folk Band Flickr CC BY 2.0 Jules Minus Bored Flickr CC BY 2.0