Finding unused responses, intents, slots etc

Is there any helper tool that I can use to find unused parts in my bot? Unused means responses, intents, slots etc. that are never used in stories or rules.

1 Like

Not to my knowledge (and definitely not a Rasa built-in one), but you can easily build your own.

Maybe you can use this code for inspiration, which reads the files and counts the number of intents, examples, stories, and rules.

In your use-case, it may be better to convert YAML to JSON before processing.

1 Like

Can you check the link? I directs to Spacy in the docu.

1 Like

Sorry! I updated the link :slight_smile: