Changes between Version 10 and Version 11 of dialogmanager


Ignore:
Timestamp:
06/18/20 18:34:25 (4 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dialogmanager

    v10 v11  
    4545++picks one at raodom from the list of nearest
    4646
     47== UpdateFunction
     48An UpdateFunction is one of the phases of the DialogPhase. It allows computation of derived variable values. These functions can be programmed in Java. Generally these functions look like this in json
     49
     50{{{ "updatefunction":{"NameOfFunction":[["invar1","invar2",...],["outvar1","outvar2",...]]},
     51
     52NameOfFunction is the name of a java class that implements the UpdateFunction class.
     53This class implements a function Parameters {{{call(Parameters parameters) }}}
     54
     55The incoming Parameters will be set to the current parameter values in the dialogstate .
     56The Parameters returned by the function will be put back into the parameter values of the dialogstate.
     57
     58This mechanism allows the function to be called with different parameters as needed in the dialog. And it allows functions of arbitrary input and output arity.
     59