com.justai.jaicf.channel.yandexalice.manager.BotContextModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yandex-alice Show documentation
Show all versions of yandex-alice Show documentation
JAICF-Kotlin Yandex Alice Channel implementation. Enables JAICF-Kotlin integration with Alice.
The newest version!
package com.justai.jaicf.channel.yandexalice.manager
import com.justai.jaicf.context.BotContext
import com.justai.jaicf.context.DialogContext
data class BotContextModel(
val result: Any?,
val client: Map,
val session: Map,
val dialogContext: DialogContext?
) {
constructor(botContext: BotContext): this(
result = botContext.result,
client = botContext.client.toMutableMap(),
session = botContext.session.toMutableMap(),
dialogContext = botContext.dialogContext
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy