mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
add text promt to gather
This commit is contained in:
@@ -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