alexa-skills-kit

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

瘦欲@ 提交于 2019-12-01 22:44:39
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 remote endpoint could not be called, or the response it returned was invalid. I copy the lambda request, I

alexa skill user input for spelling out letters

别说谁变了你拦得住时间么 提交于 2019-12-01 21:11:34
I'd like Alexa to be able to accept a variable-length list of English letters to my custom skill. It will allow users to search based on a string. There's two steps to this: Getting good representation for individual letters that Alexa can understand Enumerating sample utterances with variable number of letters For the first, one way would be to define a custom slot that has as its enumerated values of the English alphabet: SLOT_LETTER ay bee see dee ee eff gee ... etc but that feels hacky. Does Amazon support any way to do this or is there a cleverer way? I'd really rather not use NATO

Alexa Skills Set SDK - increase timeout of skill

╄→гoц情女王★ 提交于 2019-12-01 14:03:28
I am building an Alexa instructional exercise skill using the Alexa Skill Set SDK on nodejs. I am saving each cooking step to the DB, therefore if the skill times out, the user can reopen the skill and continue where they left off. Problem is that users are annoyed that they have to keeping reopening the skill, people work at different speeds, is it possible to keep the skill open or increase the time out whilst I wait for the user to complete the step and then say "Alexa, next step"? I tried increasing the lambda timeout, it made no difference. I have been trying to do this for quite awhile.

Account Linking Alexa with Twitter - Amazon Echo

自作多情 提交于 2019-12-01 13:34:58
As of now I cannot seem to get my Alexa skill linked with twitter. Currently, I have a node/express server running on EBS which, I am using passport-twitter to handle the oauth part of the authentication. Right now my flow is such: Enable skill in Alexa app Click 'sign in to account' in alexa app Twitter Login screen is displayed and I enter user name and password then click Login button get redirected to Amazon provided url for callback once authenticated and get an 'Unable to link you skill'. I login and everything, so I think issue is with redirection, which is defined in the twitter auth

Alexa Skills Set SDK - increase timeout of skill

久未见 提交于 2019-12-01 11:36:36
问题 I am building an Alexa instructional exercise skill using the Alexa Skill Set SDK on nodejs. I am saving each cooking step to the DB, therefore if the skill times out, the user can reopen the skill and continue where they left off. Problem is that users are annoyed that they have to keeping reopening the skill, people work at different speeds, is it possible to keep the skill open or increase the time out whilst I wait for the user to complete the step and then say "Alexa, next step"? I tried

How to give input to Amazon Alexa Skills Kit (ASK) mixed string with numbers?

ぃ、小莉子 提交于 2019-12-01 05:59:14
I'm trying to create a Amazon Alexa Skills Kit to do some kind of automation which would be required to take speech input comprised of strings and numbers ( a-test12fish ). When I've used custom slots in Alexa Skills Kit, it is not letting me key in strings with numbers. When I try to key in ask alexa, dangerZone find a-test12fish , I'm getting the following error: Error: Invalid text input. Text should begin with alphabets and should only contain alphabets, whitespaces, periods or apostrophes How can I overcome this error? Here's a solution. You probably don't want to complete this in the

How to give input to Amazon Alexa Skills Kit (ASK) mixed string with numbers?

江枫思渺然 提交于 2019-12-01 02:59:51
问题 I'm trying to create a Amazon Alexa Skills Kit to do some kind of automation which would be required to take speech input comprised of strings and numbers ( a-test12fish ). When I've used custom slots in Alexa Skills Kit, it is not letting me key in strings with numbers. When I try to key in ask alexa, dangerZone find a-test12fish , I'm getting the following error: Error: Invalid text input. Text should begin with alphabets and should only contain alphabets, whitespaces, periods or

How are consumed read capacity units calculated in DynamoDB query

强颜欢笑 提交于 2019-11-30 23:08:40
I've seen the page on amazon and understand that 1 RCU is a 4KB item. If I have a table with 50 items, I've read that a scan will read the full 50 items and use 50 RCU. But lets say I did a query, my table is 10 by 5, will it still use 50 RCU? Scanning a table that contains 50 items will consume 50 RCU only if the total size of the 50 items combined equal 200KB (for a strongly consistent read, or 400KB for an eventual consistent read). Most items are not that big, so a 50 items typically only require about 10KB to store meaning a full scan for a table of 50 items, with eventual consistency,

Alexa skill kit vs Alexa Voice Service

瘦欲@ 提交于 2019-11-30 19:32:10
I'm working on an Alexa skill (for Echo), and i've looked into Alexa skill kit from the very start. Now, i'm confused about Alexa Voice Service. i've read documentation on Amazon, but cannot understand it in a better way. Please guide about What's AVS? And how is it related to Alexa skills? The Alexa Skill Kit is for creating skills that specifically run on the Amazon Echo or any other device that contains Alexa. The Alexa Voice Service allows you to add Alexa's voice control to any product that has a microphone and speaker. To Read more about Alexa Voice Service check out this link: https:/

Alexa Skill not recognized when tested on Echo

爱⌒轻易说出口 提交于 2019-11-30 18:02:40
I was doing one of the tutorials (HelloWorld) to make a skill for the Echo and I followed the directions. When I tested the skill using the Service Simulator, I typed in Alexa, tell Greeter to say hello and that returned the following JSON response: { "version": "1.0", "response": { "outputSpeech": { "type": "PlainText", "text": "Hello World!" }, "card": { "content": "Hello World!", "title": "Greeter", "type": "Simple" }, "shouldEndSession": true }, "sessionAttributes": {} } I think that is the correct output. However, when I tried testing the skill on my Echo, Alexa replies "Sorry, I didn't