Skip to content

capside/alexa-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Voice assistants

Alexa registration

Glosary

  • Custom skill
  • Intent (actions schema)
  • Slots
  • Utterances
  • Function or web service
  • Configuration
  • Card

Permission configuration

  • Download and install AWS Cli
  • Create a IAM user for serverless and download AK/SC
    • AWSLambdaFullAccess
    • IAMFullAccess
    • AmazonS3FullAccess
    • AmazonAPIGatewayAdministrator
    • CloudformationFullAccess
  • Set up credentials: aws configure

Skill development

  • Download and install Serverless

    • Install NodeJs
    • Run npm install -g serverless
    • Check it with sls --version
  • Create a new project with serverless create --template aws-nodejs --path motivator

  • Configure the serverless.yml file

service: motivator

provider:
  name: aws
  runtime: nodejs4.3
  region: eu-west-1

functions:
  motivator:
    handler: handler.motivator
    events:
      - alexaSkill
  • Deploy with sls deploy

Configure skill

  • Skills Kit
  • Press Add a New Skill
  • Skill information
    • English UK as language
    • Motivator as name
    • "Alexa, ask motivator" as invocation
  • Interaction model
    • Be sure to us UK English
    • Set intent
		{
		  "intents": [
			{
			  "intent": "motivator",
			  "slots": [
				{
				  "name": "target",
				  "type": "CIBERADO_NAMES"
				}
			  ]
			}
		  ]
		}
* Press *Add Slot Type*
* Set "CIBERADO_NAMES" as slot name and "Emma, Pau, Jesus, Javi, Me, Myself" as values (one on each line)
* Add next utterances:
motivator energize myself
motivator energize me
motivator give me energy
motivator motivate me
motivator motivate {target}
  • Endpoint
    • Set Lambda to what sls info --verbose reflects (without version number)
  • Complete the rest of the configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published