We can store training data in multiple files. And while training we can pass directory name containing this files in script.
python -m rasa_nlu.train --config config.yml --data nlu_data/ --path projects
Above training works perfectly. But when we try to train model over Rasa NLU Http Server using POST /train, we have to write training data in yml file.
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": []
}
]
}
}
In our case, we have training data in multiple files. So, Is it possible to pass directory path in training .yml file? By giving directory name, we can access all training files to train a model using Rasa NLU Http Server. Something like this:
language: "en"
pipeline: "spacy_sklearn"
# data contains the same json, as described in the training data section
data: nlu_data/
Is there any other way, we can achieve this case??
Any suggestions are welcome.
Thanks in advance.