tock / ai.tock.bot.engine.nlp / NlpEntityMergeContext

NlpEntityMergeContext

data class NlpEntityMergeContext (source)

Provides all info to allow multiple values of the same entity type to be merged.

Constructors

<init>

Provides all info to allow multiple values of the same entity type to be merged.

NlpEntityMergeContext(entityRole: String, initialValue: EntityStateValue?, newValues: List<EntityValue>)

Properties

entityRole

The entity role

val entityRole: String

initialValue

The optional initial (old) value

val initialValue: EntityStateValue?

newValues

The proposed new values

val newValues: List<EntityValue>