Hello Community
I'm currently building a simple widget for a Dialogflow based chatbot in nodejs . In the process, I'm calling the detectIntent API and when I execute the nodejs code, there was significant delay in the response reception which is why I added the console.time to profile the code and determine the bottleneck. As a result, I found out the detectIntent is currently taking roughly 14 secs to receive the response. I would highly appreciate it, if any info on the factors pertaining to the delay can be provided.
Attaching the code snippet used:
-- There are 2 time console.time based profilers in this code namely "Intent Detect Time" specific to detectIntent API and lastly "Dialogflow Request Time" specific to the whole of the request.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |