Giter VIP home page Giter VIP logo

hubot-playbook's Introduction

Context and branching for chatbot conversations (with Hubot).

npm version Build Status Coverage Status dependencies Status devDependencies Status

semantic-release Commitizen friendly JavaScript Style Guide License: MIT Join the chat at https://gitter.im/hubot-playbook/Lobby

Important

Playbook works best with a custom fork of hubot that adds promises to middleware - hubot async - which allows async features. Hopefully in later versions of hubot, async will be supported and Playbook can be used with any version from then on.

Usage & Development

  1. Read the docs to get an understanding of Playbook modules and their methods.

  2. See basic examples in the integration scripts, the outcomes of are tested here.

  3. See advanced examples in the main Playbook module tests here.

Tests are run with Hubot Pretend

TODO

Fixes

  • Write tests for Outline module
  • Replace hoooker package with middleware pattern for scene enter etc
  • Queue dialogue.receive calls to ensure messages process synchronously
  • Optional config for send middleware to throttle hearing consecutive res
  • Display "thinking" ellipses (emit event for use by adapters)

Docs

  • Update integration tests to with unique listeners so all can be loaded at once
  • Write usage examples as integration tests, with inline doc comments
  • Generate usage guide docs from integration tests with annotated source
  • Example setup steps for a Playbook bot without development requirements
  • Add npm script to start a hubot and interact with usage examples in shell
  • Contributor docs with npm script examples and commitizen ettiquite
  • Make interactive demo bots, illustrating features and data inspection

Features

  • Add timing module to rate limit and schedule sends
  • Integrate enter/path/branch listeners with Conditioner for semantic matchers
  • Add integration tests with external-scripts and adapters (e.g. shell/irc)
  • Helpers for adapter UI payloads, for buttons and cards in messenger etc
  • NLP for path matching on intent params with rasa.ai
  • Translate sent strings and match terms with i18n-node

hubot-playbook's People

Contributors

timkinnane avatar garychapman 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.