Intent not found warning after deleting intent

I deleted an intent after changing the structure of my bots dialog and after i did this I made sure that I:

  • removed the intent in the domain file
  • removed the intent in the nlu.md file
  • removed in the the stories.md file
  • removed it in the actions.py file
  • retrained the bot

Despite all this I still get the stream of warning similar to those below when I train\run the bot in interactive mode\shell:

/build/lib/python3.6/site-packages/rasa/core/training/dsl.py:423: UserWarning: Found unknown intent ‘request_for_location_info’ on line 2. P s are listed in your domain yaml. docs=DOCS_URL_DOMAINS, /build/lib/python3.6/site-packages/rasa/core/training/dsl.py:423: UserWarning: Found unknown intent ‘request_for_location_info’ on line 243.

How can get rid of these warnings???

Could you post your stories and domain?

Not to worry… I figured it out

@SimbaM that’s great! could you post your solution for any one else who has the same question?