[SOLVED] Intent not being found by Rasa but typing /intent_name works

Hi all,

I have a slightly confusing error.

I’ve trained my bot with nlu data for the intent to escalate a matter to a real person to converse with the end user.

Here’s my training data:

## intent:escalate
i would appreciate speaking to agent
i want to speak to an agent
is it possible to speak to person?
can I speak to employee
i would like to speak to higher up
i want to speak to a higher up
can i speak to your manager?
i need to speak to manager
i want to have a word with an agent
can i please have a word with a person
i would appreciate having a word with an employee
i need to have a word with a higher up
i want to have a word with your higher up
i would like to have a word with your manager
i would appreciate having a word with your manager
is it possible to chat to an agent
can i chat to an agent
i want to chat to a person
i wanna chat to an employee
i need to chat to a higher up
i want to chat to your higher up
is it possible chat to your manager
can i chat to manager
can i speak to a real person please
can i speak to someone else
i want to speak to a real agent
can i speak to an employee agent
i want to have a word with your manager
can i have a word with a real person
i want to speak to your manager
i want to speak with your manager

However, whenever I type something like the above, my bot doesn’t recognize it.

Now, when I train my bot, it says it found 27 intents, but that doesn’t include the intent to escalate shown above, which is really confusing.

But then if I type /escalate to my bot, it works just fine so now I’m lost. Literally, if I type /escalate my stories are followed perfectly fine, no issues at all. It’s just not being picked up with natural language.

Therefore the issue is NOT with any of my custom actions nor with the form actions. They work fine.

To add onto this, my intent is included in the domain file and is spelt correctly.

Any help is GREATLY appreciated.

Thank you all :slight_smile:

For anyone who reads this, never mind, I just realised the error is because my NLU examples didn’t start with a hyphen.

:rofl::rofl::rofl::laughing::joy:

Hope this stupid silly mistake helps anyone who faces the same issue.

Happy coding! :joy: