Merge pull request #18 from jambonz/fix/multi_speech_same_vendor

feat add label to synthesizer
This commit is contained in:
Dave Horton
2023-08-15 08:45:58 -04:00
committed by GitHub
2 changed files with 8 additions and 3 deletions
+2
View File
@@ -475,6 +475,7 @@
"synthesizer": {
"properties": {
"vendor": "string",
"label": "string",
"language": "string",
"voice": "string",
"engine": {
@@ -494,6 +495,7 @@
"recognizer": {
"properties": {
"vendor": "string",
"label": "string",
"language": "string",
"vad": "#vad",
"hints": "array",
+6 -3
View File
@@ -24,11 +24,13 @@ test("validate correct verbs", async (t) => {
"verb": "config",
"synthesizer": {
"voice": "Jenny",
"vendor": "google"
"vendor": "google",
"label": "label1"
},
"recognizer": {
"vendor": "google",
"language": "de-DE"
"language": "de-DE",
"label": "label1"
},
"bargeIn": {
"enable": true,
@@ -140,7 +142,8 @@ test("validate correct verbs", async (t) => {
"text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support",
"synthesizer": {
"vendor": "google",
"language": "en-US"
"language": "en-US",
"label": "label1"
}
}
},