alexa-skills-kit

Alexa Custom Slot Type: No value in intent

北慕城南 提交于 2019-12-03 07:54:46
问题 I've already posted this question to the amazon developer forum but don't receive an answer there. I guess Stackoverflow should've been the first choice from the beginning: From my understanding if I use a Custom Slot Type even if the list of its possible values does not contain the spoken word the spoken word is still passed to the function. The documentation says A custom slot type is not the equivalent of an enumeration. Values outside the list may still be returned if recognized by the

How to set a AWS lambda trigger to Alexa Skills programatically

核能气质少年 提交于 2019-12-03 07:09:00
I'd like to set the trigger of an AWS lambda that uses Alexa events to run the trigger, but I can't find anything in the SDK documentation. Does anybody know? I would be particularly happy if somebody showed me how to do it with the node.js SDK, but other ideas (CLI) are also welcome. I was playing around with the event source mapping SDK calls, but it doesn't seem to do the trick. I think the APIs were designed for Kinesis and Dynamo streams and just didn't catch up with latest Alexa development changes. I have found it. Thanks to this Amazon Developer Forum Article You need to use the add

What is the right command to convert an mp3 file to the required codec version (MPEG version 2) and bit rate (48 kbps) for Amazon Alexa SSML?

…衆ロ難τιáo~ 提交于 2019-12-03 04:58:58
I am trying to convert an mp3 file to the format expected by the audio tag in the Amazon Alexa SSML markup language as described here: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference The documentation recommends using https://www.ffmpeg.org/ffmpeg.html I tried this command but can't find the right codec to use: ffmpeg -y -i input.mp3 -ar 44100 -ab 48k -codec:a mpeg2 -ac 1 output.mp3 I know I need to convert the file because Alexa fails with the following error: The audio is not of a supported MPEG version szatmary Its a

How To Use Amazon Skill Set Without Amazon Echo Device

笑着哭i 提交于 2019-12-03 03:56:41
问题 I am trying to integrate amazon skill kit in my website without an amazon echo unit. I want to implement voice commands on my website using the laptop/PC microphone instead of an echo unit. I have used this tutorial but I didn't find anything about how to implement it on my side. I also tried these samples available on github. But I think these also require an Amazon echo device: https://github.com/amzn/alexa-skills-kit-js I am using Windows with the development environment given below My

Alexa Custom Slot Type: No value in intent

不打扰是莪最后的温柔 提交于 2019-12-02 21:23:09
I've already posted this question to the amazon developer forum but don't receive an answer there. I guess Stackoverflow should've been the first choice from the beginning: From my understanding if I use a Custom Slot Type even if the list of its possible values does not contain the spoken word the spoken word is still passed to the function. The documentation says A custom slot type is not the equivalent of an enumeration. Values outside the list may still be returned if recognized by the spoken language understanding system. Now I have a Custom Slot Type LIST_OF_PERSONS with values Matthias

Amazon Alexa Skill

允我心安 提交于 2019-12-02 17:59:48
问题 I want to ask alexa different sorts of questions and then at the end I want it should ask "Is there anything else you would like to know?" and when I say yes (where yes is working suggestion) it should suggest me according to the intent I am in. Like if I am in IncityIntent: 'InCityIntent': function () { speechOutput = ''; speechOutput = "The atmosphere in the city is beautiful. Is there anything else you would like to know"; this.emit(":ask", speechOutput, speechOutput); 'YesIntent':

How To Use Amazon Skill Set Without Amazon Echo Device

最后都变了- 提交于 2019-12-02 17:18:34
I am trying to integrate amazon skill kit in my website without an amazon echo unit. I want to implement voice commands on my website using the laptop/PC microphone instead of an echo unit. I have used this tutorial but I didn't find anything about how to implement it on my side. I also tried these samples available on github. But I think these also require an Amazon echo device: https://github.com/amzn/alexa-skills-kit-js I am using Windows with the development environment given below My development environment I am able to configure web server for Alexa skills and it is working Asp.Net C#

Amazon Alexa Skill

拥有回忆 提交于 2019-12-02 12:10:12
I want to ask alexa different sorts of questions and then at the end I want it should ask "Is there anything else you would like to know?" and when I say yes (where yes is working suggestion) it should suggest me according to the intent I am in. Like if I am in IncityIntent: 'InCityIntent': function () { speechOutput = ''; speechOutput = "The atmosphere in the city is beautiful. Is there anything else you would like to know"; this.emit(":ask", speechOutput, speechOutput); 'YesIntent': function () { speechOutput = ''; /*when the user say yes, he should get this output*/ speechOutput = You can

Ask user for input from LaunchIntent

那年仲夏 提交于 2019-12-02 10:25:32
I'm writing a skill in Node JS 8. I have an intent set up with slots and it works properly if I say Ask {skill name} to {utterance}. I'd like to design my skill so that the user can just say Open {skill Name} and on opening it will ask them for input that will then be handled and passed to the intent. I've seen multiple people say that you can't do this. But I've used 2 skills today that did exactly this. I'm just looking for the correct syntax to do this. I have: 'LaunchRequest': function() { this.response.speak("What note would you like?"); this.emit(':responseReady'); } Which seems like it

Troubleshooting Amazon's Alexa Skill Kit (ASK) Lambda interaction

99封情书 提交于 2019-12-02 05:33:35
问题 I'm starting with ASK development. I'm a little confused by some behavior and I would like to know how to debug errors from the "service simulator" console. How can I get more information on the The remote endpoint could not be called, or the response it returned was invalid. errors? Here's my situation: I have a skill and three Lambda functions (ARN:A, ARN:B, ARN:C). If I set the skill's endpoint to ARN:A and try to test it from the skill's service simulator, I get an error response: The