support speechamtics end_of_utterance_silence_trigger (#121)

This commit is contained in:
Hoan Luu Huu
2026-01-21 19:28:44 +07:00
committed by GitHub
parent 1013db46d3
commit f0ffdee9c6
2 changed files with 26 additions and 0 deletions

View File

@@ -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",

View File

@@ -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 {