Reproduction of Rasa issue RasaHQ/rasa#11061
$ pip install -r requirements.txt
conda env create -f environment.yml
conda activate sessiontest
pip install -r requirements.txt
rasa train -d domain
rasa run --enable-api --debug
- in another terminal, run
./test-session.sh
- wait >1 minute
- run
./test-session.sh
again - note that the session does not expire when it is configured
- cd models
- tar xvf [trained model file]
- inspect the
components/domain_provider/domain.yml
file - note the
session_expiration_time
is set to60
, not the configured value
- Using python 3.9
- The domain is split into multiple files and trained from the
domain
directory - The
session_expiration_time
set to1
- using a custom input channel (in
channels.session_test.SessionTestInput
)- configured in
credentials.yml
- the
./test-session.sh
POSTs tohttp://localhost:5005/webhooks/session_test/webhook
- configured in