alexa-skills-kit

Does / can Alexa replace its generated UserId for a linked user?

旧时模样 提交于 2020-01-22 02:25:51
问题 We have an application utilizing Alexa skill with account linking for user details. According to Alexa's account linking documentation: Our skill is set up for Account Linking which in turn refers to a 3rd party (or it could be internal) Identity Management System (IMS) for user authentication. Our application (as well as our organization) does NOT internally maintain the app's user identities. Let's say the user enabled our skill on her device, at which point (according to the above docs)

No response from any other intent request except Launch request

偶尔善良 提交于 2020-01-22 02:24:07
问题 I'm new to Alexa skill creation. I tried to create a skill for my term project in college and am trying to finish it. I've finally got the Lambda and interaction model communicating and am now testing the skill in the tool. I'm finding 2 issues. 1) The invocation name is sending me the unhandled response back, and 2) None of the intents outside of the launch intent are sending any response back. The Lambda code is as below: "use strict"; var Alexa = require("alexa-sdk"); var handlers = {

using slots in skill intent to search dynamodb

寵の児 提交于 2020-01-16 15:44:09
问题 I'm new to alexa, nodejs and coding in general but i am currently trying to create a skill to find machine states from my dynamodb table using date and time. I currently have set up my skill to get alexa and lambda to understand my slot values but im not sure how i can use these values for a dynamodb query and have alexa call out the state for that corresponding time My table is setup with a primary and sort key which are date and time and i have a third column for machine state. I'm not sure

Echo Spot record video using inbuilt camera - Custom skill

冷暖自知 提交于 2020-01-16 02:02:32
问题 I have a requirement to record video using Amazon device. Currently, I have the Echo spot device and tried to find some way from which I can open the camera and start recording until I give the command to stop, using the custom skill. But didn't get the success. What I have gone through till now is: Alexa.CameraStreamController Interface By which I can handle the camera and Alexa.MediaMetadata Interface to handle recorded videos. But couldn't find anything useful. Can I use an inbuilt camera

How can I get Alexa working on my iOS app?

断了今生、忘了曾经 提交于 2020-01-13 04:54:06
问题 I have been checking out the Alexa Skills kit the past few days. I have also been poring through the documentations for both the Skills kit and the Voice Service. I am just having a little hiccup trying to understand the flow. I have implemented one of amazon's sample skills (favourite colour sample) in the developer console and also wrote a sample lambda function to handle the type of response that will be delivered. Its working on the test simulator and what left is basically getting lambda

How can i restart a dialog in Alexa Skill

99封情书 提交于 2020-01-03 05:07:06
问题 I have a NewContactIntent where the user enters data like first name and mobile number etc. I want him to be able to restart the dialog at any point. Therefore I have a RestartIntent so when the user says 'Restart' the RestartIntentHandler handles the request and should forward it back to the NewContactIntent. Here is the code: const NewContactIntentHandler = { canHandle(handlerInput) { return handlerInput.requestEnvelope.request.type === 'IntentRequest' && handlerInput.requestEnvelope

How to fallback into error when reprompt is processed in Alexa Skill

让人想犯罪 __ 提交于 2020-01-03 04:23:06
问题 I'm new to developing Alexa Skills. I'm working on a Skill for the Spanish store, so I'm using the es-ES voice. I use the Node.js ASK-SDK and I've come across this issue: When I'm trying to develop a conversation with reprompt, if the user says gibberish, that shouldn't trigger any of my utterances, I expect to enter in the Error Handler, as it's the one with canHandle == true, but the actual result is that that gibberish is detected and sorted by Alexa as one of the correct utterances. I've

Getting an Alexa Slot value out of an intent

爱⌒轻易说出口 提交于 2020-01-02 03:59:44
问题 I'm working to build an Alexa skill and have run into a roadblock on getting my slot values out of the intent object. The intent object JSON looks like so: "intent": { "name": "string", "slots": { "string": { "name": "string", "value": "string" } } } My question is what will that first "string" value be to identify the slots? The documentation has this: A map of key-value pairs that further describes what the user meant based on a predefined intent schema. The map can be empty. The key is a

Ask user for input from LaunchIntent

拈花ヽ惹草 提交于 2019-12-31 07:29:14
问题 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()

Alexa Skill not recognized when tested on Echo

自闭症网瘾萝莉.ら 提交于 2019-12-30 05:47:07
问题 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