0001-add-new-data-types-for-the-communication-with-the-di.patch
proto/sandbox/rst/dialog/DialogAct.proto | ||
---|---|---|
1 |
package rst.dialog; |
|
2 | ||
3 | ||
4 |
option java_outer_classname = "DialogActType"; |
|
5 | ||
6 |
/** |
|
7 |
* A description of a dialog act for the dialog manager pamini. |
|
8 |
* |
|
9 |
* @author Birte Carlmeyer <bcarlmey@techfak.uni-bielefeld.de> |
|
10 |
*/ |
|
11 |
message DialogAct { |
|
12 | ||
13 |
/** |
|
14 |
* The dialog act can be in differnet states: |
|
15 |
* |
|
16 |
* ADD - indicating a new dialog act, |
|
17 |
* UPDATE - replaced the last dialog act |
|
18 |
* REVIKE - a previously added unit has been revoked |
|
19 |
* COMMIT – the dialog act has been finally committed and will not |
|
20 |
* be changed any more. |
|
21 |
*/ |
|
22 |
enum EditType { |
|
23 | ||
24 | ||
25 |
ADD = 0; |
|
26 | ||
27 |
UPDATED = 1; |
|
28 | ||
29 |
REVOKE = 2; |
|
30 | ||
31 |
COMMIT = 3; |
|
32 | ||
33 |
} |
|
34 | ||
35 | ||
36 |
required EditType edittype = 1; |
|
37 | ||
38 |
/** |
|
39 |
* The name of the dialog act. |
|
40 |
*/ |
|
41 |
required string name = 2; |
|
42 | ||
43 |
/** |
|
44 |
* A list of utterances. |
|
45 |
*/ |
|
46 |
repeated string utterance = 3; |
|
47 | ||
48 |
} |
proto/sandbox/rst/dialog/DialogMangerCommand.proto | ||
---|---|---|
1 |
package rst.dialog; |
|
2 | ||
3 | ||
4 |
option java_outer_classname = "DialogMangerCommandType"; |
|
5 | ||
6 |
/** |
|
7 |
* A description of a command for the dialog manager pamini. |
|
8 |
* |
|
9 |
* @author Birte Carlmeyer <bcarlmey@techfak.uni-bielefeld.de> |
|
10 |
*/ |
|
11 |
message DialogMangerCommand { |
|
12 | ||
13 |
/** |
|
14 |
* Possible kinds of commands. |
|
15 |
*/ |
|
16 |
enum Command { |
|
17 | ||
18 |
// reset the whole interaction |
|
19 |
RESET_INTERACTION = 0; |
|
20 | ||
21 |
// reset a single interaction pattern |
|
22 |
RESET_PATTERN = 1; |
|
23 | ||
24 |
} |
|
25 | ||
26 |
required Command command = 1; |
|
27 | ||
28 |
optional string pattern_name = 2; |
|
29 | ||
30 | ||
31 |
} |
proto/sandbox/rst/dialog/InteractionPatternInfo.proto | ||
---|---|---|
1 |
package rst.dialog; |
|
2 | ||
3 | ||
4 |
option java_outer_classname = "InteractionPatternInfoType"; |
|
5 | ||
6 |
/** |
|
7 |
* A description of a current state of a pamini interaction pattern. |
|
8 |
* |
|
9 |
* @author Birte Carlmeyer <bcarlmey@techfak.uni-bielefeld.de> |
|
10 |
*/ |
|
11 |
message InteractionPatternInfo { |
|
12 | ||
13 |
//name of the interaction pattern |
|
14 |
required string name = 1; |
|
15 | ||
16 |
//current state |
|
17 |
required string state = 2; |
|
18 | ||
19 |
} |
|
0 |
- |