Alexa 目前有一个参数 shouldEndSession,当您与用户对话时该参数非常方便。
现在使用 LEX,我找不到类似的功能,唯一的是 session 超时不一样。
有没有人找到解决方案?
最佳答案
我相信与 Alexa 的 shouldEndSession
最接近的功能是 Lex 的 DialogAction type: 'Close'
。
Close — Informs Amazon Lex not to expect a response from the user. For example, "Your pizza order has been placed" does not require a response.
关于session - 应结束 LEX 上的 session ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48692578/