Skip to content

eballerini/alexa-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alexa-samples

Samples for Amazon Alexa

Here is a very simple TODO list.

To setup - standalone skill (doesn't need a backend)

  1. /todo_list/alexa-skill.json is the Alexa skill.
  2. /todo_list/lambda_function_standalone.py is the lambda function to use in AWS. It needs Python 2.7. This function needs to be hooked up with the Alexa skill.
  3. Configure a SKILL_ID environment variable. This is the Alexa skill id.

To setup - connected skill (requires a backend service running to connect to)

  1. /todo_list/alexa-skill.json is the Alexa skill.
  2. /todo_list/lambda_function_connected.py is the lambda function to use in AWS. It needs Python 3.6. This function needs to be hooked up with the Alexa skill.
  3. Configure a SKILL_ID environment variable. This is the Alexa skill id.
  4. Configure a ENV environment variable and set it to 'cloud'. This is necessary to that AWS lambda can import the proper requests module.
  5. Configure a DOMAIN environment variable. This should point to the instance where the app is running, e.g. https://ec2-11-22-33-44.compute-1.amazonaws.com:8000

To use

Invoke the skill by saying wake word open my custom list. For instance Alexa open my custom list. Then you can say:

  • What is on my list? this will tell you what is on your list
  • Add something Will add someting to the list. Try something like buy groceries or prepare dinner (it is limited to what is configured in the Alexa model).
  • Update list then Alexa should ask you what you want to add. Answer with something
  • Clear the list you will be asked for confirmation

About

Samples for Amazon Alexa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages