Automated Speech Recognition - ASRSQL
Allows you to create a custom grammar file from an SQL database used by your organization. For example, you might want to route customers based on an uttered part number or employee last name.ASRSQL
is not used in production scripts, but rather, in a special use script that is run on an occasional or as-needed basis. When the script is run, the action uses DB Connector to connect to your external database and pull a file of values based on the query you provide.
This action is typically used in conjunction with ASRCOMPILE to create a compiled grammar file from a database.
ASR is an optional feature that appears only in the Framework tab, and only if ASR is enabled for you. Ask your account manager for more information.
|Supported Script Types|
The name of the grammar (.grxml) file you want to compile. You must upload this file in Studio prior to processing it with ASRCOMPILE. The newly-compiled file will have the same name, but with a .gram extension. After processing, the new file is stored with your other Studio files.
This property is the SQL statement that will be submitted to the database server. This statement should be expected to return records.
The number of seconds until the query times out. The default is 10. The maximum number of seconds supported is 30 (though larger numbers can actually be entered in the field).
The Default branch is taken on successful upload of the new grammar file.
When data is not returned from the database, this branch condition is triggered.
When the number of timeout seconds is reached, this branch condition is triggered.
This branch condition is triggered when the SQL Query is invalid.
Error Handling is the best practice.