Can we train with json file instant of yml file

Hi, Can we train the model with JSON file instant of yml file. If yes can you share with me some reference link for JSON format for nlu and domain file.


No, you need to convert your JSON to YAML.

I recall that there once was a time where we did allow for training with json data, but I don’t know if that feature is still around or perhaps has been deprecated. Either way, the yml format is the format that we recommend since it’s easier to maintain/edit with a team. Note though that Rasa has tools to help you with converting data.

In particular, it sounds like you may want to explore this command:

rasa data convert
1 Like