Open drishit96 opened 6 years ago
Hi, I'm facing the same issue, do you plan to add a Constructor to use for example in aws Lambda?
I used this tutorial to get an idea how to deploy a dialogflow-fulfillment on lambda: Developing for the Google Assistant using Typescript and Amazon Web Services.
The idea is to use the serverless framework for running express.js on lambda. The express.js request and response can then be passed to dialogflow-fulfillment
I'm having the same problem. Has anybody find a good solid solution without having to use TypeScript?
To 2nd Samkos question, has anybody found a good solution without using typescript? I know you have to run express.js on Lambda to get the req and res parameters in order to pass those into your dialogflow agent’s parameters. Is there any example of how this can be done?
express().use(bodyParser.json(), app).listen(8000);
According to the docs, the WebhookClient constructor needs Express HTTP request and response objects. However, in Lambda function, I receive only the
event
(the request). How do I create the Express request and response objects?I have tried this so far: