alexa-app

“Alexa, open Mighty Righty” - works /// “Alexa, ask Mighty Righty who is right, me or my husband” doesn't work (hmm, I don't know that one)

社会主义新天地 提交于 2020-01-21 16:44:30
问题 My published skill can be invoked by "Alexa, open Mighty Righty," but it won't work if a user says "Alexa, ask Mighty Righty who is right, me or my husband," how to do that? https://www.amazon.com/dp/B07SGBR24G/ This is the link to the working published skill. #------------------------------Part1-------------------------------- # In this part we define a list that contains the player names, and # a dictionary with player biographies Player_LIST = ["me or my wife", "me or my husband", "me or

“Alexa, open Mighty Righty” - works /// “Alexa, ask Mighty Righty who is right, me or my husband” doesn't work (hmm, I don't know that one)

南楼画角 提交于 2020-01-21 16:43:47
问题 My published skill can be invoked by "Alexa, open Mighty Righty," but it won't work if a user says "Alexa, ask Mighty Righty who is right, me or my husband," how to do that? https://www.amazon.com/dp/B07SGBR24G/ This is the link to the working published skill. #------------------------------Part1-------------------------------- # In this part we define a list that contains the player names, and # a dictionary with player biographies Player_LIST = ["me or my wife", "me or my husband", "me or

“Alexa, open Mighty Righty” - works /// “Alexa, ask Mighty Righty who is right, me or my husband” doesn't work (hmm, I don't know that one)

时间秒杀一切 提交于 2020-01-21 16:43:13
问题 My published skill can be invoked by "Alexa, open Mighty Righty," but it won't work if a user says "Alexa, ask Mighty Righty who is right, me or my husband," how to do that? https://www.amazon.com/dp/B07SGBR24G/ This is the link to the working published skill. #------------------------------Part1-------------------------------- # In this part we define a list that contains the player names, and # a dictionary with player biographies Player_LIST = ["me or my wife", "me or my husband", "me or

Calling Another Alexa intent from within LaunchRequest

烈酒焚心 提交于 2019-12-23 19:28:28
问题 I am working on an Alexa skill where I would like to redirect user to one intent when he opens the skill via LaunchRequest. User says Open xyz skill LaunchRequest receives this and forwards the request to another intent. this.emit('AnotherIntent') AnotherIntent has a SLOT which is required for its functioning. I have setup the SLOT as required and AnotherIntent does work perfectly fine when invoked on its own. However when I Launch the skill and tries to call AnotherIntent from within it as

Alexa Custom Skill DynamoDB.Node.js ResponseBuilder Not waiting for Async Call to complete

冷暖自知 提交于 2019-12-11 16:57:14
问题 I am new to Node.js and Javascript and am developing an Alexa application using Lambda function and DynamoDB. I have a table in DynamoDB named: Chat with PrimaryKey: 'Said' and a column 'say'. Whenever the Alexa skills is launched I just want to fetch a record based on what is said by the user and return. So its basically a single Query on the primary key which works fine. However, I dont get any response from the lambda function in speech output variable as the API doesn't wait for the

How to end session for custom Alexa skill?

本小妞迷上赌 提交于 2019-12-06 03:37:56
问题 I am creating a custom skill for Alexa. I want to close the session on AMAZON.StopIntent . How can I achieve this with below code? const ExitHandler = { canHandle(handlerInput) { const request = handlerInput.requestEnvelope.request; return request.type === 'IntentRequest' && (request.intent.name === 'AMAZON.StopIntent'); }, handle(handlerInput) { return handlerInput.responseBuilder .speak('bye!') .reprompt('bye!') .getResponse(); }, }; 回答1: Alexa ends the session when shouldEndSession flag is

“Alexa, open Mighty Righty” - works /// “Alexa, ask Mighty Righty who is right, me or my husband” doesn't work (hmm, I don't know that one)

为君一笑 提交于 2019-12-02 02:13:03
My published skill can be invoked by "Alexa, open Mighty Righty," but it won't work if a user says "Alexa, ask Mighty Righty who is right, me or my husband," how to do that? https://www.amazon.com/dp/B07SGBR24G/ This is the link to the working published skill. #------------------------------Part1-------------------------------- # In this part we define a list that contains the player names, and # a dictionary with player biographies Player_LIST = ["me or my wife", "me or my husband", "me or you"] Player_BIOGRAPHY = {"me or my wife": ["She is. Do as she says, and you'll be OK.", "You", "Of