面对lex中的问题。在lambda中写入问题以获得问题和答案从数据库到lambda函数的完美回答,但亚马逊lex显示无效响应从Lambda收到错误响应:未处理。
但代码中写的所有内容都显示正确答案我的配置文件
{
"currentIntent": {
"slots": {
"Name": "ramya",
"Hi": "What is your given/family name?"
},
"name": "Firstone",
"confirmationStatus": "None"
},
"bot": {
"alias": "$LATEST",
"version": "$LATEST",
"name": "Ramya"
},
"userId": "John",
"invocationSource": "DialogCodeHook",
"outputDialogMode": "Text",
"messageVersion": "1.0",
"sessionAttributes": {}
}
帮帮我 提前致谢