Coder Social home page Coder Social logo

breadbot's Introduction

Breadbot

Overview

Breadbot is a new chatterbot framwork at experimental stage which is aimed to simplify the development of chatterbot.

  • Open source code & huge amount of corpus
  • Wiki based corpus, easy to read & write
  • Minimalist design. Easy to deploy. Fast response

Visit the homepage Breadbot.Fun for more info.

Have a try

  • Download WeChat on your phone
  • Login WeChat and scan the QR code
  • QR
  • Talk to Breadbot

Quick Install

Breadbot works on Linux. Of cause u can let it work on other OS by modify the source code.

  • Download:
    • git clone https://github.com/ideamark/breadbot
  • Install:
    • First, make sure you have installed python3, python3-pip, python3-dev, gcc, redis-server.
    • run setup command: python3 setup.py install
    • The corpus will be downloaded during installation.
  • Uninstall:
    • python3 setup.py uninstall
  • Clean (not uninstall):
    • python3 setup.py clean

Let us start

  1. Type redis-server to launch Redis on port 6379.
  2. Type breadbot to launch the local console.
  3. Type import to import corpus data.
  4. Then u can test Breadbot. Type help for more info.

Corpus

  • All the corpus of Breadbot is on Breadbot.Fun, which is a website and also a git repo.
  • The repo will be downloaded automatically when you setup Breadbot by python3 setup.py install.

Config

  • Just watch the only single config file: bread.cfg

Super user mode

  • Super user mode is set for developers.
  • The local console is default set as super user.
  • If your WeChat ID is in bread.cfg super user list, u will get the super user functions.

Import to your project

  • Need root permission.
from breadbot.core import response
response('localuser', 'hello')

Connect to WeChat

  • Config your WeChat public platform account on mp.weixin.qq.com. Create the Token and enter your server URL.
  • Then back to local server. Run the command breadbot start to launch the server. Enter your Token and server IP.
  • After that, Breadbot will connect to WeChat public platform and u can chat to it on WeChat.

Seek more

breadbot's People

Contributors

ideamark avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.