Open ashutoshpw opened 5 years ago
Hi. I'm facing the same but is not a Issue, is a limitation on dialogflow plataform itself that needs everytime you server is called the response cannot take any long than 5 seconds. For my use case for example its horrible because my server consome a SOAP (1 minute response). You can solve this temporarily try to catch the data and if the data is no available next to the timeout you must send a response to dialogflow saying to the user to wait for the data and request it later, within the application you save the data on another table or collection, even another database to fetch later when the user ask for it.
I am working on an application which requires searching a long database. But as soon the API gives a response, dialog-flow gives an output.
How to configure it in such a way that the web-hook initially response with "Searching..." and then after 2-3 seconds it responds with search result?
If dialogflow gives a timeout error even in 1-2 seconds, we could not consider it using at scale as there might be delays in larger applications and that need to be taken into consideration.