Class: AddEntity

Actions. AddEntity

Set fields into the current message object. if entityName is intentId then it will set the intentId at the message fieldValue should have a dot notation with the object name. Eg: message.text, context.amount etc '

new AddEntity()

Members


parameters :Object

Node parameters.
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
fieldValue MemoryField value to put in
entityName string entity name

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>