Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# cbot
## a chinese chat robot
### Introduction to cbot usage:

##### version:0.1.4.3
#### how to install cbot:
```angular2html
```python
pip install cbot
```
#### if you got an error when install python-Levenshtein package
#### you can download .whl file at [python-levenshtein](https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-levenshtein) and install this package:
#### If you want to use it locally:
```angular2html

```python
from cbot import CBot
cbot = CBot('cbotName')

Expand Down Expand Up @@ -41,7 +43,8 @@ while True:
print('cbot:', reponse)
```
#### If you want to use it with turing api:
```angular2html

```python
from cbot import CBot

cbot = CBot('felix')
Expand All @@ -50,7 +53,7 @@ while True:
que = input('我:')
reponse = cbot.get_response(str(que), api='turing')
print('CBot:', reponse)
```

#### Now have fun!
#### If you get a bug,you can send the bug to my email.
#### Here is my email:felix2@foxmail.com