alexa

Use Alexa voice to read out text

南笙酒味 提交于 2019-12-11 06:56:49
问题 I would like to use the Alexa voice on web and in an iOS App to read out text from a content page. In short I would like to use the Alexa voice for speech synthesis. Is there any way to achieve this? I read the documentation and did not really find a way how to do it. 来源: https://stackoverflow.com/questions/47755420/use-alexa-voice-to-read-out-text

Invoke Alexa device from lambda function

淺唱寂寞╮ 提交于 2019-12-11 06:29:48
问题 I am new in Alexa development. I have successfully create an Alexa skill with AWS lambda function and Node.js code. It's working fine with my Alexa echo plus device. e.g : Alexa, open "mySampleApp" Now, I need to invoke Alexa device to make it speak via from another lambda function. Is it possible? e.g: I just execute my lambda function. I need to make speech output via my Alexa echo plus device. 回答1: Sounds like you want to trigger a notification (make speech output) from outside of your

alexa skill user input for spelling out letters

半腔热情 提交于 2019-12-10 20:39:14
问题 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.

How can I use axios in lambda?

岁酱吖の 提交于 2019-12-10 19:16:02
问题 Do I have to install the axios module locally and then deploy it to lambda or is there a way to do it through the inline code editor as well in the browser? 回答1: Lambda doesn't actually bundle your package dependencies for you, except the AWS package, so yes you'd need to install it locally, zip it together and upload to the Lambda console. 回答2: In the folder where your lambda script is present (index.js) run following command - npm install axios You should see node_modules directory getting

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.amazonalexa.com:443

你。 提交于 2019-12-10 18:12:45
问题 I've been trying to get the Skill Management API working and this morning I've hit a new roadblock without haven't changed anything. I was getting a "User has not consented to this operation error last night" and without changing anything this morning, this is the curl log I'm getting: Trying to hit the API with the same code as last night and now I'm getting: string(513) " * Hostname api.amazonalexa.com was found in DNS cache * Trying 54.239.28.187... * TCP_NODELAY set * Connected to api

How to import Alexa skill into API.AI / Dialogflow?

孤街醉人 提交于 2019-12-10 17:16:40
问题 I'm trying to export my Alexa Skill / import it into Dialogflow (used to be called API.AI), but I'm getting the following error message: Invalid Alexa schema json file. My Zip file is the index.js file and the node_modules folder zipped together. Then I added the Alexa Skill JSON named schema.json to the zip too, but it still gives the same error. I cannot find instructions on how to export the correct Alexa .zip for import, nor how to format the zip to build it myself. I've been searching

How to set credentials in new Amazon Alexa.com Rank API in Php?

好久不见. 提交于 2019-12-10 11:58:06
问题 I am working on new Alexa.com Api and testing it out and I having a problem setting credentials in it. I have an access key and secret key but not Session Token and Expiration.Idk where to get them. Also see this $awsCredentials = $result->get('Credentials'); and I could not find its root to set credentials. I have an access key and secret key for my Alexa API calls. And I have setup up AWS SDK for PHP 3 protected function SetCredentials($awsCredentials) { $this->accessKeyId = $awsCredentials

ASK CLI to deploy to different environments?

我是研究僧i 提交于 2019-12-10 09:36:40
问题 Is it possible to use Alexa Skill Kit's ASK CLI deploy command to build, for example, a debug version of the app that deploys a development environment and a release version of the app that deploys to a test environment? My team and I are trying to deploy the same skill to two different environments, so our testing team can do their thing in the test environments and development can do their thing in the development environment. This will be a private skill so using http://developer.amazon

My custom slot type is taking on unexpected values

落爺英雄遲暮 提交于 2019-12-08 21:59:40
问题 I noticed something strange when testing my interaction model with the Alexa skills kit. I defined a custom slot type, like so: CAR_MAKERS Mercedes | BMW | Volkswagen And my intent scheme was something like: { "intents": [ { "intent": "CountCarsIntent", "slots": [ { "name": "CarMaker", "type": "CAR_MAKERS" }, ... with sample utterances such as: CountCarsIntent Add {Amount} cars to {CarMaker} Now, when testing in the developer console, I noticed that I can write stuff like: "Add three cars to

How to implement a next intent in alexa

旧街凉风 提交于 2019-12-08 07:57:40
问题 How do you implement an 'AMAZON.NextIntent' in an alexa skill. suppose I have 3 audios(a1, a2, a3) enqueued and a1 is playing. If the user sends the request using 'nextIntent', what should be the response so that alexa plays a2? 回答1: Alexa SDK provides you ability to keep the state in session attributes. For Node.js it's this.attributes . You can read more about here in Skill State Management section. You can keep the current step in that attribute. Once your skill is started you can set the