QASummary Class
QASummary Class
Raised by: SALT application, Speech Controls
Base Class: ApplicationScriptEvent
Derived Classes: None
QASummary is raised to the Trace log at the completion of each Prompt playout / Recognition attempt pair, for a particular Question/Answer (QA) control. (In some cases there will be no recognition defined for a control; in that case this event is raised at the completion of Prompt playout.)
Note QASummary information is designed largely as report input, and is targeted toward SALT developers, for the purpose of application tuning.
QASummary has the following properties:
Property |
Type |
Description |
---|---|---|
Name |
String |
The name of the QA control. |
Count |
Integer |
The number of times a prompt (and recognition, if one is defined) was executed for the same QA control, before exiting the control. (Count is incremented by one for each cycle.) |
Prompt |
String |
The text of the prompt that was played out to the user. |
PromptID |
String |
The ID of the prompt element. |
PromptStatus |
String |
One of the possible completion states for the prompt. Completion states include 'async', 'bargedin', 'completed', and 'fail'. A completion state of 'fail' includes an integer representing the reason for the failure:
|
ListenID |
String |
The ID of the listen element. |
ListenGrammarRefs |
StringArray |
A list of URLs to any grammar files referenced by the listen element. |
Sml |
String |
The contents of the SML recognition result returned by Speech Engine Services (SES). |
SemanticItems |
StringArray |
An array of strings containing information about semantic items changed by the user during one cycle of the QA control. The following data is collected (separated by a semi-colon) for each answer, extra answer, and confirm:
|
DtmfID |
String |
The ID of the dtmf element. |
DtmfGrammarRefs |
StringArray |
A list of URLs to any grammar files referenced by the dtmf element. |
Mode |
String |
Either DTMF or Listen. |
History |
String |
A string containing the last command or exception for the QA control. If no command or exception occurred, an empty string. |
Command |
String |
The recognized command, as defined by the application, received from the user (for example, "Help", "Repeat" and so forth). |
CommandPrompt |
String |
An optional, additional prompt to be played to the user (as defined in the command) when a command is recognized. |
Message |
String |
A string containing the locale ID for the current page. The default is lang="en-US";. |
See Also
Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events