- Navigate to
./.ask
directory, copyconfig.example
file and rename it toconfig
- Navigate to
./lambda/custom
directory and runnpm install
to 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
canHandle
method must returntrue
if the handler should manage the user's request,false
otherwise handlerInput.requestEnvelope.request.type
is equal to'IntentRequest'
if the request is an intenthandlerInput.requestEnvelope.request.intent.name
contains the name of the intent that matched the request (if any)- You can close the session by passing
true
to thewithShouldEndSession
method