Two-stage fallback resets all slots in Rasa 2.0.0

Edit: I opened a Github issue here, where it has been confirmed as a bug.


Hello, here is the post @akelad :slightly_smiling_face:

I have create a repo which demonstrates the behaviour and describes the steps to reproduce: GitHub - Devocado/rasa-two-stage-fallback-test

I’ll also provide the same here:

The assistant asks for your

  • name
  • age
  • favourite colour

and fills a slot with each.

The two-stage fallback clears all of the slots when it rewinds

Steps to reproduce:

  • Start the assistant
  • Enter ‘Hi’ or ‘hello’ to start a conversation
  • Provide the information requested, a name, a number for age, and a colour
  • When the assistant asks ‘what can I do for you?’ enter
/nlu_fallback

to trigger an nlu fallback (just for the sake of simplicity; with so few intents it is tricky to trigger it with an ordinary message)

  • The assistant will ask “did you mean ‘nlu_fallback’?”. Select ‘No’
  • The assistant will ask you to rephrase your message. This time enter something along the lines of “tell me a joke” to trigger the tell_joke intent

The assistant will answer, using the name slot. However the slot will be empty, and will output ‘None’ where the name should be.

Running in debug mode will reveal that all of the slots are empty at this point.

A full debug log is on the repo here.

1 Like