Intent not in the feature map error

Feature ‘intent_anything_else_yes:’ could not be found in feature map.

I’m getting this error even after adding the intent “anything_else_yes” to the intents section in domain.yml file. Please help.

What does your intents section in the domain.yml file look like?

should be:

intents:
- anything_else_yes

also what does your nlu.md file look like?

My intent section looks exactly like what you described.

My nlu.md file looks like this:

intent: anything_else_yes:

  • Yes, please
  • Yeah
  • Yup
  • Yes.
  • Yeah, please.
  • Yeah, yeah.

is the colon (":") after yes in your file too or just in this post?

Try to remove that colon

Oh! How did I miss that colon! Sorry to waste your time, I have just started learning rasa and haven’t catch up with the syntax yet. Thanks so much.

Don’t worry. I am in the same boat. And it takes a while to get used to it :wink:

1 Like