Changes between Version 38 and Version 39 of dialogmanager
- Timestamp:
- 01/04/24 15:51:10 (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dialogmanager
v38 v39 116 116 Generally these functions look like this in json 117 117 118 {{{ {"NameOfFunction": [val1, val2, val3....]} }}}118 {{{ {"NameOfFunction":{val1, val2, val3....} } }}} 119 119 120 120 NameOfFunction is the name of a java class that implements the UpdateFunction class. 121 121 The arguments val1... provided here are the CONSTRUCTOR arguments for NameOfFunction. Typically these are names of parameters. 122 123 But the update function can also contain other elements, eg a Condition object or list of Conditions. In the end the json layout is specified in by the implementation of the update function. 122 124 123 125 Technically, the function {{{call(Parameters parameters) }}} is called to evaluate the function, and that call updates the {{{Parameters}}}. An update function has access to all parameters and can change any of them. But generally it is good practice to only use/change parameters provided in the constructor.