wit-ai / wit

Natural Language Interface for apps and devices
https://wit.ai/
942 stars 91 forks source link

question: What is the maximum inactivity duration that lead to session timeout? #2709

Open adhilmunna opened 9 months ago

adhilmunna commented 9 months ago

Now, when user has not replied for 10 minutes, the chat flow goes to step 1 when a new response comes in. Is there any way for us to control the timeout duration? Say, if i want it to be long like 1 hour or so?

adhilmunna commented 8 months ago

@yuzh174

adhilmunna commented 7 months ago

@yuzh174 @patapizza

patapizza commented 7 months ago

It's currently 4 minutes. Thanks for bringing this up, it's something we'll need to prioritize.

patapizza commented 7 months ago

This isn't an issue for speech requests, but it does make sense for text requests (i.e. where conversation history persists). We likely won't be able to prioritize this anytime soon. A workaround could be to rely on the context map and Decision modules to control the flow.

adhilmunna commented 7 months ago

Thanks for the update. other solutions provide a 1hr timeout duration. 4 minutes is too short. frequent flow reset is a bad experience for customers chatting with the bot. It should be at least 30 mins in believe. @patapizza