Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/zqhZY/rasa_chatbot
Browse files Browse the repository at this point in the history
  • Loading branch information
zqhZY committed Jan 12, 2018
2 parents f73759d + 222bd24 commit d987c3f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
26 changes: 26 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

## install dependency

#### python3
install or update to python 3

#### install chinese version of rasa nlu
```
git clone https://github.com/crownpku/Rasa_NLU_Chi.git
cd rasa_nlu
pip install -r requirements.txt
python setup.py install
```

#### install sklearn and MITIE

```
pip install -U scikit-learn sklearn-crfsuite
pip install git+https://github.com/mit-nlp/MITIE.git
```

#### install rasa_core

```
pip install rasa_core
```
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# rasa_chatbot
A Chinese task oriented chatbot in IVR(Interactive Voice Response) domain(电信ivr领域, 中文), Implement by rasa nlu and rasa core. This is a demo with toy dataset.

### requirements:
- python3
- [rasa_nlu_chi](https://github.com/crownpku/rasa_nlu_chi)
- [rasa_core](https://github.com/RasaHQ/rasa_core)
- sklearn
- mitie [(you can install follow here)](https://nlu.rasa.ai/installation.html#section-backends)
### install dependency:
- [follow here](https://github.com/zqhZY/rasa_chatbot/blob/master/INSTALL.md)

### dir tree
```
Expand Down Expand Up @@ -34,6 +30,10 @@ python bot.py train-nlu
```bash
python bot.py train-dialogue
```
### train dialogue in online mode
```
python bot.py online_train
```

### test
Run command below:
Expand Down

0 comments on commit d987c3f

Please sign in to comment.