Changes between Version 5 and Version 6 of dialogmanager
- Timestamp:
- 12/03/19 14:53:13 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dialogmanager
v5 v6 3 3 The dialog manager is a tool to create and execute dialogs with a human user. 4 4 5 == Terminology 5 The basic dialog cycle as represented in DialogState and implemented in DemoApp is like this 6 6 7 * Distance between parameters: the euclidean distance (sqrt of the sum of squares) of the difference between the two parameter values, on a per-key basis. Only values for which hoth parameters have the key are compared. 7 {{{ 8 while (!state.isFinal()) { 9 state = state.withRandomOption(); 10 Stimulus stimulus = state.getOption().getStimulation() 11 .substitute(state.getParameters()); 12 present stimulus 13 String answer = get answer fitting state.getOption.getAnswerType(); 14 state = state.with(answer); 15 }}} 8 16 17 == Parameters 18 * The user's answers, current dialog state label, and other parameters relevant for the dialog are stored in a set of parameters. This is just a map with keys and values both strings. The keys are called the "variable name" and the values the "variable value". 19 * Distance between two parameters is the euclidean distance (sqrt of the sum of squares) of the difference between the two parameter values, on a per-key basis. Only values for which both parameters have the key are compared. For non-numeric values, the difference is usually 0 if the values are equal, or else 1. 9 20 10 21 The dialog manager contains a number of key objects