mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-29 23:04:29 +00:00
add text promt to gather
This commit is contained in:
1 parent
d76a5e6efb
commit
924627a50c
1 file changed
+1
-1
@@ -235,7 +235,7 @@ class Cognigy extends Task {
|
||||
this.logger.info({prompts: this.prompts}, 'Cognigy:_onBotFinalPing');
|
||||
try {
|
||||
await this.taskQueue.lastPromise;
|
||||
this.gatherTask = this._makeGatherTask();
|
||||
this.gatherTask = this._makeGatherTask({textPrompt: "this is a text promt"});
|
||||
this.gatherTask.exec(cs, ep, this)
|
||||
.catch((err) => this.logger.info({err}, 'Cognigy gather task returned error'));
|
||||
this.prompts = [];
|
||||
|
||||
Reference in new issue
Block a user