siPintar is an indonesian chatbot built with NLP technique combine with MLP algorithm for your business need. Built with multi layer perceptron and you can customize with your own datasets.
If you want to train with your own datasets, checkout pengetahuan.json file
after that you have to run bot.py to train your own models and you are using
respon.py to classify and make a response chat with it.
Go to chatbot -> model -> pengetahuan.json(to suit with your own data)
$ python bot.py
$ python respon.py
if error while you run the respon.py:
please edit this code based on your environment
in respon.py
sys.path.append('/Users/detikcom/Documents/skripsi/')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "siPintar.settings")
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
...
- see Tensorflow
- see tflearn
- see Pysastrawi
- see nltk
- see django
$ git clone https://github.com/kunci115/siPintar.git
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver
...