dialog test

This commit is contained in:
GotPPay
2018-01-18 07:38:09 +01:00
parent c731f7597c
commit 554a16794d
2 changed files with 104 additions and 7 deletions

View File

@@ -52,22 +52,25 @@ module.exports = {
return response.say (skill.invocationAnswer).shouldEndSession (false);
});
alexaApp.intent (
'EmailIntent',
{
dialog: {
type: 'delegate',
'type': 'delegate',
},
slots: [
{
name: 'Name',
type: 'AMAZON.US_FIRST_NAME',
samples: [],
'name': 'Name',
'type': 'AMAZON.US_FIRST_NAME',
'samples': ['My name is {Name}', 'I am {Name}', '{Name}'],
},
{
name: 'Color',
type: 'AMAZON.Color',
samples:[]
'name': 'Color',
'type': 'AMAZON.Color',
'samples':['My favorite color is {Color}', '{Color}']
},
],
utterances: [