allow change synthesizer model in runtime

This commit is contained in:
Quan HL
2024-09-12 08:00:36 +07:00
parent cb8b51da4a
commit 4d730b63b3
2 changed files with 12 additions and 0 deletions

View File

@@ -564,6 +564,7 @@
"label": "string", "label": "string",
"language": "string", "language": "string",
"voice": "string|object", "voice": "string|object",
"model": "string",
"fallbackVendor": "string", "fallbackVendor": "string",
"fallbackLabel": "string", "fallbackLabel": "string",
"fallbackLanguage": "string", "fallbackLanguage": "string",

View File

@@ -409,6 +409,17 @@ test("validate correct verbs", async (t) => {
"language": "en-US" "language": "en-US"
} }
}, },
{
"verb": "say",
"text": "hi there!",
"synthesizer": {
"vendor": "elevenlabs",
"language": "en",
"voice": "pNInz6obpgDQGcFmaJgB",
"label": "label1",
"model": "eleven_multilingual_v2"
}
},
{ {
"verb": "sip:decline", "verb": "sip:decline",
"status": 480, "status": 480,