Skip to content

zverbatim/babynames-alexa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babynames for Alexa

About

Baby names explorer based of social security public data for 2015 Project based of the alexa java samples

Docs

Setup

  • build mvn assembly:assembly -DdescriptorId=jar-with-dependencies package
  • upload to aws lambda the zip target/babynames-alexa-1.0-jar-with-dependencies.jar
  • modify the id in supportedApplicationIds.add("amzn1.ask.skill.[id]"); for class BabyNamesSpeechletRequestStreamHandler.java

AWS console

If it timeout when creating the lambda function check this stackoverflow

  • install with pip
  • set up aws
  • mv target/babynames-alexa-1.0-jar-with-dependencies.jar target/babynames-alexa-1.0-jar-with-dependencies.zip
  • when you create it for the first time aws lambda create-function --function-name BabyNames --runtime java8 --handler babynames.BabyNamesSpeechletRequestStreamHandler --zip-file fileb://./target/babynames-alexa-1.0-jar-with-dependencies.zip --role [grab the role if from the aws console]
  • to create the function aws lambda update-function-code --function-name BabyNames --zip-file fileb://./target/babynames-alexa-1.0-jar-with-dependencies.zip

TODO

  • Add unit tests tests
  • Extend the intent schema and utterance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published