PrinandaRahmatullah / chatbot-nlp

Chatbot layanan publik berbasis NLP dan model trained by Artificial Neural Network
3 stars 1 forks source link

ChatbotNLP_KKP2020

What Is This?

This is a simple Python/Flask application about public services Q&A chatbot based on NLP and trained on Artificial Neural Network.

The Goal

To implement Artificial Intelligence thing in public services for helping people accessing and retrieving information from website.

Requirements

Run this command on your Python 3.6++ environment:

pip install -r requirements.txt

How to Train The Neural Network

  1. Activate the environment.
  2. Run this command:
    python model_training.py
  3. Model trained.

How to Run

  1. Activate the environment if not activated.
  2. Run this command on your Linux terminal:
    export FLASK_APP=server.py FLASK_ENV=development
  3. Then to launch flask server, run this command:
    flask run
  4. Flask server launched.

Note

Feel free and enjoy to fork this repository.