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
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