Feature/ibm watson (#193)

* initial changes to support ibm watson

* update specs.json for ibm

* update to drachtio-fsmrf with support for ibm

* bugfix: set access token for ibm stt, not api_key

* fix name of api_key

* normalize ibm transcription results

* rework ibm credentials

* bugfix setting runtime speech creds

* bugfix: ibm region

* typo

* changes to transcribe for ibm watson

* implement connect handler

* bugfix: bind error

* proper use of result_index

* ibm error handling
This commit is contained in:
Dave Horton
2022-11-21 22:09:37 -05:00
committed by GitHub
parent 8686348454
commit 71a2435c63
9 changed files with 217 additions and 51 deletions

View File

@@ -153,7 +153,8 @@ function installSrfLocals(srf, logger) {
removeFromList,
lengthOfList,
getListPosition,
getNuanceAccessToken
getNuanceAccessToken,
getIbmAccessToken,
} = require('@jambonz/realtimedb-helpers')({
host: process.env.JAMBONES_REDIS_HOST,
port: process.env.JAMBONES_REDIS_PORT || 6379
@@ -206,7 +207,8 @@ function installSrfLocals(srf, logger) {
removeFromList,
lengthOfList,
getListPosition,
getNuanceAccessToken
getNuanceAccessToken,
getIbmAccessToken
},
parentLogger: logger,
getSBC,