All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.justai.jaicf.channel.yandexalice.manager.BotContextModel.kt Maven / Gradle / Ivy

Go to download

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