Skip to content

lutece-platform/lutece-chat-plugin-botpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin botpress

Introduction

This plugins lets embed BotPress bots into the Lutece site

The integration is based on the Lutete Chatbot plugin providing the conversational UI.

Three modes of integration are possible:

  • mode 1: The Chatbot is in the form of a web page (classic XPage)
  • mode 2: The Chatbot comes in a popup that opens with a button at the bottom right of any page of the site
  • mode 3: The Chatbot is integrated in iframe in another site

To integrate a BotPress bot the only information needed is its identifier and the address of the server

Configuration

Deploy this plugin with the chatbot plugin and Manage BotPress bots access in the Back Office

To declare a BotPress bot in the Lutece Back Office Manage BotPress Bots then click on Add Bot and fill in the following fields:

Usage

Mode 1: web page

Access to the web page is via the following URL:


http://myhost/jsp/site/Portal.jsp?page=chatbot
                    

Mode 2: Integration via a popup This integration is done by adding the bookmark of the PageInclude proposed by the ChatBot plugin in the HTML template of the site (file WEB-INF/templates/site/page_frameset.html ). You must add the following line in this file before closing the body tag.


$ {chat_popup_include}
                    

Mode 3: iFrame

The URL to source the IFRAME is:


https://myhost/jsp/site/Portal.jsp?page=chatbot&view=bot&bot=mybot&standalone=true&lang=en
                    

Maven documentation and reports

generated by xdoc2md - do not edit directly.