We recommend leaving the NAME field empty. So, when looking at the
@Script Tree
, you can see the contents of the
@Text
@Slot
s.
If the text response to the
@Intent
turns out to be long (longer than 4 lines), we recommend dividing it into several
@Slot
s, focusing on the semantic content. This will make the message easier to read. In our example, the response to the Order Tracking
@Intent
contains 7 lines.
Divide it into two
@Text
@Slot
s, adding one
@Text
@Slot
after the other.
Do the same with the Pickup
@Intent
.
If desired, you can add several text response options so that the
@Agent
responds differently each time (the response option is selected randomly by the
@Agent
). This way the
@Agent
will be more “alive” and animated.
Each new answer option is entered into the TEXT LIST field by pressing Enter twice. Add answer options for the
@fallback
@Subslot
: “I did not understand you. Please ask your question in different words.” and “Unfortunately, I don't understand what you mean. Ask your question differently.”
In the same way, add several answer options for Small Talk