r1d1 / ellie-slack

Meet Schwarzie, Ellie's younger, hipper, text-learning successor. It makes a great Slackbot (forked from Ellie).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schwarzie

Schwarzie is an ellie-slack bot reading from users's input in order to learn words, sentences and, maybe one day, be able to talk autonomously. The idea is that chatbot are usually quickly boring because answers are pre-formatted, thus learning from actual people chatting may improve the quality of answers. On the other hand, it's a practical exercise on programming (text-processing) neural networks, which is a current active field of research.

ellie-slack

Meet Ellie, Eliza's younger, hipper, psychobabble-friendly successor. She makes a great Slackbot.

Background

Ellie's is Slack's Python-based real-time messaging bot wrapped around Daniel Connelly's Python implementation of Peter Norvig's Paradigms of AI Programming Eliza .. with updated diction. Loads has changed since 1991, and she seemed a little standoff-ish – which also led to her new, hip name.

The langauge updates rendered her internals less elegant, but I think – hope – they make Ellie more fun than Eliza ever was.

Modding Ellie

If you'd like to dive into Ellie's innerworkings, ellie.py is your file. Push changes back here, in a branch, if you think others will appreicate your wit.

Dependencies

Installation

  1. Download Ellie
git clone git@github.com:christinac/ellie-slack.git
cd ellie-slack
  1. Install dependencies
pip install -r requirements.txt
  1. Configure rtmbot (Slack instructions.) From the Slack console, you'll get to choose your bot's name and icon. Though we've become partial to Ellile, bot-naming is up to you.
cp example-config/rtmbot.conf .
vi rtmbot.conf
SLACK_TOKEN: "xoxb-11111111111-222222222222222"
  1. Run her! (You've got to keep her running so long as you'd like her to keep chattering; something like nohup might be helpful.)
  python rtmbot.py

Ellie in action

Ellie in action

About

Meet Schwarzie, Ellie's younger, hipper, text-learning successor. It makes a great Slackbot (forked from Ellie).


Languages

Language:Python 100.0%