tock / ai.tock.bot.engine.message / Choice / fromText

fromText

fun fromText(text: String, nlpText: String? = null, imageUrl: String? = null): Choice (source)

Returns a choice from text that will be analyzed by the NLP engine.