public final class BotInstance
extends fr.paris.lutece.plugins.chatbot.service.bot.AbstractChatBot
Constructor and Description |
---|
BotInstance(BPBot bot)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBotApiEntryPointUrl()
Returns the BotApiEntryPointUrl
|
List<fr.paris.lutece.plugins.chatbot.business.BotPost> |
processUserMessage(String strMessage,
String strConversationId,
Locale locale) |
void |
reset(String strConversationId)
Reset the conversation
|
void |
setBotApiEntryPointUrl(String strBotApiEntryPointUrl)
Sets the BotApiEntryPointUrl
|
getAvailableLanguages, getAvatarRendererKey, getAvatarUrl, getDescription, getDescriptionI18nKey, getKey, getName, getNameI18nKey, getWelcomeMessage, isStandalone, setAvatarRendererKey, setAvatarUrl, setDescription, setDescriptionI18nKey, setKey, setListAvailableLanguages, setName, setNameI18nKey, setStandalone, setWelcomeMessage
public BotInstance(BPBot bot)
bot
- The BotPress botpublic String getBotApiEntryPointUrl()
public void setBotApiEntryPointUrl(String strBotApiEntryPointUrl)
strBotApiEntryPointUrl
- The BotApiEntryPointUrlpublic List<fr.paris.lutece.plugins.chatbot.business.BotPost> processUserMessage(String strMessage, String strConversationId, Locale locale)
public void reset(String strConversationId)
reset
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
reset
in class fr.paris.lutece.plugins.chatbot.service.bot.AbstractChatBot
strConversationId
- The conversation IDCopyright © 2020 City of Paris. All rights reserved.