Skip to content

dgradwell-ams/rasa-issue-11061

Repository files navigation

Reproduction of Rasa issue RasaHQ/rasa#11061

Install (native -- using python 3.9)

  • $ pip install -r requirements.txt

Install (conda -- this is the only method that works for me on Arch Linux x86_64)

  • conda env create -f environment.yml
  • conda activate sessiontest
  • pip install -r requirements.txt

Reproduction steps

  1. rasa train -d domain
  2. rasa run --enable-api --debug
  3. in another terminal, run ./test-session.sh
  4. wait >1 minute
  5. run ./test-session.sh again
  6. note that the session does not expire when it is configured

Further inspection

  1. cd models
  2. tar xvf [trained model file]
  3. inspect the components/domain_provider/domain.yml file
  4. note the session_expiration_time is set to 60, not the configured value

Things to note

  1. Using python 3.9
  2. The domain is split into multiple files and trained from the domain directory
  3. The session_expiration_time set to 1
  4. using a custom input channel (in channels.session_test.SessionTestInput)
    • configured in credentials.yml
    • the ./test-session.sh POSTs to http://localhost:5005/webhooks/session_test/webhook

About

Reproduction of Rasa issue RasaHQ/rasa#11061

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published