我能够成功地
1)使用Amazon lex和自定义意图创建聊天机器人,我在测试机器人中进行了测试
2) I used the amazon javascript sdk : aws-sdk-2.41.0.min.js to access the amazon lex bot from my web application 根据亚马逊文档上的定义:https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/LexRuntime.html
只有两种方式可以发送数据
postContent(params = {}, callback) ⇒ AWS.Request
Sends user input (text or speech) to Amazon Lex.
postText(params = {}, callback) ⇒ AWS.Request
Sends user input (text or SSML) to Amazon Lex.但是我找不到通过amazon lex上传文件/文档的功能,有什么方法可以做到吗?
发布于 2019-10-29 01:52:10
AWS Lex as on date不支持通过postText或postContent方法发送附件。处理附件必须使用javascript进行自定义开发。
https://stackoverflow.com/questions/58216348
复制相似问题