I am a complete beginner to chatbot development and also all kinds of development, I took a few Python courses and can read the code, but it’s about it.
I am taking the course on Udemy and I have noticed that there are some differences. I think the version of the course is 1.0, in the course they use markdown files and the Rasa version I installed contains YAML files.
I followed the course and Section 2: Training Data and after saving and executing the command “rasa train” I got the following error below. I made sure that I used the YAML structure when following the course (btw. I used TAB and not Space to indent). Here is a screenshot of the stories.yml file Screen Shot 2021-05-07 at 17.41.09.png - Droplr
(venv) max@Maxs-MBP rasa-for-beginners % rasa train The configuration for pipeline and policies was chosen automatically. It was written into the config file at ‘config.yml’. YamlValidationException: Failed to validate ‘data/stories.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in data/stories.yml:34: Key ‘intend’ was not defined. Path: ‘/stories/3/steps/0’ in data/stories.yml:39: Key ‘intend’ was not defined. Path: ‘/stories/4/steps/0’ in data/stories.yml:44: Key ‘intend’ was not defined. Path: ‘/stories/5/steps/0’
Can anyone please help me? It’s much appreciated.