Creates an instance of SystemAct.
Each system act represent a specific 'atom of dialog' the system wishes to communicate to the user.
Usage:
InitiativeAct
or ContentAct
rather than this class, to improve readability.Render the dialog act.
This is the one-size-fits-all direct rendering of a dialog act. This is often appropriate for custom acts that are not used by a shared control.
Framework behavior:
Input
Response builder
Produces a string representation of the SystemAct.
The associated Control.id
is included but the complete details of the associate Control
are omitted for brevity.
Base type for system dialog acts.
Each
SystemAct
represents a precise 'piece of information' that is to be communicated to the user. EachSystemAct
is to be associated with a Control that can be used to render it.There are two more specific base classes that should be used as the base for user-defined SystemActs:
ContentAct
: the base class for System Acts that just communicate some information.InitiativeAct
: the base class for System Acts that ask a question or otherwise encourage the user to continue the conversation.Usage:
SystemActs
to the result inControl.canHandle
andControl.takeInitiative
to represent what the system wants to communicate.SystemActs
into surface forms (prompts, APL, etc) during the render phase.ContentAct
orInitiativeAct
rather than this base type.