Simulate built-in intents
This commit is contained in:
@@ -68,6 +68,19 @@ var generateInteractionModel = function (skill) {
|
||||
allIntents.push ({name: intent.intentName, samples: intent.questions});
|
||||
});
|
||||
|
||||
//Special intents (Amazon built-in don't work, probably something related to existance of dialog intent
|
||||
allIntents.push ({
|
||||
name: 'HelpIntent',
|
||||
samples: ['Help', 'Can you help me', 'I need help'],
|
||||
slots: [],
|
||||
});
|
||||
|
||||
allIntents.push ({
|
||||
name: 'CancelIntent',
|
||||
samples: ['Cancel', 'Stop', 'Please stop'],
|
||||
slots: [],
|
||||
});
|
||||
|
||||
//Special intent for sending message (Dialog)
|
||||
|
||||
allIntents.push ({
|
||||
|
||||
Reference in New Issue
Block a user