mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-01-25 02:08:06 +00:00
support speechamtics end_of_utterance_silence_trigger (#121)
This commit is contained in:
@@ -1085,6 +1085,7 @@
|
|||||||
"additional_vocab": "array",
|
"additional_vocab": "array",
|
||||||
"diarization": "string",
|
"diarization": "string",
|
||||||
"speaker_diarization_config": "#sm_speakerDiarizationConfig",
|
"speaker_diarization_config": "#sm_speakerDiarizationConfig",
|
||||||
|
"conversation_config": "#sm_conversationConfig",
|
||||||
"enable_partials": "boolean",
|
"enable_partials": "boolean",
|
||||||
"max_delay": "number",
|
"max_delay": "number",
|
||||||
"max_delay_mode": {
|
"max_delay_mode": {
|
||||||
@@ -1112,6 +1113,13 @@
|
|||||||
"required": [
|
"required": [
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"sm_conversationConfig": {
|
||||||
|
"properties": {
|
||||||
|
"end_of_utterance_silence_trigger": "number"
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
]
|
||||||
|
},
|
||||||
"sm_puctuationOverrides": {
|
"sm_puctuationOverrides": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"permitted_marks": "array",
|
"permitted_marks": "array",
|
||||||
|
|||||||
@@ -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 {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user