# Rasa NLU Http Training issue

**URL:** <https://forum.rasa.com/t/rasa-nlu-http-training-issue/565>\
**Category:** Rasa Open Source\
**Created:** [August 21, 2018, 1:18am UTC](https://forum.rasa.com/t/rasa-nlu-http-training-issue/565 "2018-08-21T01:18:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bing-Xia](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Bing-Xia](https://forum.rasa.com/u/Bing-Xia)\
**Post date:** [August 21, 2018, 1:18am UTC](https://forum.rasa.com/t/rasa-nlu-http-training-issue/565/1 "2018-08-21T01:18:14Z")

</div>

I’ve used 2 kind of format to train NLU model:

Using training data in json format:

```
language: "en"

pipeline: "spacy_sklearn"

# data contains the same json, as described in the training data section
data: {
  "rasa_nlu_data": {
    "common_examples": [
      {
        "text": "hey",
        "intent": "greet",
        "entities": []
      }
    ]
  }
}

```

Using training data in md format:

```
language: "en"

pipeline: "spacy_sklearn"

# data contains the same md, as described in the training data section
data: |
  ## intent:affirm
  - yes
  - yep

  ## intent:goodbye
  - bye
  - goodbye

```

use postman to call “localhost:5000/train?project=my\_project” with training data, two model generated successfully, see the image

 ![NLU_MD_20180821-090815](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/1X/4d45e09930c64681aa55581b812564f9f15c2498.png)

the issue is model\_20180821\_090703 was trained in JSON format, and response intent of " localhost:5000/parse?project=my\_project&q=bye" always null.

> ```
> {
> "intent": null,
> "entities": [],
> "intent_ranking": [],
> "text": "bye",
> "project": "my_project",
> "model": "model_20180821-090703"
> }
> 
> ```

but model\_20180821-090636 works well, anybody can give any help will be greatly appreciate, thanks

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [August 24, 2018, 1:13pm UTC](https://forum.rasa.com/t/rasa-nlu-http-training-issue/565/2 "2018-08-24T13:13:17Z")

</div>

> [@Bing-Xia](#):
>
> “rasa\_nlu\_data”: { “common\_examples”: [{ “text”: “hey”, “intent”: “greet”, “entities”: }] } }

You only have one intent example here
