Hello, I’m trying to make authentifications for rasa bot and and encounter a lot of problems. Actually, I can’t find any tools for a persistent invitation to authorization. For example, I tryed to make different fallback rule for slot user_approved: True and user_approved: False, but rasa train return error
Error running graph component for node train_RulePolicy1.
InvalidRule:
Contradicting rules or stories found 🚨
- the prediction of the action 'utter_fallback' in rule
<<<...>>>
Please update your stories and rules so that they don't contradict each other.
You can find more information about the usage of rules at https://rasa.com/docs/rasa/rules.
My rules.yml
- rule: fallback for approved users
condition:
- slot_was_set:
- user_approved: True
steps:
- intent: nlu_fallback
- action: utter_fallback
- rule: fallback for unapproved users
condition:
- slot_was_set:
- user_approved: False
steps:
- intent: nlu_fallback
- action: utter_fallback_unapproved
Maybe I’m on the wrong way and there is a good practice for user authentification in Rasa? I’m trying to make sure that the user receives a login prompt immediately after connecting or resetting the session and until he logs in, he cannot use any other functions of the bot.
I already make a form and it’s works, but i can’t manage to make modal request for authentification. Please, help someone ![]()