Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 904 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 904 Bytes

Brobot

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

Installation

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 broize.py "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!

License

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