mirror of
https://github.com/jambonz/verb-specifications.git
synced 2025-12-19 04:47:47 +00:00
support elevenlabs stt (#116)
This commit is contained in:
20
specs.json
20
specs.json
@@ -759,7 +759,8 @@
|
||||
"speechmaticsOptions": "#speechmaticsOptions",
|
||||
"openaiOptions": "#openaiOptions",
|
||||
"houndifyOptions": "#houndifyOptions",
|
||||
"gladiaOptions": "object"
|
||||
"gladiaOptions": "object",
|
||||
"elevenlabsOptions": "#elevenlabsOptions"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -874,6 +875,23 @@
|
||||
"languageModel": "string"
|
||||
}
|
||||
},
|
||||
"elevenlabsOptions": {
|
||||
"properties": {
|
||||
"includeTimestamps": "boolean",
|
||||
"commitStrategy": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"manual",
|
||||
"vad"
|
||||
]
|
||||
},
|
||||
"vadSilenceThresholdSecs": "number",
|
||||
"vadThreshold": "number",
|
||||
"minSpeechDurationMs": "number",
|
||||
"minSilenceDurationMs": "number",
|
||||
"enableLogging": "boolean"
|
||||
}
|
||||
},
|
||||
"cobaltOptions": {
|
||||
"properties": {
|
||||
"serverUri": "string",
|
||||
|
||||
@@ -543,6 +543,24 @@ test("validate correct verbs", async (t) => {
|
||||
"interim": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
"recognizer": {
|
||||
"vendor": "nvidia",
|
||||
"language" : "en-US",
|
||||
"interim": true,
|
||||
"elevenlabsOptions": {
|
||||
"includeTimestamps": true,
|
||||
"commitStrategy": "vad",
|
||||
"vadSilenceThresholdSecs": 0.8,
|
||||
"vadThreshold": 0.5,
|
||||
"minSpeechDurationMs": 300,
|
||||
"minSilenceDurationMs": 500,
|
||||
"enableLogging": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
|
||||
Reference in New Issue
Block a user