Package ai.tock.bot.definition
Class SimpleBotDefinition
-
- All Implemented Interfaces:
-
ai.tock.bot.definition.BotDefinition,ai.tock.translator.I18nKeyProvider
public final class SimpleBotDefinition extends BotDefinitionBase
A simple BotDefinition.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SimpleBotDefinition(String botId, String namespace, List<StoryDefinition> stories, String nlpModelName, StoryDefinition unknownStory, StoryDefinition helloStory, StoryDefinition goodbyeStory, StoryDefinition noInputStory, StoryDefinition botDisabledStory, StoryDefinition botEnabledStory, StoryDefinition userLocationStory, StoryDefinition handleAttachmentStory, EventListener eventListener, StoryDefinition keywordStory, DialogFlowDefinition conversation, Function1<Action, Unit> botEnabledListener)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class ai.tock.bot.definition.BotDefinitionBase
getBotDisabledStory, getBotEnabledListener, getBotEnabledStory, getBotId, getDefaultRagExcludedAnswer, getDefaultUnknownAnswer, getEventListener, getFlowDefinition, getGoodbyeStory, getHandleAttachmentStory, getHelloStory, getKeywordStory, getNamespace, getNlpModelName, getNoInputStory, getRagConfiguration, getRagExcludedStory, getRagStory, getStories, getUnknownStory, getUserLocationStory, setRagConfiguration, toString -
Methods inherited from class ai.tock.bot.definition.BotDefinition
defaultDelay, disableBot, enableBot, entity, errorAction, findIntent, findStoryByStoryHandler, findStoryDefinition, findStoryDefinition, findStoryDefinitionById, getBotDisabledStories, getBotEnabledStories, getDefaultStory, getTestBehaviour, hasDisableTagIntent, hasToPersistAction, i18n, i18nTranslator -
Methods inherited from class ai.tock.translator.I18nKeyProvider
i18n -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SimpleBotDefinition
SimpleBotDefinition(String botId, String namespace, List<StoryDefinition> stories, String nlpModelName, StoryDefinition unknownStory, StoryDefinition helloStory, StoryDefinition goodbyeStory, StoryDefinition noInputStory, StoryDefinition botDisabledStory, StoryDefinition botEnabledStory, StoryDefinition userLocationStory, StoryDefinition handleAttachmentStory, EventListener eventListener, StoryDefinition keywordStory, DialogFlowDefinition conversation, Function1<Action, Unit> botEnabledListener)
-
-
-
-