support deepgram (#579)

* support deepgram

* update speech utils
This commit is contained in:
Hoan Luu Huu
2023-12-26 19:46:35 +07:00
committed by GitHub
parent 9eb315ecd6
commit 3e8474867f
3 changed files with 10 additions and 8 deletions

View File

@@ -76,6 +76,8 @@ class TaskSay extends Task {
voice = arr[1];
model = arr[2];
}
} else if (vendor === 'deepgram') {
model = voice;
}
/* allow for microsoft custom region voice and api_key to be specified as an override */

14
package-lock.json generated
View File

@@ -15,7 +15,7 @@
"@jambonz/http-health-check": "^0.0.1",
"@jambonz/mw-registrar": "^0.2.4",
"@jambonz/realtimedb-helpers": "^0.8.7",
"@jambonz/speech-utils": "^0.0.31",
"@jambonz/speech-utils": "^0.0.33",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.46",
@@ -3432,9 +3432,9 @@
}
},
"node_modules/@jambonz/speech-utils": {
"version": "0.0.31",
"resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.0.31.tgz",
"integrity": "sha512-U9bxEx93lc/6Ru6kAtER1S/cQJ5MfHw9AGVafrkdlbBuHHXWFvKgb1nQDvEsaEDg8+36ukI9Zrkub2eClzSaMA==",
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.0.33.tgz",
"integrity": "sha512-dJnOSbmPIPCdy1CUweTE9B5tNhC9I6NjcVY/X2I0S+Ao3jzQdZLXCMlKsaswDQ72eCh0YyMs4ZORV05ummBelg==",
"dependencies": {
"@aws-sdk/client-polly": "^3.359.0",
"@aws-sdk/client-sts": "^3.458.0",
@@ -14816,9 +14816,9 @@
}
},
"@jambonz/speech-utils": {
"version": "0.0.31",
"resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.0.31.tgz",
"integrity": "sha512-U9bxEx93lc/6Ru6kAtER1S/cQJ5MfHw9AGVafrkdlbBuHHXWFvKgb1nQDvEsaEDg8+36ukI9Zrkub2eClzSaMA==",
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.0.33.tgz",
"integrity": "sha512-dJnOSbmPIPCdy1CUweTE9B5tNhC9I6NjcVY/X2I0S+Ao3jzQdZLXCMlKsaswDQ72eCh0YyMs4ZORV05ummBelg==",
"requires": {
"@aws-sdk/client-polly": "^3.359.0",
"@aws-sdk/client-sts": "^3.458.0",

View File

@@ -31,7 +31,7 @@
"@jambonz/http-health-check": "^0.0.1",
"@jambonz/mw-registrar": "^0.2.4",
"@jambonz/realtimedb-helpers": "^0.8.7",
"@jambonz/speech-utils": "^0.0.31",
"@jambonz/speech-utils": "^0.0.33",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.46",