Debug info for response-selector

When I test a bot using response-selector in rasa shell using the --debug option, I can see the main intent (chitchat or faq) in my case being identified with the degree of certainty but I have no information on the identification (name, degree of certainty, …) of sub-intents. Is there a way to see this information?

Hi @marcco411 what version of Rasa are you using?

This applies for Rasa 2.x:

You can implicitly see the name in the response that is logged e.g.

2021-02-22 13:49:16 DEBUG    rasa.core.processor  - Action 'utter_chitchat' ended with events '[BotUttered('Blue!', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"template_name": "utter_chitchat/colour"}, 1613998156.13262)]'.

You can also see the details of the response selector predictions when running rasa shell nlu e.g.

  "response_selector": {
    "all_retrieval_intents": [
      "chitchat"
    ],
    "default": {
      "response": {
        "id": -3174625603948499783,
        "response_templates": [
          {
            "text": "Blue!"
          }
        ],
        "confidence": 0.8385758996009827,
        "intent_response_key": "chitchat/colour",
        "template_name": "utter_chitchat/colour"
      },
      "ranking": [
        {
          "id": -3174625603948499783,
          "confidence": 0.8385758996009827,
          "intent_response_key": "chitchat/colour"
        },
        {
          "id": 4474014727561821834,
          "confidence": -0.9020220637321472,
          "intent_response_key": "chitchat/language"
        }
      ]
    }
  }

This information would also be available inside a custom action, in tracker.latest_message