Issue coming NLU.yml when training the data

hi!!! when training the data , Im getting this warning

c:\users\dell\appdata\local\programs\python\python38\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found while processing ‘data\nlu.yml’: The item ‘gorilla’ contains an example that doesn’t start with a ‘-’ symbol: This training example will be skipped.

after run the shell it is not recognizing this intent why?

@HemantAHK could you please help me

Looks like a yaml formatting issue. Could you either: run it through http://www.yamllint.com/, or share the actual file here so we can figure out what’s wrong?

@fkoerner nlu.yml (3.7 KB) this is my nlu.yml file.i checked with yamllint.com earlier but no issue with the code.could you please check this issue.srry for the late reply :pray: :pray:

@kisal Heya! nlu.yml (4.0 KB) (4.0 KB) try this file now and run your code again.

1 Like

@nik202 problem solved :partying_face: :partying_face: :partying_face: :partying_face: :partying_face: :partying_face:…I think the issue is in the indentation, isn’t it?.You saved my day…thanks a lot … thanks a lot … :relaxed: :relaxed: :+1: :+1:.cheers RASA

1 Like

and thanks a lot @fkoerner for your kind corporation :relaxed: :+1: :+1:

1 Like

Glad to hear it was solved, great work @nik202 ! @kisal the indentation can get a bit tricky – sometimes it will make the YamlReader interpret the file in an unintended way. We have some examples of yaml files here for future reference :slight_smile:

2 Likes

@kisal Great :blush:, Yes it’s an indentation and at last, there was blank spaces. I am happy that I was able to help you!

1 Like

@fkoerner Thanks for the kind word!

2 Likes