add test utterance

This commit is contained in:
akirilyuk
2022-02-01 12:22:09 +01:00
parent b8ef1dba73
commit 68b2ad526a

View File

@@ -168,7 +168,7 @@ class Cognigy extends Task {
this.logger.info({}, "TEST FROM ALEX")
this.logger.info({prompts: this.prompts}, 'Cognigy:_onBotFinalPing');
if (this.prompts.length) {
const text = this.prompts.join('.');
const text = "test test test test test".concat(this.prompts.join('.'));
if (text && !this.killed) {
this.gatherTask = this._makeGatherTask({textPrompt: text});
this.gatherTask.exec(cs, ep, this)