我正在研究Python中提供电影推荐的Alexa技能 . 用户要求提供类似于特定电影的电影 . 我希望触发的意图提供类似电影的列表,并询问用户是否想要选择其中一部电影 . 如果这个问题的答案是'是',我想触发另一个意图 . 以下是我写的代码 . 当我在模拟器中执行代码时,我得到一个错误响应'请求的技能的响应有问题' . 这里出了什么问题

def YesIntent(event):
    if event['session']["attributes"]['last_intent']=='MovieRecoIntent':
        prompt= {
            "version": "1.0",
            "sessionAttributes": {},
            "response": {
                "outputSpeech": {
                    "type": "PlainText",
                    "text": "What's your selection?"
                },
                "shouldEndSession":False,
                "directives": [
                    {
                        "type": "Dialog.ElicitSlot",
                        "slotToElicit": "selection",
                        "updatedIntent": {
                            "name": "GetMovieDetails",
                            "confirmationStatus": "NONE",
                            "slots": {
                                "selection": {
                                    "name": "selection",
                                    "confirmationStatus": "NONE"
                                }
                            }
                        }
                    }
                    ]
            }
        }
        return prompt