Fork me on GitHub

Plugin easyrulesbot

Introduction

This plugin provides a chat bot engine based on the rules engine EasyRules.

Bots can be made by simply configure rules into a separate Lutece module : module-easyrulesbot-mybot.

This plugin uses the Plugin Chatbot as conversation UI.

See the online demo of a bot that helps you to create a pom.xml in order to build a Lutece web site.

Configuration

All the rules configuration should be defined into a YAML file of the bot module.

Response Processors

Some standard processors are available for commun response handling :

  • InputStringResponseProcessor : accept String to define the datakey of the rule.
  • MultipleValuesResponseProcessor : define the datakey of the rule among several values associated each to a list of terms.

Usage

For Front office bots :

  http://domain.com/context/jsp/site/Portal.jsp?page=chatbot