Rules of slots neighbouring
The present article describes which Slots can neighbour with each other in the Script Tree.
The arrangement of Slots in the Script Tree falls under certain rules because not all the types of Slots can be placed next to each other, e.g.:
- Incoming requests and Timer Slots can be placed only after the Start Slot because they initiate the agent–bot user interaction.
- Child Slots can be placed only next to the corresponding parent Slots;
- Two Wait for reaction Slots cannot be placed next to each other;
When you add a new Slot in any part of the Script, the drop-down menu that appears contains only those types of Slots which can be placed in this part of the Script by the rules of slots neighbouring.
The rules of slots neighbouring are the following:
Can be preceded by | Type of Slot | This can be followed by |
---|---|---|
– | Start | Any independent and parent slots except for Start |
Start only | Incoming request | Any independent and parent slots except for Start, Incoming Request and Timer |
Start only | Timer | Any independent and parent slots except for Start, Incoming Request and Timer |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Text | Any independent and parent slots except for Start, Incoming Request and Timer |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Attachment | Any independent and parent slots except for Start, Incoming Request and Timer |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Memory | Any independent and parent slots except for Start, Incoming Request and Timer |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | External request | Any independent and parent slots except for Start, Incoming Request and Timer |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Slot filling | Any independent and parent slots except for Start, Incoming Request, Timer and Wait For Reaction |
Any slots and subslots except for parent slots, Wait For Reaction, Change Chat Mode and Jump | Wait for reaction | Any independent and parent slots except for Start, Incoming Request, Timer and Wait For Reaction |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Change chat mode | – |
Any slots and subslots except for parent slots, Start, Change Chat Mode and Jump | Jump | – |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | NLU | Intent and fallback only |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Button menu | Button and fallback only |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Transition rule | Condition only |
Any slots and subslots except for parent slots, Change Chat Mode and Jump | Regular expression | Result only |
Regular Expression only | Result | Text, Wait For Reaction, Jump, Attachment, Memory, External Request, Slot Filling, Button Menu, Transition Rule, Regular Expression, NLU, Change Chat Mode |
Transition Rule only | Condition | Text, Wait For Reaction, Jump, Attachment, Memory, External Request, Slot Filling, Button Menu, Transition Rule, Regular Expression, NLU, Change Chat Mode |
Button Menu only | Button | Text, Wait For Reaction, Jump, Attachment, Memory, External Request, Slot Filling, Button Menu, Transition Rule, Regular Expression, NLU, Change Chat Mode |
Button Menu and NLU | Fallback | Text, Wait For Reaction, Jump, Attachment, Memory, External Request, Slot Filling, Button Menu, Transition Rule, Regular Expression, NLU, Change Chat Mode |
NLU only | Intent | Text, Wait For Reaction, Jump, Attachment, Memory, External Request, Slot Filling, Button Menu, Transition Rule, Regular Expression, NLU, Change Chat Mode |