alexa-skills-kit

Alexa Recursive Intent Delegation when using Confirmations

大兔子大兔子 提交于 2020-08-08 05:36:45
问题 I am writing an Alexa dialog with intent confirmation. When confirmation is denied I want to restart the same dialog again by delegating to this very dialog. I am proceeding like described in this stack overflow question. As described in the solution to this question I do the delegation when the dialogState is still IN_PROGRESS . In my case Alexa always responds with the not very meaningful message There was a problem with the requested skill's response . No error message in the application

Sample python code for Account Linking in Amazon Alexa

老子叫甜甜 提交于 2020-05-14 12:11:59
问题 Where can i find the sample Python code for Account linking in Amazon Alexa. I was only able to get the documentation here. https://developer.amazon.com/docs/account-linking/understand-account-linking.html Please help me !! 回答1: Account linking works the same way for all languages and you should be familiar with OAuth2 to configure account linking in developer portal. Users can link account in two ways: From the skill detail card in the Alexa app while enabling the skill. From a link account

Alexa Skill with Azure AD B2C Auth expires after an hour

别等时光非礼了梦想. 提交于 2020-04-18 05:44:13
问题 I am currently building an Alexa skill backed by Azure Functions (.NET Core/C#) and Azure AD B2C for authentication. For the initial setup, I used mostly used the instructions found in this arcticle. Since, the article was written a couple of years ago, I had to make a few changes. In the end, I landed on the following configuration: Azure Active Directory B2C As I mentioned, we are using AAD B2C for authentication. Users of a related application are able to sign-up and sign-in to a React

How to clear custom slot value programmatically in Alexa?

允我心安 提交于 2020-03-23 07:53:21
问题 I have an Alexa skill which requires to programmatically override the values given by the user. I have tried nullifying the value and later pass it in as the "updated Intent". this.event.request.intent.userPrompt.value = null; var updatedIntent = this.event.request.intent; this.emit(':elicitSlot', 'userPrompt',"Say something","Say something", updatedIntent); However, the input JSON shows previous value. Is there a solution to this? 回答1: there is delete this.event.request.intent.slots.

How to import Python external libraries with Alexa Skill Kit SDK?

不羁岁月 提交于 2020-01-25 08:06:50
问题 I am developing a skill using Alexa Skill Kit SDK on Amazon Developer Console. My code has import numpy , which generates a runtime error. All solutions that I have googled are about uploading numpy source code onto AWS, which I do not find it relevant to the Alexa Skill Kit. 回答1: I think you are building an Alexa-hosted skill in python. As the docs says: You can use Python to install dependencies. You add dependencies in the requirements.txt file. An example of the code is shown below: boto3

How to import Python external libraries with Alexa Skill Kit SDK?

半世苍凉 提交于 2020-01-25 08:06:04
问题 I am developing a skill using Alexa Skill Kit SDK on Amazon Developer Console. My code has import numpy , which generates a runtime error. All solutions that I have googled are about uploading numpy source code onto AWS, which I do not find it relevant to the Alexa Skill Kit. 回答1: I think you are building an Alexa-hosted skill in python. As the docs says: You can use Python to install dependencies. You add dependencies in the requirements.txt file. An example of the code is shown below: boto3

How to extend built-in slot type with additional values in Alexa?

送分小仙女□ 提交于 2020-01-25 02:19:07
问题 Actually, I have used AMAZON.DATE which is Alexa built-in slot. Now I want to add 'daily' value in that slot. So can anyone tell me how to extend Alexa built-in slots, like how to add additional values in the built-in slot? Please give an example. You can see I have user AMAZON.DATE in my set reminder intent in image 1 In image 2 you can see built-in slot type but I do not get any option to add any additional values. So please help me to achieve this. 回答1: According to documentation you can