Skip to content

A chatterbot.py instance that I trained to quote The Office.

Notifications You must be signed in to change notification settings

ryderdamen/the_office_chat_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Office Chat Bot

A chatterbot.py instance that I trained to speak with phrases from the TV show 'The Office'

Training

First, make sure the JSON data sets are built and that chatterbot is installed

pip install chatterbot
php data/processor.php

Next, you can run train.py to train the bot, and store the data in a SQLlite database in /app/database

python app/train.py

Now, you should be able to communicate with it

python app/index.py "Hello Dwight"
Response: "Did you do her?"