# Is RASA NLU based on JSON data?

**URL:** <https://forum.rasa.com/t/is-rasa-nlu-based-on-json-data/47765>\
**Category:** Rasa Open Source\
**Created:** [September 16, 2021, 4:33am UTC](https://forum.rasa.com/t/is-rasa-nlu-based-on-json-data/47765 "2021-09-16T04:33:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miner](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@miner](https://forum.rasa.com/u/miner)\
**Post date:** [September 16, 2021, 4:33am UTC](https://forum.rasa.com/t/is-rasa-nlu-based-on-json-data/47765/1 "2021-09-16T04:33:50Z")

</div>

Hi,

I am just curious about the format RASA NLU actually trains on. Seems we make nlu.yaml, and RASA NLU system converts it to JSON format as blow:

{ “text”: “goodbye”, “intent”: “goodbye” },

Is it true that RASA converts yaml to JSON, and is based on JSON format for data training?

Any help would be greatly appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [September 16, 2021, 6:18am UTC](https://forum.rasa.com/t/is-rasa-nlu-based-on-json-data/47765/2 "2021-09-16T06:18:43Z")

</div>

@miner Hello, nice and interesting questions for that you can itself see how the data and conversation looks like whilst using the command `rasa shell --debug` but yes JSON data is mostly used for API’s call ( **Text formats**. **XML and JSON** are the main languages for accessing data over an API). Even when you store the bot/user conversation in database the last column is look like JSON format which have events and metadata.

**Good to know link** : [Creating Rasa NLU Data for Model in JSON Format | Asquero](https://www.asquero.com/article/creating-rasa-nlu-data-for-model-in-json-format/)

I hope this will clear your doubt and solve your issue. Good Luck!
