The core of Just A Rather Very Intelligent System!
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m rasa_nlu.train -c config.yml --data data/nlu.md --verbose
python -m rasa_nlu.server -c config.yml --path models/nlu --response_log models --verbose
curl 'http://localhost:5000/status'
curl 'http://localhost:5000/version'
curl 'http://localhost:5000/parse?q=roll+a+die'
curl 'http://localhost:5000/parse?q=songs+by+linkin+park'
- Make changes in
data/nlu.md
. - Run
python -m rasa_nlu.train -c config.yml --data data/nlu.md
to train a new model, which will appear under themodels/nlu/default/
folder. - Change line 6 of
test.py
to the new folder created above, e.g.interpreter = Interpreter.load('./models/nlu/default/model_20200526-231423')
- Run
python test.py
You can also hit the blue Open in Gitpod button below to launch a ready-to-code environment (a VS Code-like interface in the browser with the dependencies pre-installed and the web server running).
Before contributing to this project do check CONTRIBUTING.md file