No description, website, or topics provided.
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Added updated gitignore Apr 20, 2016
LICENSE Initial commit Apr 20, 2016 Add some useful documentation Sep 20, 2016 Add some useful documentation Sep 20, 2016 Initial tests passing Apr 20, 2016
requirements.txt Initial load Apr 20, 2016 First bug omg; use normal string tokenization to avoid passing throug… May 12, 2016


Sample code for a tutorial on bot creation in Python: Chatbot Fundamentals: An interactive guide to writing bots in Python


Requires Python 2.7 or Python 3

Set up and activate a virtualenv

python virtualenv venv

. venv/bin/activate

Install the Python-level dependencies

pip install -r requirements.txt

Run the command-line interface

You can use the script as a library by calling broback(sentence) directly, or call it from the command line. Say something custom as an argument to the script, or the program will just use a default sentence:

python "I am an engineer"

Note that this bot is extremely simple as it's been optimized for use as a training tool. It's not very interesting by itself!


Copyright (c) 2016 Liza Daly / Licensed under the MIT license.