tock / ai.tock.bot.engine.dialog / ai.tock.nlp.api.client.model.Entity / setTo

setTo

infix fun Entity.setTo(value: Value?): EntityValue (source)

Takes a Value applied to the current Entity and returns a EntityValue.

infix fun Entity.setTo(text: String): EntityValue (source)

Takes a String applied to the current Entity and returns a not yet evaluated EntityValue.