add lex support

This commit is contained in:
Dave Horton
2020-10-09 08:28:36 -04:00
parent c02aa94500
commit 95e4c22969
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",
@@ -271,7 +296,7 @@
"properties": {
"vendor": {
"type": "string",
"enum": ["google", "aws", "polly"]
"enum": ["google", "aws", "polly", "default"]
},
"language": "string",
"voice": "string",