tock / ai.tock.bot.engine.dialog / DialogState / setContextValue

setContextValue

fun setContextValue(name: String, value: Any?): Unit (source)

Updates persistent context value. Do not store Collection or Map in the context, only plain objects or typed arrays.