Intent Validation with Slot Intents

Hello,

I am running this command: rasa data validate -d ./domain --max-history 7 . And I get this warning:

UserWarning: The intent 'affirm' is not used in any story or rule.

The problem is that the intent ‘affirm’ is only used for updating slots. As an example:

  user_connection_leaking:
    type: bool
    initial_value: null
    influence_conversation: false
    mappings:
      - type: from_intent
        value: True
        intent: deny
        conditions:
        - active_loop: form_streaming_trb
          requested_slot: user_connection_leaking
      - type: from_intent
        value: False
        intent: affirm
        conditions:
        - active_loop: form_streaming_trb
          requested_slot: user_connection_leaking
      - type: from_intent
        value: False
        intent: affirm
        conditions:
        - active_loop: form_streaming_trb
          requested_slot: user_connection_leaking

Is there a way to make this warning disappear or somehow solve this problem? My goal is to have a clean rasa data validate output.

No. This is a known issue. There might be an open issue for this in GitHub.

1 Like