mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
feat/856: sending DEEPGRAM_SPEECH_MODEL_VERSION to deepgram (#858)
This commit is contained in:
@@ -45,7 +45,8 @@ const stickyVars = {
|
|||||||
'DEEPGRAM_SPEECH_ENDPOINTING',
|
'DEEPGRAM_SPEECH_ENDPOINTING',
|
||||||
'DEEPGRAM_SPEECH_UTTERANCE_END_MS',
|
'DEEPGRAM_SPEECH_UTTERANCE_END_MS',
|
||||||
'DEEPGRAM_SPEECH_VAD_TURNOFF',
|
'DEEPGRAM_SPEECH_VAD_TURNOFF',
|
||||||
'DEEPGRAM_SPEECH_TAG'
|
'DEEPGRAM_SPEECH_TAG',
|
||||||
|
'DEEPGRAM_SPEECH_MODEL_VERSION'
|
||||||
],
|
],
|
||||||
aws: [
|
aws: [
|
||||||
'AWS_VOCABULARY_NAME',
|
'AWS_VOCABULARY_NAME',
|
||||||
@@ -709,7 +710,9 @@ module.exports = (logger) => {
|
|||||||
...(deepgramOptions.vadTurnoff) &&
|
...(deepgramOptions.vadTurnoff) &&
|
||||||
{DEEPGRAM_SPEECH_VAD_TURNOFF: deepgramOptions.vadTurnoff},
|
{DEEPGRAM_SPEECH_VAD_TURNOFF: deepgramOptions.vadTurnoff},
|
||||||
...(deepgramOptions.tag) &&
|
...(deepgramOptions.tag) &&
|
||||||
{DEEPGRAM_SPEECH_TAG: deepgramOptions.tag}
|
{DEEPGRAM_SPEECH_TAG: deepgramOptions.tag},
|
||||||
|
...(deepgramOptions.version) &&
|
||||||
|
{DEEPGRAM_SPEECH_MODEL_VERSION: deepgramOptions.version}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else if ('soniox' === vendor) {
|
else if ('soniox' === vendor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user