From f0ffdee9c65637ffef82329da25d7f89a0f6b1a2 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Wed, 21 Jan 2026 19:28:44 +0700 Subject: [PATCH] support speechamtics end_of_utterance_silence_trigger (#121) --- specs.json | 8 ++++++++ test/jambonz-verb-test.js | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/specs.json b/specs.json index 0cf287b..f2342f8 100644 --- a/specs.json +++ b/specs.json @@ -1085,6 +1085,7 @@ "additional_vocab": "array", "diarization": "string", "speaker_diarization_config": "#sm_speakerDiarizationConfig", + "conversation_config": "#sm_conversationConfig", "enable_partials": "boolean", "max_delay": "number", "max_delay_mode": { @@ -1112,6 +1113,13 @@ "required": [ ] }, + "sm_conversationConfig": { + "properties": { + "end_of_utterance_silence_trigger": "number" + }, + "required": [ + ] + }, "sm_puctuationOverrides": { "properties": { "permitted_marks": "array", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index c2ac9fc..6cb8021 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -644,6 +644,24 @@ test("validate correct verbs", async (t) => { } } ] + }, + { + "verb": "transcribe", + "transcriptionHook": "http://example.com/transcribe", + "recognizer": { + "vendor": "speechmatics", + "language": "en", + "speechmaticsOptions": { + "transcription_config": { + "language": "en", + "enable_partials": true, + "max_delay": 2, + "conversation_config": { + "end_of_utterance_silence_trigger": 0.5 + } + } + } + } } ]; try {