JDCRecomendable / witai-experiment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatbot Sample with Web Interface

Chatbot Sample
Version 0.2
Copyright © 2018 Jared Daniel Carbonell Recomendable.

Pre-Requisites (Python 3)

$ pip install -r requirements.txt

Note that depending on your operating system, you may need to replace pip with pip3 to install the above packages on Python 3, as the scripts will require Python 3 to be installed.

Running the Web Interface

(1) Download and extract all files in this repository.

Use your favourite software to extract the downloaded files. For Linux, the following can be executed in Bash if the .tar.gz file was downloaded:
$ tar -xvzf chatbot-sample-master.tar.gz

(2) Run main.py.

$ python main.py

Note that depending on your operating system, you may need to replace pip with pip3 to install the above packages on Python 3, as the scripts will require Python 3 to be installed.

(3) Access the web interface.

Put the following into your favourite browser's address bar:
localhost:5000

Closing the Web Interface

Terminate the server from the commandline.

Simply assign your operating system's focus to the terminal(s) where the applets are running and press Ctrl + C to stop them.

About

License:GNU General Public License v3.0


Languages

Language:Python 75.6%Language:CSS 12.5%Language:HTML 11.9%