Making an appropriate response
The app's response to the user's input varies according to the user intention that has been identified, which can be broadly classified into the following categories:
For form-filling dialogs, the dialog has to be initiated and several rounds of system-user interaction may be required to fill the necessary slots in the dialog's frame, as shown in Chapter 5, Form-filling Dialogs
In the case of web services, the response will be a call to the web service involved and some text will be extracted to be spoken by the TTS
For tasks involving the activation of features on the device, such as placing a call or setting an alarm, the command is executed and some text is extracted to be spoken by the TTS
Finally, if the task is conversation, the VPA provides a conversational response which is generated by the Pandorabots chatbot system for the apps presented in this chapter