mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-26 05:47:53 +00:00
Compare commits
16 Commits
feat/deepg
...
v0.0.78
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e57c81aeed | ||
|
|
610b14736a | ||
|
|
4a8517cab5 | ||
|
|
21bb3c2b73 | ||
|
|
e044621bbc | ||
|
|
6d8ffc9d80 | ||
|
|
941ba6aa8c | ||
|
|
1d8cf321a7 | ||
|
|
0d8b9de099 | ||
|
|
08e01efa7f | ||
|
|
1fdda56c39 | ||
|
|
8db0a91521 | ||
|
|
6432d9e64b | ||
|
|
c029a18c3e | ||
|
|
27b1a06944 | ||
|
|
0f9c096988 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.70",
|
||||
"version": "0.0.78",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.70",
|
||||
"version": "0.0.78",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.70",
|
||||
"version": "0.0.78",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
37
specs.json
37
specs.json
@@ -58,7 +58,8 @@
|
||||
"onHoldMusic": "string",
|
||||
"actionHookDelayAction": "#actionHookDelayAction",
|
||||
"sipRequestWithinDialogHook": "object|string",
|
||||
"boostAudioSignal": "number|string"
|
||||
"boostAudioSignal": "number|string",
|
||||
"vad":"#vad"
|
||||
},
|
||||
"required": []
|
||||
},
|
||||
@@ -291,10 +292,12 @@
|
||||
"id": "string",
|
||||
"credentials": "object|string",
|
||||
"project": "string",
|
||||
"agent": "string",
|
||||
"environment": "string",
|
||||
"region": {
|
||||
"region": "string",
|
||||
"model": {
|
||||
"type": "string",
|
||||
"enum": ["europe-west1", "europe-west2", "australia-southeast1", "asia-northeast1"]
|
||||
"enum": ["es", "cx"]
|
||||
},
|
||||
"lang": "string",
|
||||
"actionHook": "object|string",
|
||||
@@ -469,7 +472,8 @@
|
||||
"timeout": "number",
|
||||
"amd": "#amd",
|
||||
"dual_streams": "boolean",
|
||||
"sipRequestWithinDialogHook": "string"
|
||||
"sipRequestWithinDialogHook": "string",
|
||||
"referHook": "object|string"
|
||||
},
|
||||
"required": [
|
||||
"call_hook",
|
||||
@@ -555,7 +559,7 @@
|
||||
"fallbackVoice": "string|object",
|
||||
"engine": {
|
||||
"type": "string",
|
||||
"enum": ["standard", "neural"]
|
||||
"enum": ["standard", "neural", "generative", "long-form"]
|
||||
},
|
||||
"gender": {
|
||||
"type": "string",
|
||||
@@ -638,6 +642,7 @@
|
||||
"asrDtmfTerminationDigit": "string",
|
||||
"asrTimeout": "number",
|
||||
"fastRecognitionTimeout": "number",
|
||||
"minConfidence": "number",
|
||||
"nuanceOptions": "#nuanceOptions",
|
||||
"deepgramOptions": "#deepgramOptions",
|
||||
"ibmOptions": "#ibmOptions",
|
||||
@@ -648,7 +653,8 @@
|
||||
"azureOptions": "#azureOptions",
|
||||
"assemblyAiOptions": "#assemblyAiOptions",
|
||||
"googleOptions": "#googleOptions",
|
||||
"customOptions": "#customOptions"
|
||||
"customOptions": "#customOptions",
|
||||
"verbioOptions": "#verbioOptions"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -658,6 +664,7 @@
|
||||
"properties": {
|
||||
"authToken": "string",
|
||||
"uri": "string",
|
||||
"sampleRate": "number",
|
||||
"options": "object"
|
||||
},
|
||||
"required": [
|
||||
@@ -689,6 +696,7 @@
|
||||
"azureOptions": {
|
||||
"properties": {
|
||||
"speechSegmentationSilenceTimeoutMs": "number",
|
||||
"postProcessing" : "string",
|
||||
"languageIdMode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -808,6 +816,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",
|
||||
@@ -946,6 +969,8 @@
|
||||
"properties": {
|
||||
"enable": "boolean",
|
||||
"voiceMs": "number",
|
||||
"silenceMs": "number",
|
||||
"strategy": "string",
|
||||
"mode": "number"
|
||||
},
|
||||
"required": [
|
||||
|
||||
@@ -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",
|
||||
@@ -337,6 +362,16 @@ test("validate correct verbs", async (t) => {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"vad": {
|
||||
"enable": true,
|
||||
"voiceMs": 250,
|
||||
"silenceMs": 150,
|
||||
"strategy": "one-shot",
|
||||
"mode": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "message",
|
||||
"to": "15083084809",
|
||||
@@ -412,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