Yes and No intent dont work with dialog

This commit is contained in:
GotPPay
2018-01-23 01:03:59 +01:00
parent 2ae983d211
commit b2386ea0d6
2 changed files with 6 additions and 39 deletions

View File

@@ -64,20 +64,6 @@ var generateInteractionModel = function (skill) {
let result = {};
let allIntents = [];
//Special Amazon intent
allIntents.push ({
name: 'YesIntent',
samples: ['Yes', 'Yes please', 'Sure'],
slots: [],
});
allIntents.push ({
name: 'NoIntent',
samples: ['No', 'No thank you'],
slots: [],
});
skill.intents.map (intent => {
allIntents.push ({name: intent.intentName, samples: intent.questions});
});