SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
LES ASSISTANTS
VOCAUX
par /
"OK Google, explain Alexa to me"
Laurent Clouet @laurent35240
WARNING !!!
L'INTÉGRALITÉ DE CETTE PRÉSENTATION POURRA ÊTRE
ENTENDUE PAR GOOGLE ET AMAZON.
LES DIFFÉRENTS SYSTÈMES
2005
2011
2014
2016
ET PLEIN D'AUTRES
Cortana (Microsoft)
Jarvis (Facebook) avec la voix de Morgan Freeman
Matrix voice pour raspberry PI
mycroft
Jasper
...
ALEXA
Lancé en novembre 2014
Présent dans les produits Amazon
Mais aussi dans des produits LG, Lenovo, Huawei, ...
Même sur iOS depuis le 16 mars
Possibilité de l'intégrer dans ses produits via AVS
+ 10 000 skills disponibles
AMAZON ECHO
>8 millions de produits vendus ($179)
Gestion smart home (lumières, chauffage, serrures)
Disponible US, UK, DE
GOOGLE ASSISTANT
Lancé en mai 2016
Présent sur Android 6+ (US only), Google Home
Prévu pour les prochaines version d'Android TV et
Android auto
~200 interactions disponibles
GOOGLE HOME
Disponible US ($129) et UK
Gestion smart home
Multi enceintes et interaction Chromecast
DÉVELOPPER UNE INTERACTION VOCALE
LES BONNES PRATIQUES
Alexa Skills Kit Voice Design Best Practices
SOYEZ CLAIR SI VOUS ATTENDEZ UNE RÉPONSE.
Don’t Do
Trivia Challenge. You
can choose from the
following categories:
80’s Pop Songs, Potent
Potables, or European
History.
Trivia Challenge. Here
are your categories: 80’s
Pop Songs, Potent
Potables, or European
History. Which one do
you want?
SOYEZ BREF
Don’t Do
Astrology Daily: There
are 12 zodiac signs that I
can give you a horoscope
for, please tell which one
you’d like.
Astrology Daily:
Horoscope for which
sign?
SOYEZ BREF
Don’t Do
Dairy Shack: What avor
do you want? For
chocolate, say Chocolate.
For vanilla, say Vanilla.
Or for strawberry, say
Strawberry.
Dairy Shack: Which
avor would you like:
Chocolate, Vanilla, or
Strawberry?
NE DEMANDEZ PAS TOUT D'UN COUP
Don’t Do
Date Night: To make a
reservation, you need to
say the location, time,
date and number of
people. Please start over.
Date Night: Reservation
at Haymarket. For what
time tonight?
User: About 7:30.
BIEN UTILISER LE TEXT TO SPEECH
Don't Do
Grrrrreeeaaat job,
you are correct.
0:00 / 0:02
Great <break time="1ms"/> job,
you are correct.
0:00 / 0:02
BIEN UTILISER LE TEXT TO SPEECH
Don't Do
Dialing 18001234567
0:00 / 0:05
Dialing
<say-as interpret-as="telephone"
18001234567
</say-as>
0:00 / 0:04
PROGRAMMATION D'UN SKILL ALEXA
DÉFINIR LE MOT DE RÉVEIL (INVOCATION NAME)
Par exemple, "Space Geek"
Alexa, start Space Geek
Alexa, launch Space Geek
Alexa, ... with Space Geek
Alexa, ask Space Geek to ...
DÉFINIR LE SCHÉMA D'INTENTION (INTENT SCHEMA)
{
"intents": [
{
"intent": "GetNewFactIntent"
},
{
"intent": "AMAZON.HelpIntent"
},
{
"intent": "AMAZON.StopIntent"
},
{
"intent": "AMAZON.CancelIntent"
}
]
DÉFINIR LES PHRASES D'EXEMPLE
GetNewFactIntent a fact
GetNewFactIntent a space fact
GetNewFactIntent tell me a fact
GetNewFactIntent tell me a space fact
GetNewFactIntent give me a fact
GetNewFactIntent give me a space fact
GetNewFactIntent tell me trivia
GetNewFactIntent tell me a space trivia
GetNewFactIntent give me trivia
GetNewFactIntent give me a space trivia
GetNewFactIntent give me some information
GetNewFactIntent give me some space information
GetNewFactIntent tell me something
GetNewFactIntent give me something
ÉCRIRE LE CODE DE VOTRE FONCTION LAMBDA
var handlers = {
'LaunchRequest': function () {
this.emit('GetNewFactIntent');
},
'GetNewFactIntent': function () {
var factArr = this.t('FACTS');
var factIndex = Math.floor(Math.random() * factArr.length);
var randomFact = factArr[factIndex];
// Create speech output
var speechOutput = this.t("GET_FACT_MESSAGE") + randomFact;
this.emit(':tellWithCard', speechOutput, this.t("SKILL_NAME"
},
'AMAZON.HelpIntent': function () {
var speechOutput = this.t("HELP_MESSAGE");
ÉCRIRE LE CODE DE VOTRE FONCTION LAMBDA
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
TESTER
grunt-aws-lambda
Simulateur Amazon Echo
Portail dévelopeur Amazon
ET POUR GOOGLE HOME?
Utilisation de
Dé nition mot clé, questions, réponses
Possibilité d'appeler un webhook pour traiter la
question
Gestion de connexion oAuth
Peut s'intégrer à Facebook, Slack, Twitter, ...
API.ai
DEMO
QUESTIONS ??

Mais conteúdo relacionado

Semelhante a Les assistants vocaux

Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
Vyacheslav Lyalkin
 

Semelhante a Les assistants vocaux (18)

Google Assistant app (Actions on Google) with Microsoft Azure Functions in C#...
Google Assistant app (Actions on Google) with Microsoft Azure Functions in C#...Google Assistant app (Actions on Google) with Microsoft Azure Functions in C#...
Google Assistant app (Actions on Google) with Microsoft Azure Functions in C#...
 
Amazon Alexa Skills Empower my Business with Voice - AWS Summit Sydney 2018
Amazon Alexa Skills Empower my Business with Voice - AWS Summit Sydney 2018Amazon Alexa Skills Empower my Business with Voice - AWS Summit Sydney 2018
Amazon Alexa Skills Empower my Business with Voice - AWS Summit Sydney 2018
 
Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
 
Seminar on Voice Technology - Alexa
Seminar on Voice Technology - AlexaSeminar on Voice Technology - Alexa
Seminar on Voice Technology - Alexa
 
Bring Alexa to Work - ENT306 - Chicago AWS Summit
Bring Alexa to Work - ENT306 - Chicago AWS SummitBring Alexa to Work - ENT306 - Chicago AWS Summit
Bring Alexa to Work - ENT306 - Chicago AWS Summit
 
Smart Speakers, Digital Assistants, AI, and Home Automation
Smart Speakers, Digital Assistants, AI, and Home AutomationSmart Speakers, Digital Assistants, AI, and Home Automation
Smart Speakers, Digital Assistants, AI, and Home Automation
 
Smart Speakers
Smart SpeakersSmart Speakers
Smart Speakers
 
Voice interface project
Voice interface projectVoice interface project
Voice interface project
 
Talking to machines, listening to people - Gordon Plant
Talking to machines, listening to people - Gordon Plant Talking to machines, listening to people - Gordon Plant
Talking to machines, listening to people - Gordon Plant
 
Top 10 alexa use cases
Top 10 alexa use casesTop 10 alexa use cases
Top 10 alexa use cases
 
NUS iOS Swift Talk
NUS iOS Swift TalkNUS iOS Swift Talk
NUS iOS Swift Talk
 
Build Voice-Enabled Experiences with Alexa
Build Voice-Enabled Experiences with AlexaBuild Voice-Enabled Experiences with Alexa
Build Voice-Enabled Experiences with Alexa
 
Writing Apps the Google-y Way
Writing Apps the Google-y WayWriting Apps the Google-y Way
Writing Apps the Google-y Way
 
Writing Apps the Google-y Way (Brisbane)
Writing Apps the Google-y Way (Brisbane)Writing Apps the Google-y Way (Brisbane)
Writing Apps the Google-y Way (Brisbane)
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skills
 
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
 
Getting Started with Amazon Alexa on the Raspberry Pi
Getting Started with Amazon Alexa on the Raspberry PiGetting Started with Amazon Alexa on the Raspberry Pi
Getting Started with Amazon Alexa on the Raspberry Pi
 
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Les assistants vocaux

  • 1. LES ASSISTANTS VOCAUX par / "OK Google, explain Alexa to me" Laurent Clouet @laurent35240
  • 2. WARNING !!! L'INTÉGRALITÉ DE CETTE PRÉSENTATION POURRA ÊTRE ENTENDUE PAR GOOGLE ET AMAZON.
  • 8. ET PLEIN D'AUTRES Cortana (Microsoft) Jarvis (Facebook) avec la voix de Morgan Freeman Matrix voice pour raspberry PI mycroft Jasper ...
  • 9. ALEXA Lancé en novembre 2014 Présent dans les produits Amazon Mais aussi dans des produits LG, Lenovo, Huawei, ... Même sur iOS depuis le 16 mars Possibilité de l'intégrer dans ses produits via AVS + 10 000 skills disponibles
  • 10. AMAZON ECHO >8 millions de produits vendus ($179) Gestion smart home (lumières, chauffage, serrures) Disponible US, UK, DE
  • 11. GOOGLE ASSISTANT Lancé en mai 2016 Présent sur Android 6+ (US only), Google Home Prévu pour les prochaines version d'Android TV et Android auto ~200 interactions disponibles
  • 13. Disponible US ($129) et UK Gestion smart home Multi enceintes et interaction Chromecast
  • 14. DÉVELOPPER UNE INTERACTION VOCALE LES BONNES PRATIQUES Alexa Skills Kit Voice Design Best Practices
  • 15. SOYEZ CLAIR SI VOUS ATTENDEZ UNE RÉPONSE. Don’t Do Trivia Challenge. You can choose from the following categories: 80’s Pop Songs, Potent Potables, or European History. Trivia Challenge. Here are your categories: 80’s Pop Songs, Potent Potables, or European History. Which one do you want?
  • 16. SOYEZ BREF Don’t Do Astrology Daily: There are 12 zodiac signs that I can give you a horoscope for, please tell which one you’d like. Astrology Daily: Horoscope for which sign?
  • 17. SOYEZ BREF Don’t Do Dairy Shack: What avor do you want? For chocolate, say Chocolate. For vanilla, say Vanilla. Or for strawberry, say Strawberry. Dairy Shack: Which avor would you like: Chocolate, Vanilla, or Strawberry?
  • 18. NE DEMANDEZ PAS TOUT D'UN COUP Don’t Do Date Night: To make a reservation, you need to say the location, time, date and number of people. Please start over. Date Night: Reservation at Haymarket. For what time tonight? User: About 7:30.
  • 19. BIEN UTILISER LE TEXT TO SPEECH Don't Do Grrrrreeeaaat job, you are correct. 0:00 / 0:02 Great <break time="1ms"/> job, you are correct. 0:00 / 0:02
  • 20. BIEN UTILISER LE TEXT TO SPEECH Don't Do Dialing 18001234567 0:00 / 0:05 Dialing <say-as interpret-as="telephone" 18001234567 </say-as> 0:00 / 0:04
  • 22.
  • 23. DÉFINIR LE MOT DE RÉVEIL (INVOCATION NAME) Par exemple, "Space Geek" Alexa, start Space Geek Alexa, launch Space Geek Alexa, ... with Space Geek Alexa, ask Space Geek to ...
  • 24. DÉFINIR LE SCHÉMA D'INTENTION (INTENT SCHEMA) { "intents": [ { "intent": "GetNewFactIntent" }, { "intent": "AMAZON.HelpIntent" }, { "intent": "AMAZON.StopIntent" }, { "intent": "AMAZON.CancelIntent" } ]
  • 25. DÉFINIR LES PHRASES D'EXEMPLE GetNewFactIntent a fact GetNewFactIntent a space fact GetNewFactIntent tell me a fact GetNewFactIntent tell me a space fact GetNewFactIntent give me a fact GetNewFactIntent give me a space fact GetNewFactIntent tell me trivia GetNewFactIntent tell me a space trivia GetNewFactIntent give me trivia GetNewFactIntent give me a space trivia GetNewFactIntent give me some information GetNewFactIntent give me some space information GetNewFactIntent tell me something GetNewFactIntent give me something
  • 26. ÉCRIRE LE CODE DE VOTRE FONCTION LAMBDA var handlers = { 'LaunchRequest': function () { this.emit('GetNewFactIntent'); }, 'GetNewFactIntent': function () { var factArr = this.t('FACTS'); var factIndex = Math.floor(Math.random() * factArr.length); var randomFact = factArr[factIndex]; // Create speech output var speechOutput = this.t("GET_FACT_MESSAGE") + randomFact; this.emit(':tellWithCard', speechOutput, this.t("SKILL_NAME" }, 'AMAZON.HelpIntent': function () { var speechOutput = this.t("HELP_MESSAGE");
  • 27. ÉCRIRE LE CODE DE VOTRE FONCTION LAMBDA exports.handler = function(event, context, callback) { var alexa = Alexa.handler(event, context); alexa.APP_ID = APP_ID; alexa.registerHandlers(handlers); alexa.execute(); };
  • 29. ET POUR GOOGLE HOME? Utilisation de Dé nition mot clé, questions, réponses Possibilité d'appeler un webhook pour traiter la question Gestion de connexion oAuth Peut s'intégrer à Facebook, Slack, Twitter, ... API.ai
  • 30. DEMO