mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-29 02:44:12 +00:00
support fetch tts/stt deepgram models from rest api (#457)
This commit is contained in:
1 parent
c7e279d0ee
commit
bb5dba7c20
3 files changed
+104
-5
No files matched your search
@@ -215,7 +215,8 @@ const encryptCredential = (obj) => {
|
||||
if (!deepgram_stt_uri || !deepgram_tts_uri) {
|
||||
assert(api_key, 'invalid deepgram speech credential: api_key is required');
|
||||
}
|
||||
const deepgramData = JSON.stringify({api_key, deepgram_stt_uri, deepgram_stt_use_tls, deepgram_tts_uri});
|
||||
const deepgramData = JSON.stringify({api_key, deepgram_stt_uri,
|
||||
deepgram_stt_use_tls, deepgram_tts_uri, model_id});
|
||||
return encrypt(deepgramData);
|
||||
|
||||
case 'ibm':
|
||||
|
||||
Reference in new issue
Block a user