pokedex-demo icon indicating copy to clipboard operation
pokedex-demo copied to clipboard

rasa 3.0.8 throws error "required key 'mappings' [...] missing in domain.yml [...] path: /slots/..." during rasa train

Open cons0l3 opened this issue 2 years ago • 3 comments

rasa train throws ValidationExcepetion in domain.yml, not having a key "mapping" in Path: 'slots/attribute':

YamlValidationException: Failed to validate '...\pokedex-demo\domain.yml'. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation:
  in ...\pokedex-demo\domain.yml:65:
      Cannot find required key 'mappings'. Path: '/slots/attribute'
  in ...\pokedex-demo\domain.yml:67:
> rasa --version
Rasa Version      :         3.0.8
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.0.4
Rasa X Version    :         None
Python Version    :         3.8.12

Steps to reproduce the behavior:

  1. follow instruction in readme
  2. execute rasa train (step 2)

cons0l3 avatar Mar 03 '22 09:03 cons0l3

Thanks for the issue, @hsm207 will get back to you about it soon!

You may find help in the docs and the forum, too 🤗

sara-tagger avatar Mar 03 '22 13:03 sara-tagger

I have figured out, that the example is based on previous versions of rasa and the 3.0 was a major (recent) step. I will try to follow the "migration" recommendations and upgrade the example. If you wish I prepare a PR. But keep in mind, I am a noob ;-)

cons0l3 avatar Mar 03 '22 13:03 cons0l3

@cons0l3 no worries. just tag me when you made the PR and I'll review it :)

hsm207 avatar Mar 03 '22 13:03 hsm207