mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-26 05:47:53 +00:00
Compare commits
17 Commits
feat/hound
...
v0.0.124
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1013db46d3 | ||
|
|
8771e3f22f | ||
|
|
ff757d3177 | ||
|
|
5745cc9a29 | ||
|
|
2b81fe20f0 | ||
|
|
60a33e11eb | ||
|
|
9717ce6d58 | ||
|
|
49ffe5f526 | ||
|
|
61590b66cc | ||
|
|
d8cf684bf6 | ||
|
|
e039261eb5 | ||
|
|
23e726ed3f | ||
|
|
e1bc5adc55 | ||
|
|
76e2486535 | ||
|
|
dfcf1de210 | ||
|
|
7d19707dec | ||
|
|
b4856e9d05 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.116",
|
||||
"version": "0.0.124",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.116",
|
||||
"version": "0.0.124",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.116",
|
||||
"version": "0.0.124",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
75
specs.json
75
specs.json
@@ -75,7 +75,8 @@
|
||||
"vad":"#vad",
|
||||
"referHook": "object|string",
|
||||
"earlyMedia": "boolean",
|
||||
"autoStreamTts": "boolean"
|
||||
"autoStreamTts": "boolean",
|
||||
"disableTtsCache": "boolean"
|
||||
},
|
||||
"required": []
|
||||
},
|
||||
@@ -278,7 +279,8 @@
|
||||
"statusEvents": "array",
|
||||
"statusHook": "object|string",
|
||||
"enterHook": "object|string",
|
||||
"record": "#record"
|
||||
"record": "#record",
|
||||
"distributeDtmf": "boolean"
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
@@ -532,6 +534,11 @@
|
||||
"type": "string",
|
||||
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
||||
},
|
||||
"type" : {
|
||||
"type" : "string",
|
||||
"enum" : ["cloud", "siprec"]
|
||||
|
||||
},
|
||||
"recordingID": "string",
|
||||
"siprecServerURL": "string|array",
|
||||
"headers": "object"
|
||||
@@ -543,7 +550,8 @@
|
||||
"redirect": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"actionHook": "object|string"
|
||||
"actionHook": "object|string",
|
||||
"statusHook": "object|string"
|
||||
},
|
||||
"required": [
|
||||
"actionHook"
|
||||
@@ -755,7 +763,10 @@
|
||||
"customOptions": "#customOptions",
|
||||
"verbioOptions": "#verbioOptions",
|
||||
"speechmaticsOptions": "#speechmaticsOptions",
|
||||
"openaiOptions": "#openaiOptions"
|
||||
"openaiOptions": "#openaiOptions",
|
||||
"houndifyOptions": "#houndifyOptions",
|
||||
"gladiaOptions": "object",
|
||||
"elevenlabsOptions": "#elevenlabsOptions"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -798,6 +809,7 @@
|
||||
"properties": {
|
||||
"speechSegmentationSilenceTimeoutMs": "number",
|
||||
"postProcessing" : "string",
|
||||
"audioLogging" : "boolean",
|
||||
"languageIdMode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -833,6 +845,61 @@
|
||||
"transcriptNormalization": "array"
|
||||
}
|
||||
},
|
||||
"houndifyOptions": {
|
||||
"properties": {
|
||||
"requestInfo": "object",
|
||||
"sampleRate": "number",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"elevenlabsOptions": {
|
||||
"properties": {
|
||||
"includeTimestamps": "boolean",
|
||||
"commitStrategy": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"manual",
|
||||
"vad"
|
||||
]
|
||||
},
|
||||
"vadSilenceThresholdSecs": "number",
|
||||
"vadThreshold": "number",
|
||||
"minSpeechDurationMs": "number",
|
||||
"minSilenceDurationMs": "number",
|
||||
"enableLogging": "boolean"
|
||||
}
|
||||
},
|
||||
"cobaltOptions": {
|
||||
"properties": {
|
||||
"serverUri": "string",
|
||||
|
||||
@@ -279,6 +279,69 @@ 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": {
|
||||
"requestInfo": {
|
||||
"Latitude": 30.6,
|
||||
"Longitude": 30.6,
|
||||
"City": "Huston"
|
||||
},
|
||||
"sampleRate": 16000,
|
||||
"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",
|
||||
@@ -486,6 +549,24 @@ test("validate correct verbs", async (t) => {
|
||||
"interim": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
"recognizer": {
|
||||
"vendor": "nvidia",
|
||||
"language" : "en-US",
|
||||
"interim": true,
|
||||
"elevenlabsOptions": {
|
||||
"includeTimestamps": true,
|
||||
"commitStrategy": "vad",
|
||||
"vadSilenceThresholdSecs": 0.8,
|
||||
"vadThreshold": 0.5,
|
||||
"minSpeechDurationMs": 300,
|
||||
"minSilenceDurationMs": 500,
|
||||
"enableLogging": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
|
||||
Reference in New Issue
Block a user