Rasa Rules

I’m trying to create tho workflows for one intent based on slot values The problem here is that if I train with both of these rules, training finishes with error about contradicting rules. The reason I don’t understand this error is that values of slots I’m trying to check are different in each rule.

  • in 1 option :
    • has_deposits: true
    • check_deposits_order: true
  • in 2 option :
    • has_deposits: true
    • check_deposits_order: false

Here are rules:

  • rule: If user does not have deposits steps:

    • intent: deposits.order_deposits
    • slot_was_set:
      • has_deposits: true
      • check_deposits_order: true
    • action: deposits_order_deposits_form
    • active_loop: deposits_order_deposits_form
  • rule: If user does not have deposits steps:

    • intent: deposits.order_deposits
    • slot_was_set:
      • has_deposits: true
      • check_deposits_order: false
    • action: action_generate_buttons_for_user_with_deposits

The situation is that I need both of this conditions to run

could you kindly help me figuring out the situation I’m in.

Check condicional responses Responses