Why the command validate data not working in my computer?

why I run rasa validate data not working and I received the msg is :

 usage: rasa data [-h] [-v] [-vv] [--quiet] {convert,split} ...


rasa data: error: invalid choice: 'validate' (choose from 'convert', 'split')

Hi @hajoura

which version of rasa are you currently using? In which directory do you execute the command in terms of the relative presence of the rasa files?

Regards Julian

can you please tell which command should I use to know the version

If you installed it via pip, you might use ‘pip freeze’ to get a list of installed packages. Just look for rasa in that list.

Otherwise you may go to the rasa library you use and check the file ‘version.py’, which contains the version youre using.

Hi @hajoura

just use “pip show rasa” if you installed it with pip. Are you executing the command inside the bots directory?

Regards

@JulianGerhard thank you so much the Version: 1.1.3

Okay, then please use: pip install rasa --upgrade once, move to your bot directory and use rasa data validate once.

Did it work now?

Regards

@JulianGerhard when I run it I see this ?? (base) hajars-MacBook-Pro:flight hajarchatoui$ rasa data validate

2019-08-28 14:35:10 WARNING rasa.core.training.dsl - Found unknown intent ‘one’ on line 224. Please, make sure that all intents are listed in your domain yaml.

2019-08-28 14:35:10 INFO rasa.core.validator - Validating intents…

2019-08-28 14:35:10 ERROR rasa.core.validator - The intent ‘one’ is used in stories, but is not listed in the domain file.

2019-08-28 14:35:10 INFO rasa.core.validator - Validating utterances… what do you think it works ?

Hi @hajoura

that’s it - it works perfectly! Just read carefully what matters to your case. For example:

2019-08-28 14:35:10 **ERROR** rasa.core.validator - The intent ‘one’ is used in stories, but is not listed in the domain file.

is a problem.

Regards

thank you so much but why now rasa x not working for me ?

Hi @hajoura,

I’d suggest to update rasa x aswell with pip install rasa-x --upgrade

Regards Julian

thank you deeply