Hi,
In order to enhance Action capability, I propose to add parameters into actions like for intent:
A same Action declaration will be able to receive specific elements without using slots. Those parameters are only valid for the current code.
example:
* intent{ "bar": "foo" }
- action_dummy{"id": "xxxxxx"}
- action_on_location
Action API have to support a new “parameters” element in request such as:
...
"tracker": {...
},
"parameters": {
"id": "xxxxx"
},
...
the 4th parameters in Action.run method have to be Optional, and the Executor.register_function have to allow 3 or 4 in order to assume retro compatibility.
Regards