Merge pull request #20 from jambonz/feat/fallback_speech

feat fallback speech vendor
This commit is contained in:
Dave Horton
2023-08-17 07:53:07 -04:00
committed by GitHub
2 changed files with 15 additions and 1 deletions
+7
View File
@@ -479,6 +479,10 @@
"label": "string",
"language": "string",
"voice": "string",
"fallbackVendor": "string",
"fallbackLabel": "string",
"fallbackLanguage": "string",
"fallbackVoice": "string",
"engine": {
"type": "string",
"enum": ["standard", "neural"]
@@ -498,6 +502,9 @@
"vendor": "string",
"label": "string",
"language": "string",
"fallbackVendor": "string",
"fallbackLabel": "string",
"fallbackLanguage": "string",
"vad": "#vad",
"hints": "array",
"hintsBoost": "number",
+8 -1
View File
@@ -144,7 +144,11 @@ test("validate correct verbs", async (t) => {
"synthesizer": {
"vendor": "google",
"language": "en-US",
"label": "label1"
"label": "label1",
"fallbackVendor": "google",
"fallbackLanguage": "en-US",
"fallbackLabel": "label1",
"fallbackVoice": "voice"
}
}
},
@@ -160,6 +164,9 @@ test("validate correct verbs", async (t) => {
"recognizer": {
"vendor": "google",
"language": "en-US",
"fallbackVendor": "google",
"fallbackLanguage": "en-US",
"fallbackLabel": "label1",
"hints": ["sales", "support"],
"hintsBoost": 10,
"deepgramOptions": {