Reacting to user input (action)
The action receives user input and the conversation state and processes these according to business logic. It outputs events that change the conversation state and messages to reply to the user. There are four types of actions: response actions, form actions, built-in actions, and custom actions. Let's start with the simplest: response actions.
Response actions
This type of action is linked to the responses in the domain. When this type of action is called, the system will automatically search for the same name templates within the responses and render them. Since response actions need to have the same name with their responses, they need to start with utter_
.
In the next section, we will talk about form actions.
Form actions
One important mode for task-oriented conversation is to continuously interact with users and collect elements that are needed by the tasks until the required information is complete. This mode is usually referred...