forked from Atulvermaon18/RASA_CHATBOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (29 loc) · 1.16 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.PHONY: clean train-nlu train-core cmdline server
TEST_PATH=./
help:
@echo " clean"
@echo " Remove python artifacts and build artifacts."
@echo " train-nlu"
@echo " Trains a new nlu model using the projects Rasa NLU config"
@echo " train-core"
@echo " Trains a new dialogue model using the story training data"
@echo " action-server"
@echo " Starts the server for custom action."
@echo " cmdline"
@echo " This will load the assistant in your terminal for you to chat."
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
rm -rf docs/_build
train-nlu:
python -m rasa_nlu.train -c nlu_config.yml --data data/nlu_data.md -o models --fixed_model_name nlu --project current --verbose
train-core:
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c policies.yml
cmdline:
python -m rasa_core.run --enable_api -d models/current/dialogue -u models/current/nlu --debug --endpoints endpoints.yml --cors "*"
action-server:
python -m rasa_core_sdk.endpoint --actions actions