Using Queries
Using Queries
Use queries in Call Viewer to select which calls are displayed.
Saving and Loading Queries
To save the time and effort involved in building queries, save them for re-use. In addition to the list of query parameters, the event filters are also saved as part of the query file. The event profiles, however, are not saved as part of the query file; rather, they are stored on the local machine at this path: Documents and Settings\<username>\Local Settings\Application Data\Microsoft Corporation\Microsoft (R) Speech Application SDK 1.1\1.1.<build number>.00.
The following procedures describe how to save queries, and how to load them after they are saved.
To save a Call Viewer query
In Call Viewer build a query as described in the topic Viewing Calls.
On the File menu select Save.
In the Save As dialog enter a file name and path for the file, then click Save.
To load a saved Call Viewer query
In Call Viewer, on the File menu select Open.
In the Open dialog browse to and select a .cvq file, then click Open.
Sample Queries
Use the sample queries that ship with the Speech Application Log Analysis Tools to learn the event hierarchy, and as components for building more complex queries. The sample queries listed in the following table are installed at this path on the client computer: Program Files\Microsoft Speech Application SDK 1.1\SDKTools\Log Analysis\Sample CV Queries.
Sample Query |
Description |
---|---|
AllCallsInMay2004.cvq |
Calls answered in May 2004. |
CallsContainingConfidenceBelow0.3.cvq |
Calls containing QAs with low-confidence. |
CallsContainingErrors.cvq |
Calls containing errors. |
CallsContainingQANoReco.cvq |
Calls containing QAs with NoReco. |
CallsContainingQASilence.cvq |
Calls containing QAs with OnSilence. |
CallsWhereUserAskedForHelp.cvq |
Calls containing QAs where the user asked for help. |
CallsWhereUserHungUp.cvq |
Calls where the user hung up. |
ShowQANoRecoOnly.cvq |
Calls containing QAs with NoReco, showing only the NoReco QAs. |
In order for the sample queries to work effectively, the events which are specified in the query must be present in the data. For example, running the query AllCallsInMay2004.cvq on a database without any calls which took place in May 2004 will result in an error.