Skip to content

Collection of repositories for CoreBot-framework

License

Notifications You must be signed in to change notification settings

guillain/CoreBot

Repository files navigation

CoreBot as chatbot framework

Chatbot framework based on botkit.

The idea is to provide a simple solution compatible with the most of business messaging. This must be easy to deploy, set and maintain. In that case the features and/or sketches developed are fully compatible with all environments and made the development reusable in the futures integrations.

Instead to code to create and deploy our chatbot with its own scenario, build it by configuration!

Advantage

  • Generic setup is done to support all environment and settings
  • Business messaging compatibilities:
    • Web (web server included)
    • Jabber
    • Cisco Webex Teams (Cisco Spark)
    • Microsoft Teams
    • Slack
    • Google Hangout
  • The security is natively integrated with access list and privilege management on controller and user level.
  • All features can be used on controller level (preload) or when event is triggered (loaded dynamically)
  • Standard libraries to create quickly and properly new feature
  • The configuration can be provided in a single file config.json or in splitted files. The configuration can overload the default configuration of each feature.

Features

All features are stored in the controller folders and they're loaded with the help of a common script.

The non-exhaustive list is hereafter:

  • NLP provided by LUIS via the botkit feature
  • Google translation
  • BigData connector (to send info/tracking/APM data to a datalake)
  • CSV file management
  • autoreply (like echo)
  • survey
  • button
  • ...

Pre requisites

  1. Python
  • 2.7
  • 3.5
  1. Redis server
  2. Internet access (Business Messaging and additional API)

Fast Run

If need, add your environment variables in .env file or OS env var or in the json configuration files

Locally

  1. Clone the project demo: git clone https://github.com/guillain/CoreBot-demo.git
  2. Run it ./run.sh

Docker

  1. Clone the framework CoreBot: gt clone https://github.com/guillain/CoreBot-framework.git
  2. Run it: cd CoreBot-framework && ./image build && ./image run

Configuration

Thanks to read this doc of configuration.

Installation

Thanks to read this doc of installation.

To jump in the framework's logic, follow this doc.

How to add new feature?

Thanks to read the HowTo add new doc to have get the complete details of the standard and template to use.

If need you can complete your framework knowledge with the following ones:

Don't hesitate to share yours creation ;-)

Tips

Redis local record issue

  • redis-cli> config set stop-writes-on-bgsave-error no

Welcome on the CoreBot repository structure

  1. CoreBot

    • Repository that regroups all CoreBot repositories
  2. CoreBot-framework

    • CoreBot framework based on the Botkit application
  3. CoreBot-Ansible

    • Ansible playbooks to deploy and maintain CoreBot-framework on dev, stage and production environment taken into account CI/CD pipeline
  4. CoreBot-doc