dialogflow-java-client
dialogflow-java-client copied to clipboard
"Processing" response for async requests
My webhook takes time to process a request (more or less 8-9 seconds) and I would like to send a "temporary" response like "I'm processing" "Wait a while".
Is there a way to do this?
I send every response with the output.setSpeech("MESSAGE") method but (obviously) I can’t send two of them (one while the webhook processes the request and the other at the end of it).
I'm talking about this also on the official forum https://discuss.api.ai/t/fulfilment-using-webhook-takes-time-to-get-the-data/3726 where seems that someone has found a workaroud for JS.
Anyone?
Also looking for said functionality...
Any insight on whether it's even possible would be awesome.