简体   繁体   English

如何从 aws 聊天机器人对话创建 pdf

[英]how to create pdf from aws chatbot conversation

I am working on AWS lex platform.我在AWS lex平台上工作。 A pdf needs to be created from the conversation of a chatbot that needs to be mailed to the user.需要从需要邮寄给用户的聊天机器人的对话中创建pdf

I am using node.js我正在使用node.js

Is there any scope of lambda function to get the pdf and mail that file to the user?是否有任何范围的lambda 函数可以获取 pdf 并将该文件邮寄给用户?

From AWS-LEX you can trigger AWS-LAMBDA check https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html从 AWS-LEX 您可以触发 AWS-LAMBDA 检查https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html

In the Lambda function create a PDF file from data passed to it, and trigger AWS-SES check https://aws.amazon.com/premiumsupport/knowledge-center/lambda-send-email-ses/在 Lambda 函数中,根据传递给它的数据创建一个 PDF 文件,并触发 AWS-SES 检查https://aws.amazon.com/premiumsupport/knowledge-center/lambda-send-email-ses/

To create PDF in NodeJs you can use any library of choice for reference https://www.npmjs.com/package/pdf-creator-node要在 NodeJs 中创建 PDF,您可以使用任何选择的库作为参考https://www.npmjs.com/package/pdf-creator-node

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Chatbot中实现“后退”对话 - How to implement “Back” conversation in Chatbot 聊天机器人在最小化时重新开始对话 - Chatbot restarts conversation on minimizing 如何从节点 js 发起与 AWS LEX 的对话? - How do I initiate a conversation with AWS LEX from node js? 如何在我的网站中添加使用Watson Conversation的chatbot小部件? - How to add a chatbot widget that uses Watson Conversation in my website? Botframework v4 Directline集成:有没有办法将通过Directline传输到Chatbot生成的对话ID(nodejs代码) - Botframework v4 Directline integration: Is there a way to get the conversation id generated from directline transfer to the Chatbot (nodejs code) 如何为对话流聊天机器人创建本地服务器? - How to create a local server for dialogflow chatbot? 如何创建对话流程对话以进行价格估算 - How to create dialogflow conversation to make a price estimation 使用Facebook chatbot的IBM Watson对话错误问题 - IBM watson conversation using facebook chatbot Error Issue Microsoft Luis Chatbot:在对话过程中提取自定义实体 - Microsoft Luis Chatbot: Extracting custom entity in the middle of conversation AWS Lambda创建PDF错误流 - AWS Lambda create PDF error stream
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM