好吧,我想出了解决办法。密钥应以小写字母书写,每个单词必须用“_”分隔。这是params的代码
{
"name": "TestBot",
"abort_statement": {
"messages": [
{
"content": "Sorry, I'm not able to assist at this time",
"content_type": "PlainText"
}
]
},
"child_directed": true,
"clarification_prompt": {
"max_attempts": 3,
"messages": [
{
"content": "I didn't understand you, what would you like to do?",
"content_type": "PlainText"
}
]
},
"description": "Test Bot ",
"idle_session_ttl_in_seconds": 600,
"locale": "en-US",
"voice_id": "Salli"
}