Korean chatbot with various language models. This chatbot runs on the local Django website, which will be incorporated to the official DIYA(Do It Yourself AI) webpage
How to set virtualenv
# Install
$ sudo apt-get install python3-virtualenv # for linux
$ pip install virtualenv # for mac / windows
# Run
$ virtualenv --python=python3 diyachat-env
$ source diyachat-env/bin/activate
How to install and set packages
Install requirements
$ pip install -r requirements.txt
$ sudo pip install [package_name] --upgrade # update packages
Save current packages into requirements.txt
$ pip freeze > requirements.txt
Run docker redis server (for chatting)
Installation
$ brew install Docker
Run
sudo docker run -p 6379:6379 -d redis
Run django server
$ python manage.py runserver
Setup sqlite DB
$ python manage.py makemigrations
$ python manage.py migrate
db.sqlite3
file and follow the process above again