Package ai.tock.bot.definition
Object BotDefinitionBase.Companion
-
- All Implemented Interfaces:
public class BotDefinitionBase.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final SimpleStoryDefinitiondefaultUnknownStoryprivate final SimpleStoryDefinitiondefaultRagExcludedStoryprivate final RAGStoryDefinitiondefaultRagStoryprivate final SimpleStoryDefinitiondefaultKeywordStorypublic final static BotDefinitionBase.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetKeyword(BotBus bus)Returns a (potential) keyword from the BotBus. final UnittestContextKeywordHandler(BotBus bus, Boolean sendEnd)The default handler used to handle test context initialization. final UnitendTestContextKeywordHandler(BotBus bus, Boolean sendEnd)The default handler used to cleanup test context. final UnitdeleteKeywordHandler(BotBus bus, Boolean sendEnd)The default handler used to delete the current user. final BooleanhandleWithKeywordListeners(BotBus bus, String keyword)final SimpleStoryDefinitiongetDefaultUnknownStory()The default unknownStory. final SimpleStoryDefinitiongetDefaultRagExcludedStory()The default ragExcludedStory. final RAGStoryDefinitiongetDefaultRagStory()final SimpleStoryDefinitiongetDefaultKeywordStory()The default keywordStory. -
-
Method Detail
-
getKeyword
final String getKeyword(BotBus bus)
Returns a (potential) keyword from the BotBus.
-
testContextKeywordHandler
final Unit testContextKeywordHandler(BotBus bus, Boolean sendEnd)
The default handler used to handle test context initialization.
-
endTestContextKeywordHandler
final Unit endTestContextKeywordHandler(BotBus bus, Boolean sendEnd)
The default handler used to cleanup test context.
-
deleteKeywordHandler
final Unit deleteKeywordHandler(BotBus bus, Boolean sendEnd)
The default handler used to delete the current user.
-
handleWithKeywordListeners
final Boolean handleWithKeywordListeners(BotBus bus, String keyword)
-
getDefaultUnknownStory
final SimpleStoryDefinition getDefaultUnknownStory()
The default unknownStory.
-
getDefaultRagExcludedStory
final SimpleStoryDefinition getDefaultRagExcludedStory()
The default ragExcludedStory.
-
getDefaultRagStory
final RAGStoryDefinition getDefaultRagStory()
-
getDefaultKeywordStory
final SimpleStoryDefinition getDefaultKeywordStory()
The default keywordStory.
-
-
-
-