Session Expiry time to 0

Hi Community,

As of now our bot has session_expiration_time : 60 (mins). We have a functionality to conduct surveys from our bot, but the roadblock is that if user responds after 60 mins, bot loses the context and is not able to capture the slot values thus spoiling the use-case. So can we set session_expiration_time to 0 ? will it affect the performance? If yes do we have any other alternative to keep the active form context even after action_session_start event?

@Juste Please help.

So can we set session_expiration_time to 0

Yes

will it affect the performance?

No

do we have any other alternative to keep the active form context even after action_session_start event?

You can store it in your own db

Juste’s left Rasa in April

Hi @stephans,

I tried to set the session_expiration_time to 0 and after training while making rasa server up it gives following error:

2022-10-13 23:22:32,797 [INFO ]  Rasa server is up and running.
2022-10-13 23:37:53,632 [INFO ]  Starting Rasa server on http://localhost:5002
2022-10-13 23:37:53,648 [INFO ]  Loading model models\20221013-233700.tar.gz...
2022-10-13 23:37:55,632 [INFO ]  Loading model models\20221013-233700.tar.gz...
2022-10-13 23:38:02,163 [INFO ]  Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en_core_web_md'.
2022-10-13 23:38:48,440 [ERROR]  Could not load model due to Domain specification has changed. You MUST retrain the policy. Detected mismatch in domain specification. The following states have been 
	 - removed: action_unlikely_intent 
	 - added:    .