Sure. I guess it is not the big issue now since I can modify my data to be one composite layer at most. I have it worked with rasa 0.15.0, but when I tried to migrated this morning since you release the supported version, I encountered an issue of failing to read the composite json file. Could you take a look? Here is the traceback:
Training NLU model…
Traceback (most recent call last):
File “/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
“main”, mod_spec)
File “/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/main.py”, line 81, in
main()
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/main.py”, line 70, in main
cmdline_arguments.func(cmdline_arguments)
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/cli/train.py”, line 132, in train_nlu
fixed_model_name=args.fixed_model_name,
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/train.py”, line 372, in train_nlu
fixed_model_name=fixed_model_name,
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/train.py”, line 391, in _train_nlu_with_validated_data
config, nlu_data_directory, _train_path, fixed_model_name=“nlu”
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/nlu/train.py”, line 89, in train
training_data = load_data(data, nlu_config.language)
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/nlu/training_data/loading.py”, line 56, in load_data
data_sets = [_load(f, language) for f in files]
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/nlu/training_data/loading.py”, line 56, in
data_sets = [_load(f, language) for f in files]
File “/Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa/nlu/training_data/loading.py”, line 115, in _load
raise ValueError(“Unknown data format for file {}”.format(filename))
ValueError: Unknown data format for file /var/folders/yd/0wytdp2n6bx4j7nh_km3_xr00000gn/T/tmp2vgbkpkg/e3c2371162544153998fe9dac300943a_nlu.json
This is the traceback from rasa x UI:
2019-06-05 10:17:23 WARNING py.warnings - /Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa_composite_entities/composite_entity_extractor.py:129: UserWarning: Failed to load composite entitiesfile from “/var/folders/yd/0wytdp2n6bx4j7nh_km3_xr00000gn/T/tmph9fkb9ve/nlu/composite_entities.json”
‘file from “{}”’.format(composite_entities_file)
2019-06-05 10:30:09 WARNING py.warnings - /Users/brian/rasax/rasax/lib/python3.7/site-packages/rasa_composite_entities/composite_entity_extractor.py:70: UserWarning: The CompositeEntityExtractor could not load the train file.
"The CompositeEntityExtractor could not load "
Thanks!