tock / ai.tock.bot.admin.bot / BotConfiguration

BotConfiguration

data class BotConfiguration (source)

Configuration details for a bot.

Constructors

<init>

Configuration details for a bot.

BotConfiguration(name: String, botId: String, namespace: String, nlpModel: String, apiKey: String = UUID.randomUUID().toString(), webhookUrl: String? = null, supportedLocales: Set<Locale> = emptySet())

Properties

apiKey

The api key.

val apiKey: String

botId

The bot identifier.

val botId: String

name

The bot configuration name.

val name: String

namespace

The namespace of the model.

val namespace: String

nlpModel

The name of the model.

val nlpModel: String

supportedLocales

Supported locales.

val supportedLocales: Set<Locale>

webhookUrl

Optional webhook url.

val webhookUrl: String?