HELLO!
I am Ayumi Kobukata
CYDAS, Inc.
Server Side Engineer
3
Ayumi Kobukata
@_kobuuukata
WHAT IS ALEXA?
4
❏ A virtual assistant developed by Amazon.
❏ It's currently deployed in 11 countries.
❏ AWS Certified Alexa Skill Builder - Specialty
announced in January 2019.
DEGREE OF ATTENTION TO ALEXA IN JAPAN
❏ It started the Alexa in 2017.
❏ Amazon Alexa Japan User Group (AAJUG).
❏ Alexa Day, an event dedicated to Alexa.
5
ALEXA VOICE SERVICE (AVS)
7
https://www.slideshare.net/AmazonWebServices/alx202integrate-alexa-voice-technology-into-your-product-with-the-alexa-voice-service
8
ALEXA ARCHITECTURE
Alexa
Voice
Service
Alexa
Skills Kit
Voice
Input
Service /
Data Source
Weather service, Time
service, Music service etc.
REST
Service
Device
Req. Voice
Steam
Voice
Output
Resp. Voice
Steam
Lambda
• Identifies skill name
• Analyzes & understands the req.
• Sends the custom Alexa skill a
structured representation of
user’s req.
• Your custom Alexa skill
receives the req.
• Processes the req. and
returns text response
• Alexa converts the
returned text to speech
• Streams to device
https://www.slideshare.net/aniruddha.chakrabarti/amazon-alexa-building-custom-skills
WHAT IS RASPBERRY PI?
❏ A low cost, credit-card sized computer.
❏ For promote teaching of basic computer science
in schools
❏ In March 2018, sales reached 19 million.
❏ Many WOMEN-ONLY study sessions in Japan.
10
RUN THE SAMPLE APP
Let's run Alexa on Raspberry Pi
according to the tutorial.
11
WHAT IS ECHO BUTTONS?
❏ Interaction with Alexa devices like the Echo
series.
❏ To play games and control smart home routines.
❏ Choose from a catalog of 100+ compatible Alexa
skills.
18
19
Device AVS ASK
Say “Alexa"
Give a quiz.
Sends Alexa Skill
Identify the player.Push button.
Ask the answer.
To answer.
Say “Player 1.”
Decides whether or not
answer is correct.
BUZZER QUIZ ARCHITECTURE
1 2
3
4 5 6
7
8
9
2) CREATE A PROGRAM THAT RECOGNIZES
THE PLAYER
22
A Library for Controlling Raspberry Pi GPIO
GPIO18: Connect to Blue Button
GPIO24: Connect to Red Button
Initialization of WiringPi
GPIO Pin Mode Setting
Sets Pin Pull-up or Pull-down Resistance Mode
Returns the Value Read on the Given Pin.
3) CREATE AN ALEXA SKILL - Voiceflow
23
https://www.voiceflow.com/
❏ Non coding Alexa skill development.
3) CREATE AN ALEXA SKILL - Voiceflow
24
❏ Important Points
– The call name must be at least 2 words.
– Can’t use wake words.