mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
add more logs
This commit is contained in:
@@ -192,6 +192,7 @@ class Cognigy extends Task {
|
|||||||
_makeSayTask({ text, turnConfig } = {}) {
|
_makeSayTask({ text, turnConfig } = {}) {
|
||||||
this.logger.debug({text, turnConfig}, '_makeSayTask');
|
this.logger.debug({text, turnConfig}, '_makeSayTask');
|
||||||
const config = this.config.makeSayTaskConfig({text, turnConfig });
|
const config = this.config.makeSayTaskConfig({text, turnConfig });
|
||||||
|
this.logger.debug({config}, "created say task config");
|
||||||
const say = makeTask(this.logger, { say: config }, this);
|
const say = makeTask(this.logger, { say: config }, this);
|
||||||
return say;
|
return say;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class SpeechConfig extends Emitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
makeSayTaskConfig({text, turnConfig = {}} = {}) {
|
makeSayTaskConfig({text, turnConfig = {}} = {}) {
|
||||||
const synthesizer = lodash.merge({}, this.sessionConfig.synthesizer, turnConfig);
|
const synthesizer = lodash.merge({}, this.sessionConfig.synthesizer, turnConfig.synthesizer);
|
||||||
return {
|
return {
|
||||||
text,
|
text,
|
||||||
synthesizer
|
synthesizer
|
||||||
|
|||||||
Reference in New Issue
Block a user