mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-26 05:47:53 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
941ba6aa8c | ||
|
|
1d8cf321a7 | ||
|
|
0d8b9de099 | ||
|
|
08e01efa7f | ||
|
|
1fdda56c39 | ||
|
|
8db0a91521 | ||
|
|
6432d9e64b | ||
|
|
c029a18c3e |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.71",
|
||||
"version": "0.0.75",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.71",
|
||||
"version": "0.0.75",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.71",
|
||||
"version": "0.0.75",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
24
specs.json
24
specs.json
@@ -470,7 +470,8 @@
|
||||
"timeout": "number",
|
||||
"amd": "#amd",
|
||||
"dual_streams": "boolean",
|
||||
"sipRequestWithinDialogHook": "string"
|
||||
"sipRequestWithinDialogHook": "string",
|
||||
"referHook": "object|string"
|
||||
},
|
||||
"required": [
|
||||
"call_hook",
|
||||
@@ -639,6 +640,7 @@
|
||||
"asrDtmfTerminationDigit": "string",
|
||||
"asrTimeout": "number",
|
||||
"fastRecognitionTimeout": "number",
|
||||
"minConfidence": "number",
|
||||
"nuanceOptions": "#nuanceOptions",
|
||||
"deepgramOptions": "#deepgramOptions",
|
||||
"ibmOptions": "#ibmOptions",
|
||||
@@ -649,7 +651,8 @@
|
||||
"azureOptions": "#azureOptions",
|
||||
"assemblyAiOptions": "#assemblyAiOptions",
|
||||
"googleOptions": "#googleOptions",
|
||||
"customOptions": "#customOptions"
|
||||
"customOptions": "#customOptions",
|
||||
"verbioOptions": "#verbioOptions"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -659,6 +662,7 @@
|
||||
"properties": {
|
||||
"authToken": "string",
|
||||
"uri": "string",
|
||||
"sampleRate": "number",
|
||||
"options": "object"
|
||||
},
|
||||
"required": [
|
||||
@@ -690,6 +694,7 @@
|
||||
"azureOptions": {
|
||||
"properties": {
|
||||
"speechSegmentationSilenceTimeoutMs": "number",
|
||||
"postProcessing" : "string",
|
||||
"languageIdMode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -809,6 +814,21 @@
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"verbioOptions": {
|
||||
"properties": {
|
||||
"enable_formatting": "boolean",
|
||||
"enable_diarization": "boolean",
|
||||
"topic": "number",
|
||||
"inline_grammar": "string",
|
||||
"grammar_uri": "string",
|
||||
"label": "string",
|
||||
"recognition_timeout": "number",
|
||||
"speech_complete_timeout": "number",
|
||||
"speech_incomplete_timeout": "number"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sonioxStorage": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
|
||||
@@ -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",
|
||||
@@ -422,6 +447,17 @@ test("validate correct verbs", async (t) => {
|
||||
"interim": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
"recognizer": {
|
||||
"vendor": "nvidia",
|
||||
"language" : "en-US",
|
||||
"customOptions": {
|
||||
"sampleRate": 16000
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
|
||||
Reference in New Issue
Block a user