# How to import LUIS data to Rasa NLU

**URL:** <https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265>\
**Category:** Rasa Open Source\
**Created:** [August 7, 2018, 2:09pm UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265 "2018-08-07T14:09:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![montacerdk](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/montacerdk/32/166_2.png) [@montacerdk](https://forum.rasa.com/u/montacerdk)\
**Post date:** [August 7, 2018, 2:09pm UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265/1 "2018-08-07T14:09:23Z")

</div>

Hello, I am trying to use Rasa NLU instead of LUIS for my chatbot. After my downloading LUIS app data (Json file), I have tried to upload that file to Rasa based on the Documentation (rasa-nlu-trainer) but it didn’t work.

It looks like the JSON format of LUIS do not much Rasa, What should I do in this case?

Thank you.

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [August 9, 2018, 9:33am UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265/2 "2018-08-09T09:33:23Z")

</div>

Hey @montacerdk. rasa-nlu-trainer is a UI for inspecting training data, adding new examples, which was developed by one of our contributors. I think it is true that the json format produced by LUIS is slightly different from what rasa-nlu-trainer expects, but you should still be able to train the model without any issues using raw LUIS data export. So for example, if you have LUIS data export called `luis.json` and configuration file for Rasa NLU model called `nlu_config.yml`, you can simply run:

```auto
python -m rasa_nlu.train -c nlu_config.yml --data data/luis.json -o models --fixed_model_name nlu --project current --verbose

```

This will train a rasa nlu model with luis data. After you do it, you can find a rasa-nlu-trainer compatible training data file in your nlu model folder (the path to it will be something like /models/current/nlu/training\_data.json). You can then replace you original luis export with this file, open it using rasa-nlu-trainer if you want, add more examples, etc 🙂

---

<div class="post-metadata">

**Author:** ![chatbotz3](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@chatbotz3](https://forum.rasa.com/u/chatbotz3)\
**Post date:** [December 3, 2018, 12:59pm UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265/3 "2018-12-03T12:59:58Z")

</div>

Exception: Invalid luis data schema version 3.1.0, should be 2.x.x. Make sure to use the latest luis version (e.g. by downloading your data again). I am getting this error when i tried to train my luis data Please help

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [December 3, 2018, 4:04pm UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265/4 "2018-12-03T16:04:39Z")

</div>

@chatbotz3 Hey, I see this is related to this issue here [https://github.com/RasaHQ/rasa\_nlu/issues/1228](https://github.com/RasaHQ/rasa_nlu/issues/1228). I’ll check if we made any updates on this and will get back to you 🙂

---

<div class="post-metadata">

**Author:** ![chatbotz3](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@chatbotz3](https://forum.rasa.com/u/chatbotz3)\
**Post date:** [December 4, 2018, 11:01am UTC](https://forum.rasa.com/t/how-to-import-luis-data-to-rasa-nlu/265/5 "2018-12-04T11:01:44Z")

</div>

if i changed version in luis json file to 2.9.0 training has been done successfully.But i am only getting null and greet intents   
python -m rasa\_nlu.server --path projects  
I run my server by using above command
