mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-07-24 13:02:32 +00:00
Merge pull request #18 from jambonz/fix/multi_speech_same_vendor
feat add label to synthesizer
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user