Main.yaml defines the main story. This file is required because it represents the root state of the dialog. This is where everything begins. There are a couple special behaviors for the main story:
start_actions
.start_actions
list may not
be the “start” or “end” named action.(Optional) This field is only valid for the main story. This is where actions that should only be run once at session startup are specified. They differ from the start actions in that:
(Required) The list of actions to execute when this story begins. The dialog will automatically return to this point when the main story reaches its end.
(Optional) Specify any conditional actions for this story. See Conditional Actions
(Optional) Define the intents a user may express to start a dialogue. See Input Actions
(Optional) Give a name to a group of actions for re-usability. See Named Actions
(Optional) Specify default actions. See Defaults. Because this is the main story, these defaults (if specified) are essentially the defaults for the entire model.