Can amazon lex chatbot accept image as input ?

巧了我就是萌 提交于 2019-12-12 09:28:13

问题


I want to build a deep learning chatbot application which accepts image as input. I have built a lambda function integrating AWS rekognition that accepts image.Now, i want to extend this lambda function, and connect it to Amazon Lex bot , where user can upload the image for analysis.


回答1:


AWS Lex Chatbot can't accept image but Its possible by Integrate your Amazon Lex Bot with Amazon API Gateway.

  • Your application API call to the HTTPS endpoint hosted by AWS API Gateway.
  • API Gateway deal With Lambda function.
  • Lambda function runs your business logic and uses the PostText/PostContent to communicate with your Chatbot or call AWS Rekognition service on completion call your Chatbot using Lambda function.
  • You will get response.

More Details.



来源:https://stackoverflow.com/questions/50210568/can-amazon-lex-chatbot-accept-image-as-input

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!