public class BotInstance extends Object implements fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
| Constructor and Description |
|---|
BotInstance(RecastBot bot)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableLanguages() |
String |
getAvatarUrl() |
String |
getDescription(Locale locale) |
String |
getKey() |
String |
getName(Locale locale) |
String |
getWelcomeMessage()
Returns the WelcomeMessage
|
boolean |
isStandalone() |
List<fr.paris.lutece.plugins.chatbot.business.BotPost> |
processUserMessage(String strMessage,
String strConversationId,
Locale locale) |
void |
reset(String strConversationId)
Reset the conversation
|
void |
setStandalone(boolean bStandalone)
Sets the Standalone
|
void |
setWelcomeMessage(String strWelcomeMessage)
Sets the WelcomeMessage
|
public BotInstance(RecastBot bot)
bot - The Recast bot datapublic String getKey()
getKey in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic String getName(Locale locale)
getName in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic String getDescription(Locale locale)
getDescription in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic List<String> getAvailableLanguages()
getAvailableLanguages in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic String getAvatarUrl()
getAvatarUrl in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic List<fr.paris.lutece.plugins.chatbot.business.BotPost> processUserMessage(String strMessage, String strConversationId, Locale locale)
processUserMessage in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic boolean isStandalone()
isStandalone in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic void setStandalone(boolean bStandalone)
bStandalone - The Standalonepublic String getWelcomeMessage()
getWelcomeMessage in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotpublic void setWelcomeMessage(String strWelcomeMessage)
strWelcomeMessage - The WelcomeMessagepublic void reset(String strConversationId)
reset in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBotstrConversationId - The conversation IDCopyright © 2018 City of Paris. All rights reserved.