add tts option for playing dialogflow audio

This commit is contained in:
Dave Horton
2020-09-02 12:14:53 -04:00
parent 868427216f
commit 7abc7866dd
5 changed files with 373 additions and 3 deletions

View File

@@ -132,7 +132,8 @@
"noInputTimeout": "number",
"noInputEvent": "string",
"passDtmfAsTextInput": "boolean",
"thinkingMusic": "string"
"thinkingMusic": "string",
"tts": "#synthesizer"
},
"required": [
"project",
@@ -140,6 +141,30 @@
"lang"
]
},
"lex": {
"properties": {
"bot": "string",
"alias": "string",
"region": "string",
"bargein": "boolean",
"passDtmf": "boolean",
"actionHook": "object|string",
"eventHook": "object|string",
"events": "[string]",
"prompt": {
"type": "string",
"enum": ["lex", "tts"]
},
"noInputTimeout": "number",
"tts": "#synthesizer"
},
"required": [
"bot",
"alias",
"region",
"prompt"
]
},
"listen": {
"properties": {
"actionHook": "object|string",
@@ -257,7 +282,7 @@
"properties": {
"vendor": {
"type": "string",
"enum": ["google", "aws", "polly"]
"enum": ["google", "aws", "polly", "default"]
},
"language": "string",
"voice": "string",