RasaHQ / pokedex-demo

Rasa Demo for a digital assistant for pokemon
Apache License 2.0
36 stars 39 forks source link

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

Open cons0l3 opened 2 years ago

cons0l3 commented 2 years ago

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)
sara-tagger commented 2 years ago

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

You may find help in the docs and the forum, too 🤗
cons0l3 commented 2 years ago

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 ;-)

hsm207 commented 2 years ago

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