Package ai.tock.bot.engine.nlp
Class NlpEntityMergeContext
-
- All Implemented Interfaces:
public final class NlpEntityMergeContextProvides all info to allow multiple values of the same entity type to be merged.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringentityRoleprivate final EntityStateValueinitialValueprivate final List<EntityValue>newValues
-
Constructor Summary
Constructors Constructor Description NlpEntityMergeContext(String entityRole, EntityStateValue initialValue, List<EntityValue> newValues)
-
Method Summary
Modifier and Type Method Description final StringgetEntityRole()The entity role final EntityStateValuegetInitialValue()The optional initial (old) value final List<EntityValue>getNewValues()The proposed new values -
-
Constructor Detail
-
NlpEntityMergeContext
NlpEntityMergeContext(String entityRole, EntityStateValue initialValue, List<EntityValue> newValues)
-
-
Method Detail
-
getEntityRole
final String getEntityRole()
The entity role
-
getInitialValue
final EntityStateValue getInitialValue()
The optional initial (old) value
-
getNewValues
final List<EntityValue> getNewValues()
The proposed new values
-
-
-
-