Description
Rasa version: 2.1.3
Rasa SDK version (if used & relevant): 2.1.2
Rasa X version (if used & relevant): 0.34.0
Python version: 3.7.9
Operating system (windows, osx, ...): Darwin-19.6.0-x86_64-i386-64bit
Issue:
So basically the issue is if we have Fallback and rules for some intent in bot and we have implemented the a dynamic form (i.e overwrite required_slots
method and adding some required slot base on some condition met) in this case if the fallback/rules is triggered when form is active then this rules and fallback action/utterance will not be triggered.
P.S: Also attaching the tar of the bot which can help in reproduce it rasa_init_bot.tar.gz
Step to reproduce the error:
- Download above tar in local
- Run
rasa train
- Wait for model is trained. After model is trained we will explore 2 cases
Case 1: Fail case if dynamic form is implemented
- Bring rasa action server:
rasa run actions
- Bring rasa shell:
rasa shell
- Interact with bot as follow screenshot:
- Here the action
action_test_1
is not being triggered
Case 2: Normal case without dynamic form implemented
- comment the
required_slots
function inactions/actions.py
file - Bring rasa action server up again:
rasa run actions
- Bring rasa shell:
rasa shell
- Interact with bot as follow screenshot:
- Here the action
action_test_1
being triggered