我将 watson-developer-cloud 与 nodejs 一起使用,并尝试删除intent
以下内容:
let IntentName = req.body.intentName;
var params = {
workspace_id: workspaceId,
intent: // delete more than on intent here
};
conversation.deleteIntent(params, function(err, response) {
if (err) {
console.error(err);
} else {
console.log(JSON.stringify(response, null, 2));
}
});
如何删除多个?