fix JSON model
This commit is contained in:
@@ -236,10 +236,12 @@ var generateInteractionModel = function (skill) {
|
|||||||
invocationName: skill.invocationName,
|
invocationName: skill.invocationName,
|
||||||
types: customSlotTypes,
|
types: customSlotTypes,
|
||||||
intents: allIntents,
|
intents: allIntents,
|
||||||
prompts: dialogPrompts,
|
|
||||||
dialog: dialog,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
result.prompts = dialogPrompts;
|
||||||
|
result.dialog = dialog;
|
||||||
|
|
||||||
|
console.log(JSON.stringify(result));
|
||||||
return JSON.stringify (result);
|
return JSON.stringify (result);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user