| Interface | Description |
|---|---|
| BotAnswerInterceptor |
Change or update answer before sending to the user
Need to be registered using
ai.tock.bot.engine.BotRepository.registerBotAnswerInterceptor. |
| BotDefinition |
The main interface used to define the behaviour of the bot.
|
| BotProvider |
Provides a specific type of
interface BotDefinition.
Custom provider should usually not directly extend this class, but instead extend class BotProviderBase. |
| ConnectorHandlerProvider |
Provides
annotationclass ConnectorHandler. |
| ConnectorStoryHandler<T extends StoryHandlerDefinition> |
Handler for specific
class ConnectorType. |
| EventListener |
Listen all events - this is the standard process to handle
class Event that are not Action (when you need to handle them). |
| HandlerStoryDefinitionCreator<T extends StoryHandlerDefinition> |
In order to create
interface StoryHandlerDefinition. |
| IntentAware |
Convenient interface used to compare
class Intent with interface StoryDefinition. |
| IntentAwareBase |
For Enum based
interface IntentAware implementations. |
| ParameterKey |
A parameter key - the implementation is usually an enum.
|
| SimpleStoryStep |
interface StoryStep without custom interface StoryHandlerDefinition. |
| StoryDataStep<T extends StoryHandlerDefinition,TD,D> |
A step that can have specific preconditions and can use input data object in handler.
|
| StoryDefinition |
The definition of a "Story".
A story holds a list of actions of the same domain.
The story provides a set of starter intents.
When theses intents are detected, The story is started.
|
| StoryDefinitionExtended |
Helper methods for StoryDefinition implementation.
Usually direct implementations are enums.
This interface add a starter (and main) intent with intent name equals to the property of value
name
to the interface StoryDefinition.
Warning: advanced usage only. |
| StoryHandler |
Receive a sentence or action, and send the answer.
|
| StoryHandlerDefinition |
Story handler definitions are used in
interface StoryHandler to provide custom context and to manage specific connector behaviour. |
| StoryHandlerListener |
To listen before and after action handling.
Need to be registered using
ai.tock.bot.engine.BotRepository.registerStoryHandlerListener. |
| StoryStep<T extends StoryHandlerDefinition> |
A step (the implementation is usually an enum) is a part of a
interface StoryDefinition.
Used to manage workflow in a interface StoryHandler. |
| TestBehaviour |
Define values and behaviour for integration tests.
|
| Enum | Description |
|---|---|
| DialogFlowStateTransitionType |