alexa-skills-kit

Amazon Alexa: store user's words

孤街浪徒 提交于 2019-11-27 05:44:40
问题 I'm new to writing Alexa skills and want to write a skill to store the speaker's words. For example, if I say, 'Alexa, save {whatever i say}', it should save the words in some string. Now from what I understand, the intent schema something should be like { intents:[ "intent" : "SaveIntent" ] } and utterances like SaveIntent save SaveIntent store In this case, how do I store '{whatever I say}'? 回答1: To capture free-form speech input (rather than a defined list of possible values), you'll need

How do I add python libraries to an AWS lambda function for Alexa?

筅森魡賤 提交于 2019-11-26 19:35:30
问题 I was following the tutorial to create an Alexa app using Python: Python Alexa Tutorial I was able to successfully follow all the steps and get the app to work.I now want to modify the python code and use external libraries such as import requests or any other libraries that I install using pip. How would I setup my lambda function to include any pip packages that I install locally on my machine? 回答1: As it is described in the Amazon official documentation link here It is as simple as just