- Navigate to
./.askdirectory, copyconfig.examplefile and rename it toconfig - Navigate to
./lambda/customdirectory and runnpm installto install the dependencies listed inpackage.json
- ASK CLI
ask deploy: deploy the latest changes to AWS
- BST CLI
bst launch: simulate a launch requestbst utter <UTTERANCE> -m models/it-IT.json: simulate an utterance
You must implement code for the following handlers:
- help
- start
- stop
- error
The following diagrams show the expected behavior for each handler.
Tips:
- You must list all the intents in
models/it-IT.json - The
canHandlemethod must returntrueif the handler should manage the user's request,falseotherwise handlerInput.requestEnvelope.request.typeis equal to'IntentRequest'if the request is an intenthandlerInput.requestEnvelope.request.intent.namecontains the name of the intent that matched the request (if any)- You can close the session by passing
trueto thewithShouldEndSessionmethod



