Compare commits

...

14 Commits

Author SHA1 Message Date
Dave Horton
6803a3e49d 0.0.34 2023-09-13 09:39:46 -04:00
Hoan Luu Huu
2d2145917e feat fast recognition (#22) 2023-09-13 09:39:17 -04:00
Anton Voylenko
4fa8d46fd8 missing config verbs for listen (#24) 2023-09-13 09:33:25 -04:00
Dave Horton
9690e14f64 0.0.33 2023-09-13 08:59:09 -04:00
Dave Horton
49752d16ea allow specification of token for cobalt speech when compiling contexts 2023-09-13 08:59:01 -04:00
Dave Horton
9e141cba6a 0.0.32 2023-09-12 20:48:02 -04:00
Dave Horton
82e2bc5239 Vendor/cobalt (#23)
* add support for cobalt

* more changes for cobalt

* 0.0.31

* more cobalt options
2023-09-12 20:47:30 -04:00
Dave Horton
3a5b053248 0.0.30 2023-08-19 09:45:46 -04:00
Dave Horton
d74364b1c2 Merge pull request #21 from avoylenko/main
endConferenceDuration for conference verb
2023-08-19 09:45:36 -04:00
Anton Voylenko
213d7596d2 endConferenceDuration for conference verb 2023-08-19 15:36:02 +03:00
Dave Horton
3d4df422e1 0.0.29 2023-08-17 07:53:39 -04:00
Dave Horton
3531711991 Merge pull request #20 from jambonz/feat/fallback_speech
feat fallback speech vendor
2023-08-17 07:53:07 -04:00
Quan HL
f860074a24 fix typo 2023-08-17 11:54:15 +07:00
Quan HL
65de44012a feat fallback speech vendor 2023-08-17 11:29:44 +07:00
4 changed files with 40 additions and 5 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.28",
"version": "0.0.34",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/verb-specifications",
"version": "0.0.28",
"version": "0.0.34",
"license": "MIT",
"dependencies": {
"debug": "^4.3.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.28",
"version": "0.0.34",
"description": "Jambonz Verb Specification Utilities",
"main": "index.js",
"scripts": {

View File

@@ -60,7 +60,12 @@
"type": "string",
"enum": ["mono", "stereo", "mixed"]
},
"metadata": "object"
"metadata": "object",
"maxLength": "number",
"passDtmf": "boolean",
"playBeep": "boolean",
"disableBidirectionalAudio": "boolean",
"timeout": "number"
},
"required": [
"enable"
@@ -181,6 +186,7 @@
"beep": "boolean",
"startConferenceOnEnter": "boolean",
"endConferenceOnExit": "boolean",
"endConferenceDuration": "number",
"maxParticipants": "number",
"joinMuted": "boolean",
"actionHook": "object|string",
@@ -479,6 +485,10 @@
"label": "string",
"language": "string",
"voice": "string",
"fallbackVendor": "string",
"fallbackLabel": "string",
"fallbackLanguage": "string",
"fallbackVoice": "string",
"engine": {
"type": "string",
"enum": ["standard", "neural"]
@@ -498,6 +508,9 @@
"vendor": "string",
"label": "string",
"language": "string",
"fallbackVendor": "string",
"fallbackLabel": "string",
"fallbackLanguage": "string",
"vad": "#vad",
"hints": "array",
"hintsBoost": "number",
@@ -560,11 +573,13 @@
"azureSttEndpointId": "string",
"asrDtmfTerminationDigit": "string",
"asrTimeout": "number",
"fastRecognitionTimeout": "number",
"nuanceOptions": "#nuanceOptions",
"deepgramOptions": "#deepgramOptions",
"ibmOptions": "#ibmOptions",
"nvidiaOptions": "#nvidiaOptions",
"sonioxOptions": "#sonioxOptions",
"cobaltOptions": "#cobaltOptions",
"customOptions": "#customOptions"
},
"required": [
@@ -580,6 +595,18 @@
"required": [
]
},
"cobaltOptions": {
"properties": {
"serverUri": "string",
"enableConfusionNetwork": "boolean",
"metadata": "string",
"compiledContextData": "string",
"wordTimeOffsets": "boolean",
"contextToken": "string"
},
"required": [
]
},
"nvidiaOptions": {
"properties": {
"rivaUri": "string",

View File

@@ -135,6 +135,7 @@ test("validate correct verbs", async (t) => {
"language": "en-US",
"hints": ["sales", "support"],
"hintsBoost": 10,
"fastRecognitionTimeout": 2000,
"deepgramOptions": {
"endpointing": 500
}
@@ -144,7 +145,11 @@ test("validate correct verbs", async (t) => {
"synthesizer": {
"vendor": "google",
"language": "en-US",
"label": "label1"
"label": "label1",
"fallbackVendor": "google",
"fallbackLanguage": "en-US",
"fallbackLabel": "label1",
"fallbackVoice": "voice"
}
}
},
@@ -160,6 +165,9 @@ test("validate correct verbs", async (t) => {
"recognizer": {
"vendor": "google",
"language": "en-US",
"fallbackVendor": "google",
"fallbackLanguage": "en-US",
"fallbackLabel": "label1",
"hints": ["sales", "support"],
"hintsBoost": 10,
"deepgramOptions": {