Can't running model on custom dataset

Hi everyone,

I wanted to say thank you for rasa team who developed this library and have been helped all developers in the world to create a bot (mostly).

I just want to ask that currently, I’m building a custom dataset and have defined the intents and also define entities for each intent. And right now I want to run a nlu_model.py, but it got me an error.

Actually, I’ve opened a new issue at Github but it looks like still not got a response yet. So perhaps here, I can get a solution from the issue that I had.

Here’s an error when I was running the nlu_model.py

Traceback (most recent call last): File “nlu_model.py”, line 30, in train(’./data/training_data.json’, ‘./config/config.yml’, ‘./models/nlu’) File “nlu_model.py”, line 15, in train training_data = load_data(data) File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\loading.py”, line 55, in load_data data_sets = [_load(f, language) for f in files] File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\loading.py”, line 55, in data_sets = [_load(f, language) for f in files] File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\loading.py”, line 115, in _load return reader.read(filename, language=language, fformat=fformat) File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\formats\readerwriter.py”, line 13, in read return self.reads(utils.read_file(filename), **kwargs) File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\formats\readerwriter.py”, line 35, in reads return self.read_from_json(js, **kwargs) File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\formats\rasa.py”, line 22, in read_from_json validate_rasa_nlu_data(js) File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\formats\rasa.py”, line 91, in validate_rasa_nlu_data raise e File “C:\Users\Alvi\Anaconda3\lib\site-packages\rasa_nlu\training_data\formats\rasa.py”, line 86, in validate_rasa_nlu_data validate(data, _rasa_nlu_data_schema()) File “C:\Users\Alvi\Anaconda3\lib\site-packages\jsonschema\validators.py”, line 541, in validate cls(schema, *args, **kwargs).validate(instance) File “C:\Users\Alvi\Anaconda3\lib\site-packages\jsonschema\validators.py”, line 130, in validate raise error jsonschema.exceptions.ValidationError: ‘’ is too short. Failed to validate training data, make sure your data is valid. For more information about the format visit https://github.com/RasaHQ/rasa_nlu/blob/master/docs/dataformat.rst

Failed validating ‘minLength’ in schema[‘properties’][‘rasa_nlu_data’][‘properties’][‘common_examples’][‘items’][‘properties’][‘text’]: {‘minLength’: 1, ‘type’: ‘string’}

On instance[‘rasa_nlu_data’][‘common_examples’][1427][‘text’]:

Thank you for your attention guys

same problem :frowning: