Compare commits

...

10 Commits

Author SHA1 Message Date
Dave Horton
9ac144ef71 0.0.129 2026-03-05 07:24:30 -05:00
Hoan Luu Huu
337114035d support toolhook (#125) 2026-03-05 07:24:04 -05:00
Dave Horton
253bd8a49c 0.0.128 2026-02-26 07:25:14 -05:00
Hoan Luu Huu
7a5c094bfc houdifyOptions support audioQueryAbsoluteTimeout (#124) 2026-02-26 07:24:13 -05:00
Dave Horton
228f8773d3 0.0.127 2026-02-11 17:32:14 -05:00
Hoan Luu Huu
c9cd50c559 support noise isolation to config verb (#122)
* support noise isolation to config verb

* wip

* wip

* wip

* wip

* add vendor to turnTaking
2026-02-11 17:31:19 -05:00
Dave Horton
fe095be5c8 0.0.126 2026-02-01 13:43:23 -05:00
Dave Horton
71caf6bb53 allow listen to be nested in a conference verb (#123) 2026-02-01 13:42:49 -05:00
Dave Horton
887320fd5d 0.0.125 2026-01-21 07:28:59 -05:00
Hoan Luu Huu
f0ffdee9c6 support speechamtics end_of_utterance_silence_trigger (#121) 2026-01-21 07:28:44 -05:00
4 changed files with 93 additions and 7 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@@ -76,7 +76,9 @@
"referHook": "object|string",
"earlyMedia": "boolean",
"autoStreamTts": "boolean",
"disableTtsCache": "boolean"
"disableTtsCache": "boolean",
"noiseIsolation": "#noiseIsolation",
"turnTaking": "#turnTaking"
},
"required": []
},
@@ -280,6 +282,7 @@
"statusHook": "object|string",
"enterHook": "object|string",
"record": "#record",
"listen": "#listen",
"distributeDtmf": "boolean"
},
"required": [
@@ -880,7 +883,8 @@
"sessionTimeout": "number",
"connectionTimeout": "number",
"customVocabulary": "array",
"languageModel": "string"
"languageModel": "string",
"audioQueryAbsoluteTimeout": "number"
}
},
"elevenlabsOptions": {
@@ -1085,6 +1089,7 @@
"additional_vocab": "array",
"diarization": "string",
"speaker_diarization_config": "#sm_speakerDiarizationConfig",
"conversation_config": "#sm_conversationConfig",
"enable_partials": "boolean",
"max_delay": "number",
"max_delay_mode": {
@@ -1112,6 +1117,13 @@
"required": [
]
},
"sm_conversationConfig": {
"properties": {
"end_of_utterance_silence_trigger": "number"
},
"required": [
]
},
"sm_puctuationOverrides": {
"properties": {
"permitted_marks": "array",
@@ -1371,7 +1383,8 @@
"llm": "#llm",
"preflightLlm": "boolean",
"actionHook": "object|string",
"eventHook": "object|string"
"eventHook": "object|string",
"toolHook": "object|string"
},
"required": [
"stt",
@@ -1391,5 +1404,21 @@
"required": [
"vendor"
]
},
"noiseIsolation" : {
"properties": {
"enable": "boolean",
"vendor": "string",
"level": "number",
"model": "string"
}
},
"turnTaking": {
"properties": {
"enable": "boolean",
"vendor": "string",
"threshold": "number",
"model": "string"
}
}
}

View File

@@ -329,7 +329,8 @@ test("validate correct verbs", async (t) => {
"sessionTimeout": 30000,
"connectionTimeout": 5000,
"customVocabulary": ["jambonz", "telephony", "voip"],
"languageModel": "enhanced"
"languageModel": "enhanced",
"audioQueryAbsoluteTimeout": 5
},
"gladiaOptions": {
"post_processing": {
@@ -468,6 +469,24 @@ test("validate correct verbs", async (t) => {
"speechPadMs": 1000
}
},
{
"verb": "config",
"noiseIsolation": {
"enable": true,
"vendor": "krisp",
"level": 3,
"model": "custom-model"
}
},
{
"verb": "config",
"turnTaking": {
"enable": true,
"vendor": "krisp",
"threshold": 0.5,
"model": "turn-taking-model"
}
},
{
"verb": "message",
"to": "15083084809",
@@ -644,6 +663,44 @@ test("validate correct verbs", async (t) => {
}
}
]
},
{
"verb": "pipeline",
"stt": {
"vendor": "google",
"language": "en-US"
},
"tts": {
"vendor": "google",
"language": "en-US"
},
"llm": {
"vendor": "openai",
"llmOptions": {
"model": "gpt-4o"
}
},
"actionHook": "/pipeline/action",
"eventHook": "/pipeline/event",
"toolHook": "/pipeline/tool"
},
{
"verb": "transcribe",
"transcriptionHook": "http://example.com/transcribe",
"recognizer": {
"vendor": "speechmatics",
"language": "en",
"speechmaticsOptions": {
"transcription_config": {
"language": "en",
"enable_partials": true,
"max_delay": 2,
"conversation_config": {
"end_of_utterance_silence_trigger": 0.5
}
}
}
}
}
];
try {