feat fallback speech vendor

This commit is contained in:
Quan HL
2023-08-17 11:29:44 +07:00
parent 067a49bd2c
commit 65de44012a
2 changed files with 14 additions and 1 deletions
+7
View File
@@ -479,6 +479,10 @@
"label": "string",
"language": "string",
"voice": "string",
"fallback_vendor": "string",
"fallback_label": "string",
"fallback_language": "string",
"fallback_voice": "string",
"engine": {
"type": "string",
"enum": ["standard", "neural"]
@@ -498,6 +502,9 @@
"vendor": "string",
"label": "string",
"language": "string",
"fallback_vendor": "string",
"fallback_label": "string",
"fallback_language": "string",
"vad": "#vad",
"hints": "array",
"hintsBoost": "number",
+7 -1
View File
@@ -144,7 +144,10 @@ test("validate correct verbs", async (t) => {
"synthesizer": {
"vendor": "google",
"language": "en-US",
"label": "label1"
"label": "label1",
"fallback_vendor": "google",
"fallback_language": "en-US",
"fallback_label": "label1"
}
}
},
@@ -160,6 +163,9 @@ test("validate correct verbs", async (t) => {
"recognizer": {
"vendor": "google",
"language": "en-US",
"fallback_vendor": "google",
"fallback_language": "en-US",
"fallback_label": "label1",
"hints": ["sales", "support"],
"hintsBoost": 10,
"deepgramOptions": {