mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-21 18:57:52 +00:00
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:
20
specs.json
20
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user