set default deepgram model by language and task (gather vs transcribe) (#610)

* set default deepgram model by language and task (gather vs transcribe)

* wip
This commit is contained in:
Dave Horton
2024-01-14 10:38:14 -05:00
committed by GitHub
parent 09a83e3a31
commit f22d66dfd6
4 changed files with 51 additions and 4 deletions

View File

@@ -266,7 +266,7 @@ module.exports = (logger) => {
/* set stt options */
logger.info(`starting amd for vendor ${vendor} and language ${language}`);
const sttOpts = amd.setChannelVarsForStt({name: TaskName.Gather}, sttCredentials, {
const sttOpts = amd.setChannelVarsForStt({name: TaskName.Gather}, sttCredentials, language, {
vendor,
hints,
enhancedModel: true,