【发布时间】:2017-11-15 20:41:05
【问题描述】:
我试图在sessionAttributes 中保留一个嵌套对象。但是,Amazon Lex 似乎无法识别我是否发送了这样的结构作为响应:
{
"sessionAttributes": {
"previousIntent": "TCAIntent",
"prevSlots": {
"test": 1
}
},
"dialogAction": {
"type": "Delegate",
"slots": {
"firstName": null,
"lastName": null,
"rate": null,
"rentMortgage": null,
"downPayment": null,
"purchasePrice": null,
"email": null
}
}
}
当我用一个值替换 {"test": 1} 时,它工作正常。有没有办法解决这个或可能的错误?
错误:
【问题讨论】:
标签: json amazon-web-services amazon-lex