mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
default DEEPGRAM_SPEECH_UTTERANCE_END_MS is 1000 (#719)
This commit is contained in:
@@ -690,7 +690,9 @@ module.exports = (logger) => {
|
|||||||
...(deepgramOptions.keywords) &&
|
...(deepgramOptions.keywords) &&
|
||||||
{DEEPGRAM_SPEECH_KEYWORDS: deepgramOptions.keywords.join(',')},
|
{DEEPGRAM_SPEECH_KEYWORDS: deepgramOptions.keywords.join(',')},
|
||||||
...('endpointing' in deepgramOptions) &&
|
...('endpointing' in deepgramOptions) &&
|
||||||
{DEEPGRAM_SPEECH_ENDPOINTING: deepgramOptions.endpointing === false ? 'false' : deepgramOptions.endpointing},
|
{DEEPGRAM_SPEECH_ENDPOINTING: deepgramOptions.endpointing === false ? 'false' : deepgramOptions.endpointing,
|
||||||
|
// default DEEPGRAM_SPEECH_UTTERANCE_END_MS is 1000, will be override by user settings later if there is.
|
||||||
|
DEEPGRAM_SPEECH_UTTERANCE_END_MS: 1000},
|
||||||
...(deepgramOptions.utteranceEndMs) &&
|
...(deepgramOptions.utteranceEndMs) &&
|
||||||
{DEEPGRAM_SPEECH_UTTERANCE_END_MS: deepgramOptions.utteranceEndMs},
|
{DEEPGRAM_SPEECH_UTTERANCE_END_MS: deepgramOptions.utteranceEndMs},
|
||||||
...(deepgramOptions.vadTurnoff) &&
|
...(deepgramOptions.vadTurnoff) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user