ASRSQL

このヘルプページはStudio向けです。 この情報はDesktop Studioでも利用可能です。

サポートされているスクリプトタイプ

Icon of purple telephone handset

電話

入力プロパティ

これらのプロパティは、アクションが実行時に使用するデータを定義します。

プロパティ

説明

キャプションを追加

スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。

文法ファイル名 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.
スペルルール項目 Formats the detected utterance to each individual character of what was spoken instead of the whole word. This would be used when pulling account numbers or part numbers so each character is individual. The formatting adds a space between each of the characters. For example, ABC12345 would be A B C 1 2 3 4 5. The default is Yes/True.

値モード:いいえをクリックすると無効になります。

Expression モードの場合:Falseを入力すると無効になります。

出力はフォーマットされていますか Formats the GRXML file so it is easier to read. It is formatted similarly to XML. The default is Yes/True.

値モード:いいえをクリックすると無効になります。

Expression モードの場合:Falseを入力すると無効になります。

SQLクエリ

GRXMLファイルを構築するためのデータを取得するSQLです。SELECT statementの最初の戻り値は、ASRエンジンによって一致を検出するために検出される発話となります。例:

SELECT[Name]
	,[Address]
	,[Phone_Number]
FROM [dbo].[User_Table]
WHERE[ID]>0

上記の例では、SELECT の最初の戻り値はNameであるため、文法はおそらく個人の名前を検出するために構築されます。 一致するものが存在する場合、対応する名前、 住所、および電話番号がその記録とともに返されます。

タイムアウト(秒)

IVRClosed インタラクティブ音声応答。音声またはキー入力を使用してコンタクトが利用する自動電話メニューで、情報を取得したり、インバウンド音声通話をルーティングしたり、またはその両方を行います。がOnTimeoutブランチをとる前に(音声またはキープレスによる)入力を待つ時間を決定します。 これは、回線が完全に無音になるしきい値です。 デフォルト値は10 (秒)です。 変更するには、整数を入力します。

重要 タイマーは、プロンプトが完全に終了した場合のみ開始します。 ただし、システムには、プロンプトの期間を含む2分(120秒)の制限が組み込まれています。 この制限にアクション中に達した場合、アクティブなプロンプトはすべて中止され、スクリプトはOnErrorブランチを実行します。 このため、プロンプトの期間を把握し、このフィールドに値を設定して、アクションが2分未満アクティブになるようにする必要があります。

結果の分岐条件

結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。

条件

説明

デフォルト Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.
NoRecords Path taken when the query submitted to the database does not return results.
エラー Path taken when there is an unexpected problem (for example, poor connectivity, syntax errors, and so forth). The _ERR variable should be populated with a condensed explanation of the problem.
タイムアウト Path taken if there is no response for the number of seconds specified.

Tips & Tricks

languageLocale変数は、Voiceparamsアクションから渡すことができ、このアクションが検出する言語を設定します。