Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 5, 2018. It is now read-only.

torgeirl/eliza

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eliza

Overview

A chatbot that emulates a Rogerian psychotherapist, implemented to be a Beep Boop hostable, Python-based Slack bot.

Assumptions

  • You have already signed up with Beep Boop and have a local fork of this project.
  • You have sufficient rights in your Slack team to configure a bot and generate/access a Slack API token.

Usage

Run locally

Install dependencies (virtualenv is recommended.)

pip install -r requirements.txt
export SLACK_TOKEN=<YOUR SLACK TOKEN>; python ./bot/app.py

Things are looking good if the console prints something like:

Connected <your bot name> to <your slack team> team at https://<your slack team>.slack.com.

If you want change the logging level, prepend export LOG_LEVEL=<your level>; to the python ./bot/app.py command.

Run locally in Docker

docker build -t starter-python-bot .
docker run --rm -it -e SLACK_TOKEN=<YOUR SLACK API TOKEN> starter-python-bot

Run in BeepBoop

If you have linked your local repo with the Beep Boop service (check here), changes pushed to the remote master branch will automatically deploy.

Credits

The chatbot Eliza was first implemented in 1966 by Joseph Weizenbaum. Much of this project's code was implemented by Evan Dempsey, who again credits Joe Strout for the original Python implementation.

The BeepBoop bot design of this project is heavily inspired by BeepBoopHQ's Starter Python bot (MIT license).

License

See the LICENSE file for license rights and limitations (MIT).

About

Chatbot for Slack that emulates a Rogerian psychotherapist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%