It looks like the use_entities syntax for 1.0 no longer supports this format:
- chitchat: null
use_entities: false
Using that gave me a stack trace after which I spent way too much time trying to figure out why something that has been working fine for a year broke. No mention of this in the 1.0 Migration Guide and no Deprecation error message from the rasa command.
I corrected it by using the syntax:
- chitchat: {use_entities: false}
Here’s the stack trace you get when you use the now deprecated syntax.
Traceback (most recent call last):
File "/usr/local/bin/rasa", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/rasa/__main__.py", line 70, in main
cmdline_arguments.func(cmdline_arguments)
File "/usr/local/lib/python3.6/site-packages/rasa/cli/train.py", line 121, in train_core
kwargs=extract_additional_arguments(args),
File "/usr/local/lib/python3.6/site-packages/rasa/train.py", line 215, in train_core
kwargs=kwargs,
File "uvloop/loop.pyx", line 1451, in uvloop.loop.Loop.run_until_complete
File "/usr/local/lib/python3.6/site-packages/rasa/train.py", line 252, in train_core_async
domain = Domain.load(domain, skill_imports)
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 77, in load
other = cls.from_path(path, skill_imports)
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 91, in from_path
domain = cls.from_file(path)
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 104, in from_file
return cls.from_yaml(rasa.utils.io.read_file(path))
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 114, in from_yaml
return cls.from_dict(data)
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 121, in from_dict
intent_properties = cls.collect_intent_properties(data.get("intents", {}))
File "/usr/local/lib/python3.6/site-packages/rasa/core/domain.py", line 217, in collect_intent_properties
if "use_entities" not in properties:
TypeError: argument of type 'NoneType' is not iterable