tock / ai.tock.bot.engine.dialog / NextUserActionState

NextUserActionState

data class NextUserActionState (source)

The temporary initial state for next user action.

Constructors

<init>

Build NextUserActionState from IntentAware/modifier map (in order to build NlpIntentQualifier).

NextUserActionState(intentsQualifiers: Map<out IntentAware, Double>, referenceDate: ZonedDateTime? = null, referenceTimezone: ZoneId? = null, states: Set<String>? = null)

Build NextUserActionState from IntentAware/modifier list (in order to build NlpIntentQualifier).

NextUserActionState(vararg intentsQualifiers: Pair<IntentAware, Double>)

Build NextUserActionState from list of current states.

NextUserActionState(vararg states: String)

The temporary initial state for next user action.

NextUserActionState(intentsQualifiers: List<NlpIntentQualifier>? = null, referenceDate: ZonedDateTime? = null, referenceTimezone: ZoneId? = null, states: Set<String>? = null)

Properties

intentsQualifiers

Next sentence will be analysed for these intents.

var intentsQualifiers: List<NlpIntentQualifier>?

referenceDate

Entity parsing will use this date as reference.

var referenceDate: ZonedDateTime?

referenceTimezone

Entity parsing will use this referenceTimezone as reference.

var referenceTimezone: ZoneId?

states

NLP query states.

var states: Set<String>?