alexa-skills-kit

How to accept the Free form text as input to Amazon Skill Kit?

六眼飞鱼酱① 提交于 2019-11-30 17:34:31
I'm required to create a Amazon Skill Kit to open a ticket in our ticketing tool. By looking at the examples for Amazon Skill Kit, I couldn't find a way of accepting the free form text as input. Other option is by creating a custom slot with all probable set of inputs as custom slot inputs. But in my case, all i have to do is capture the full content of user input to log it somewhere in the ticket which is very unlikely to expect the probable utterances before hand. Correction to my comment... I, and others, may be misunderstanding the deprecation of the AMAZON.LITERAL. I found that custom

Login with Amazon says user has not consented, but they have - Alexa SMAPI

故事扮演 提交于 2019-11-30 15:57:14
问题 I'm trying to retrieve a list of skills on my Alexa developer account using the Skill Management API (SMAPI). I have the following HTML/javascript: <BODY> <a href id="LoginWithAmazon"> <img border="0" alt="Login with Amazon" src="https://images-na.ssl-images-amazon.com/images/G/01/lwa/btnLWA_gry_312x64.png" width="156" height="32" /> </a> <div id="amazon-root"></div> <script type="text/javascript"> var client_id = "<client id>"; window.onAmazonLoginReady = function() { amazon.Login

Login with Amazon says user has not consented, but they have - Alexa SMAPI

我是研究僧i 提交于 2019-11-30 14:39:11
I'm trying to retrieve a list of skills on my Alexa developer account using the Skill Management API (SMAPI). I have the following HTML/javascript: <BODY> <a href id="LoginWithAmazon"> <img border="0" alt="Login with Amazon" src="https://images-na.ssl-images-amazon.com/images/G/01/lwa/btnLWA_gry_312x64.png" width="156" height="32" /> </a> <div id="amazon-root"></div> <script type="text/javascript"> var client_id = "<client id>"; window.onAmazonLoginReady = function() { amazon.Login.setClientId(client_id); }; (function(d) { var a = d.createElement('script'); a.type = 'text/javascript'; a.async

Simplest example for streaming audio with Alexa

妖精的绣舞 提交于 2019-11-30 12:13:32
I'm trying to get the new streaming audio API going. Is the following response valid? I'm getting a "there was a problem with the skill" error when I test it on my device. Here is the code for my AWS-lambda function: def lambda_handler(event, context): return { "response": { "directives": [ { "type": "AudioPlayer.Play", "playBehavior": "REPLACE_ALL", "audioItem": { "stream": { "token": "12345", "url": "http://emit-media-production.s3.amazonaws.com/pbs/the-afterglow/2016/08/24/1700/201608241700_the-afterglow_64.m4a", "offsetInMilliseconds": 0 } } } ], "shouldEndSession": True } } Joseph

How do I define a custom slot type that isn't a list?

淺唱寂寞╮ 提交于 2019-11-30 10:56:41
问题 I'm playing around with the Alexa Skills Kit (for the Amazon Echo) and want to create a skill that would send the intent to an AWS Lambda function which would just email something back to me. Sample Utterances would be something like this: MemoIntent take a memo {myMemo} MemoIntent to take a memo {myMemo} MemoIntent send a memo {myMemo} This would allow me to say something like "Alexa, ask my secretary to take a memo, remind me to go to the store on my way home today" and would then get an

Alexa skill kit vs Alexa Voice Service

我是研究僧i 提交于 2019-11-30 04:21:34
问题 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? 回答1: 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

How to accept the Free form text as input to Amazon Skill Kit?

元气小坏坏 提交于 2019-11-30 01:02:50
问题 I'm required to create a Amazon Skill Kit to open a ticket in our ticketing tool. By looking at the examples for Amazon Skill Kit, I couldn't find a way of accepting the free form text as input. Other option is by creating a custom slot with all probable set of inputs as custom slot inputs. But in my case, all i have to do is capture the full content of user input to log it somewhere in the ticket which is very unlikely to expect the probable utterances before hand. 回答1: Correction to my

How do I create an Alexa Skill that gets data from an HTTP/HTTPS API (using “Alexa Skills Kit” for Node.js on AWS Lambda)

ⅰ亾dé卋堺 提交于 2019-11-30 01:01:14
I want to create a skill for Amazon Alexa that - when triggered by voice commands - gets some information from an API via a HTTPS request and uses the result as spoken answer to the Alexa user. There is a little challenge here (especially for node.js newbies) due to the event-driven concept of node.js and the internals of the Alexa Skills Kit for Node.js . And getting a hand on parameters from the user isn't that easy, either. Can somebody provide some sample code to start with? Preliminaries To get started you need an Amazon account, and you must enable AWS for the account. Then there is a

How do I define a custom slot type that isn't a list?

◇◆丶佛笑我妖孽 提交于 2019-11-29 22:17:29
I'm playing around with the Alexa Skills Kit (for the Amazon Echo) and want to create a skill that would send the intent to an AWS Lambda function which would just email something back to me. Sample Utterances would be something like this: MemoIntent take a memo {myMemo} MemoIntent to take a memo {myMemo} MemoIntent send a memo {myMemo} This would allow me to say something like "Alexa, ask my secretary to take a memo, remind me to go to the store on my way home today" and would then get an email from my Lambda function saying, "remind me to go to the store on my way home today." The myMemo

How to obtain userId specified by Alexa user during account linking

假装没事ソ 提交于 2019-11-29 18:04:34
During account linking process, Alexa user is redirected and presented with a form to enter his credentials (ID and/or password). Based on what's provided, the user is then being validated by the authentication flow, upon which success an accessToken is embedded in Alexa request and the user is redirected to the OAuth resource. Is there a way to pass the ID of the user obtained in the above interaction as part of the Alexa request (JSON session\user\userId ), instead of (or in addition to) it being a userId that gets generated during user's enabling their skill on a device? Or can the userId