Github example: https://github.com/MinChengVivLabs/defaultAction
how to test in IDE:
In simulator, set target to en-US, and use one of the seven dispatch phrase in https://bixbydevelopers.com/dev/docs/reference/ref-topics/meta-commands.en-us
- "speak to %dispatch-name%"
- "talk to %dispatch-name%”
- "start %dispatch-name%"
- "load %dispatch-name%"
- "ask %dispatch-name%"
- "talk with %dispatch-name%”
- "use %dispatch-name%"
In the Github example, try "start test a" in the simulator to trigger the default action.
- With target en-US, only default-action can get the number 74, all other utterance get a text output.
- With target en-GB, default-action is not triggered because it is not supported.
#1 misunderstanding:
default-action does not mean it is the default action when no training examples fit.
It is the action that triggered ONLY by these dispatch phrase (without any NL utterance)
- "speak to %dispatch-name%"
- "talk to %dispatch-name%”
- "start %dispatch-name%"
- "load %dispatch-name%"
- "ask %dispatch-name%"
- "talk with %dispatch-name%”
- "use %dispatch-name%"
#2 misunderstning:
default-action(ActionOne) ONLY applies to en-US, not other targets, not even en-GB.
Comments
0 comments
Please sign in to leave a comment.