mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-01-25 02:08:06 +00:00
verbioOptions support (#53)
This commit is contained in:
@@ -228,6 +228,31 @@ test("validate correct verbs", async (t) => {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "gather",
|
||||
"actionHook": "http://example.com/collect",
|
||||
"input": ["digits", "speech"],
|
||||
"bargein": true,
|
||||
"dtmfBargein": true,
|
||||
"finishOnKey": "#",
|
||||
"numDigits": 5,
|
||||
"timeout": 8,
|
||||
"recognizer": {
|
||||
"vendor": "verbio",
|
||||
"language": "en-US",
|
||||
"verbioOptions": {
|
||||
"enable_formatting": true,
|
||||
"enable_diarization": true,
|
||||
"topic": 0,
|
||||
"inline_grammar": "this is inline grammar",
|
||||
"grammar_uri": "https://grammar_uri.com",
|
||||
"label": "label",
|
||||
"recognition_timeout": 500,
|
||||
"speech_complete_timeout": 500,
|
||||
"speech_incomplete_timeout": 500,
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"verb": "gather",
|
||||
"actionHook": "http://example.com/collect",
|
||||
|
||||
Reference in New Issue
Block a user