venk12 / brobot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Python 100.0%