support noise isolation to config verb (#122)

* support noise isolation to config verb

* wip

* wip

* wip

* wip

* add vendor to turnTaking
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2026-02-11 17:31:19 -05:00
1 parent fe095be5c8
commit c9cd50c559
2 files changed
+37 -1

No files matched your search

+19 -1
View File
@@ -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"
}
}
}
+18
View File
@@ -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",