From c9cd50c5591a1b1cbc943233af6c54ee3c439d94 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Thu, 12 Feb 2026 05:31:19 +0700 Subject: [PATCH] support noise isolation to config verb (#122) * support noise isolation to config verb * wip * wip * wip * wip * add vendor to turnTaking --- specs.json | 20 +++++++++++++++++++- test/jambonz-verb-test.js | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/specs.json b/specs.json index 9b54900..5682a2c 100644 --- a/specs.json +++ b/specs.json @@ -76,7 +76,9 @@ "referHook": "object|string", "earlyMedia": "boolean", "autoStreamTts": "boolean", - "disableTtsCache": "boolean" + "disableTtsCache": "boolean", + "noiseIsolation": "#noiseIsolation", + "turnTaking": "#turnTaking" }, "required": [] }, @@ -1400,5 +1402,21 @@ "required": [ "vendor" ] + }, + "noiseIsolation" : { + "properties": { + "enable": "boolean", + "vendor": "string", + "level": "number", + "model": "string" + } + }, + "turnTaking": { + "properties": { + "enable": "boolean", + "vendor": "string", + "threshold": "number", + "model": "string" + } } } diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index 6cb8021..7f8d1b3 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -468,6 +468,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",