mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-27 18:38:21 +00:00
Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76e2486535 | ||
|
|
dfcf1de210 | ||
|
|
7d19707dec | ||
|
|
b4856e9d05 | ||
|
|
577191ed0d | ||
|
|
ee2ffff20d | ||
|
|
4c5b795498 | ||
|
|
7ecd46393c | ||
|
|
8fffe39195 | ||
|
|
23cb499244 | ||
|
|
fb94dc94cb | ||
|
|
30677b6cd1 | ||
|
|
4ea9cda0f8 | ||
|
|
a0b9f963c2 | ||
|
|
841a471faa | ||
|
|
44112f67b3 | ||
|
|
1f7c98c0ce | ||
|
|
276a55e672 | ||
|
|
840db61042 | ||
|
|
85e1b64ee4 | ||
|
|
8ed54e2d51 | ||
|
|
c24fb7996c |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.108",
|
||||
"version": "0.0.118",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.108",
|
||||
"version": "0.0.118",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.108",
|
||||
"version": "0.0.118",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
85
specs.json
85
specs.json
@@ -66,6 +66,7 @@
|
||||
"amd": "#amd",
|
||||
"fillerNoise": "#fillerNoise",
|
||||
"notifyEvents": "boolean",
|
||||
"notifySttLatency": "boolean",
|
||||
"reset": "string|array",
|
||||
"onHoldMusic": "string",
|
||||
"actionHookDelayAction": "#actionHookDelayAction",
|
||||
@@ -309,7 +310,8 @@
|
||||
"transcribe": "#transcribe",
|
||||
"amd": "#amd",
|
||||
"dub": ["#dub"],
|
||||
"tag": "object"
|
||||
"tag": "object",
|
||||
"forwardPAI": "boolean"
|
||||
},
|
||||
"required": [
|
||||
"target"
|
||||
@@ -463,7 +465,6 @@
|
||||
},
|
||||
"required": [
|
||||
"vendor",
|
||||
"auth",
|
||||
"llmOptions"
|
||||
]
|
||||
},
|
||||
@@ -598,7 +599,6 @@
|
||||
"channel": "number"
|
||||
},
|
||||
"required": [
|
||||
"transcriptionHook"
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
@@ -755,7 +755,9 @@
|
||||
"customOptions": "#customOptions",
|
||||
"verbioOptions": "#verbioOptions",
|
||||
"speechmaticsOptions": "#speechmaticsOptions",
|
||||
"openaiOptions": "#openaiOptions"
|
||||
"openaiOptions": "#openaiOptions",
|
||||
"houndifyOptions": "#houndifyOptions",
|
||||
"gladiaOptions": "object"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -833,6 +835,42 @@
|
||||
"transcriptNormalization": "array"
|
||||
}
|
||||
},
|
||||
"houndifyOptions": {
|
||||
"properties": {
|
||||
"latitude": "number",
|
||||
"longitude": "number",
|
||||
"city": "string",
|
||||
"state": "string",
|
||||
"country": "string",
|
||||
"timeZone": "string",
|
||||
"domain": "string",
|
||||
"audioEndpoint": "string",
|
||||
"maxSilenceSeconds": "number",
|
||||
"maxSilenceAfterFullQuerySeconds": "number",
|
||||
"maxSilenceAfterPartialQuerySeconds": "number",
|
||||
"vadSensitivity": "number",
|
||||
"vadTimeout": "number",
|
||||
"vadMode": "string",
|
||||
"vadVoiceMs": "number",
|
||||
"vadSilenceMs": "number",
|
||||
"vadDebug": "boolean",
|
||||
"audioFormat": "string",
|
||||
"enableNoiseReduction": "boolean",
|
||||
"enableProfanityFilter": "boolean",
|
||||
"enablePunctuation": "boolean",
|
||||
"enableCapitalization": "boolean",
|
||||
"confidenceThreshold": "number",
|
||||
"enableDisfluencyFilter": "boolean",
|
||||
"maxResults": "number",
|
||||
"enableWordTimestamps": "boolean",
|
||||
"maxAlternatives": "number",
|
||||
"partialTranscriptInterval": "number",
|
||||
"sessionTimeout": "number",
|
||||
"connectionTimeout": "number",
|
||||
"customVocabulary": "array",
|
||||
"languageModel": "string"
|
||||
}
|
||||
},
|
||||
"cobaltOptions": {
|
||||
"properties": {
|
||||
"serverUri": "string",
|
||||
@@ -912,7 +950,12 @@
|
||||
"shortUtterance": "boolean",
|
||||
"vadTurnoff": "number",
|
||||
"tag": "string",
|
||||
"fillerWords" : "boolean"
|
||||
"fillerWords" : "boolean",
|
||||
"eotThreshold": "number",
|
||||
"eotTimeoutMs": "number",
|
||||
"mipOptOut": "boolean",
|
||||
"entityPrompt": "string",
|
||||
"eagerEotThreshold":"number"
|
||||
}
|
||||
},
|
||||
"sonioxOptions": {
|
||||
@@ -1250,7 +1293,6 @@
|
||||
"speechPadMs": "number"
|
||||
},
|
||||
"required": [
|
||||
"enable"
|
||||
]
|
||||
},
|
||||
"amd": {
|
||||
@@ -1289,5 +1331,36 @@
|
||||
"streaming": "boolean",
|
||||
"sampleRate": "number"
|
||||
}
|
||||
},
|
||||
"pipeline": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"stt": "#recognizer",
|
||||
"tts": "#synthesizer",
|
||||
"vad": "#vad",
|
||||
"turnDetection": "#turnDetectionPipeline",
|
||||
"llm": "#llm",
|
||||
"preflightLlm": "boolean",
|
||||
"actionHook": "object|string",
|
||||
"eventHook": "object|string"
|
||||
},
|
||||
"required": [
|
||||
"stt",
|
||||
"llm",
|
||||
"tts"
|
||||
]
|
||||
},
|
||||
"turnDetectionPipeline": {
|
||||
"properties": {
|
||||
"vendor": {
|
||||
"type": "string",
|
||||
"enum": ["krisp"]
|
||||
},
|
||||
"threshold": "number",
|
||||
"eagerEotThreshold": "number"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ test("validate correct verbs", async (t) => {
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"notifySttLatency": true,
|
||||
"recognizer": {
|
||||
"vendor": "google",
|
||||
"language": "de-DE",
|
||||
@@ -212,6 +213,10 @@ test("validate correct verbs", async (t) => {
|
||||
"deepgramOptions": {
|
||||
"endpointing": 500,
|
||||
"noDelay": true,
|
||||
"eotThreshold": 500,
|
||||
"eotTimeoutMs": 5000,
|
||||
"eagerEotThreshold": 200,
|
||||
"mipOptOut": true
|
||||
}
|
||||
},
|
||||
"say": {
|
||||
@@ -274,6 +279,63 @@ 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": "houndify",
|
||||
"language": "en-US",
|
||||
"houndifyOptions": {
|
||||
"latitude": 30.6,
|
||||
"longitude": 30.6,
|
||||
"city": "Huston",
|
||||
"state": "CA",
|
||||
"country": "US",
|
||||
"timeZone": "GMT",
|
||||
"domain": "Voice",
|
||||
"audioEndpoint": "https://api.houndify.com/v1/audio",
|
||||
"maxSilenceSeconds": 5,
|
||||
"maxSilenceAfterFullQuerySeconds": 3,
|
||||
"maxSilenceAfterPartialQuerySeconds": 2,
|
||||
"vadSensitivity": 0.5,
|
||||
"vadTimeout": 1000,
|
||||
"vadMode": "auto",
|
||||
"vadVoiceMs": 250,
|
||||
"vadSilenceMs": 500,
|
||||
"vadDebug": true,
|
||||
"audioFormat": "PCM16",
|
||||
"enableNoiseReduction": true,
|
||||
"enableProfanityFilter": false,
|
||||
"enablePunctuation": true,
|
||||
"enableCapitalization": true,
|
||||
"confidenceThreshold": 0.7,
|
||||
"enableDisfluencyFilter": true,
|
||||
"maxResults": 5,
|
||||
"enableWordTimestamps": true,
|
||||
"maxAlternatives": 3,
|
||||
"partialTranscriptInterval": 100,
|
||||
"sessionTimeout": 30000,
|
||||
"connectionTimeout": 5000,
|
||||
"customVocabulary": ["jambonz", "telephony", "voip"],
|
||||
"languageModel": "enhanced"
|
||||
},
|
||||
"gladiaOptions": {
|
||||
"post_processing": {
|
||||
"summarization": false,
|
||||
"summarization_config": {
|
||||
"type": "general"
|
||||
},
|
||||
"chapterization": false
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"verb": "gather",
|
||||
"actionHook": "http://example.com/collect",
|
||||
|
||||
Reference in New Issue
Block a user