MapDB embedded database

Allows to use file based embedded database to persist BotContext instances.

Built on top of MapDB library.

Learn more about context here.


The main advantage of this manager is the simplicity of its configuration. All you need to start using it is some file name where the data will be stored.


Please note that all your custom data classes should implement Serializable interface to be able to be stored.

How to use

1. Include Map DB dependency to your build.gradle


Replace $jaicfVersion with the latest version

2. Configure Map DB manager

val templateBot = BotEngine(
    scenario = MainScenario,
    contextManager = MapDbBotContextManager(".db"),
    activators = arrayOf(