Asr
このヘルプページはDesktop Studio向けです。 この情報はStudioにも利用可能です。
|
|
連絡先から提供された値をキャプチャして、スクリプト変数に保存できます。 この変数は、スクリプトのルーティングやその他の目的で使用できます。 ASRはASR ASRアクションは、組織でASRが有効になっている場合にのみ表示されます。 ASRはオプション機能です。 アカウント担当者に詳細をお問い合わせください。 |
依存関係
-
数字の発音では、「負」はハードコーディングされています。
-
数字の発音では、「ポイント」はハードコーディングされています。
サポートされているスクリプトタイプ
|
|
| 電話 |
入力プロパティ
これらのプロパティは、アクションが実行時に使用するデータを定義します。
|
プロパティ |
説明 |
|---|---|
| キャプション |
スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 |
| シーケンス |
アクションが再生するプロンプトを定義します。 プロンプトは、事前録音されたWAV音声ファイル、またはテキスト読み上げ プロンプトがオーディオファイルの場合は、ファイル名を二重引用符で囲んで入力します。 例: "greeting.wav"。 オーディオファイルが別のフォルダーにある場合は、ファイルへのパスを含めてください。 例えば、スクリプトがルートフォルダーにあり、音声ファイルが2階層下のサブフォルダーにある場合は、"Subfolder\Subfolder2\Audio-file.wav"と入力します。 スクリプトがルートから1レベル下のサブフォルダーにあり、音声ファイルが同じレベルの別のサブフォルダーにある場合は、"\..と入力します\Subfolder\Audio-file.wav". プロンプトがテキスト読み上げの場合は、TTS "%アカウントの残高は""silence.wav""${accountBalance}" |
| フレーズ |
このプロパティを使用して、プロンプトに含めるテキストを定義します。 このプロパティはスクリプトでは使用されません。 プロンプトの中には複雑で複数のセグメントを含むものがあるため、シーケンスフィールドで必要な書式設定を行わずに書かれたテキストを含めると便利な場合があります。 |
| HighConfidence |
When the ASR engine recognizes a phrase spoken by a caller, it also returns a percentage that indicates how confident it is in a voice recognition match. The script compares this recognition percentage to the value in this property, and if the percentage is equal or greater to the value, the OnHighConfidence branch is taken. Enter a whole number between the MinConfidence value and 100.
デフォルト値は70です。 |
| MinConfidence |
Defines the minimum acceptable confidence percentage for a recognition match. If the recognition percentage is between this value and the HighConfidence value, the OnMedConfidence branch is taken, which typically lets the contact confirm the ASR understanding of an utterance. If the recognition percentage is less than this value, the OnNoConfidence branch is taken. Enter a whole number between 1 and the HighConfidence value.
デフォルト値は50です。 |
| TimeoutSeconds |
IVR 重要 タイマーは、プロンプトが完全に終了した場合のみ開始します。 ただし、システムには、プロンプトの期間を含む2分(120秒)の制限が組み込まれています。 この制限にアクション中に達した場合、アクティブなプロンプトはすべて中止され、スクリプトはOnErrorブランチを実行します。 このため、プロンプトの期間を把握し、このフィールドに値を設定して、アクションが2分未満アクティブになるようにする必要があります。 |
| ResultVarName | Determines the name of the variable that holds the recognized result of the contact's spoken or manually entered input. For example, if the prompt asked the contact to say or enter their date of birth, the result would be stored in the variable defined by this property. The default value is the name of the action + "Result" (for example, ASRDIGITSResult). If the contact provides spoken input and the ASR engine fails to find a match, this variable is not populated. Note that if the action has an OnDTMF branch, you must use a Capture action to pull a variable value out of the buffer (DTMF values are automatically stored in a buffer). |
| ConfidenceVarName | Determines the name of the variable that holds the confidence percentage returned by the ASR engine. The default value is ASRConf. |
| DetectDTMF |
IVRスクリプトを構成して、音声入力と手動入力の両方のDTMF 値がTrueの場合、音声とDTMF入力の両方が受け付けられます。 連絡先がDTMFディジットを押すと、スクリプトは進行中のプロンプトシーケンスを直ちに停止し、OnDTMFブランチを実行します。 アクションの間、発話は考慮されません。 値がFalseの場合、コンタクトがキーを押してもDTMF入力は認識されません。アクション中に押されたDTMF桁はDTMFバッファに保存されますが、アクションはNoConfidenceブランチを取ります。 このアクションにはOnDTMFブランチがあるため、連絡先によるDTMFエントリがあると、このブランチが使用されます。 DTMF選択の結果として生じる変数は、このブランチに渡されません。 したがって、DTMF入力から変数をキャプチャして渡すには、 OnDTMFブランチでキャプチャアクションを使用する必要があります。 |
| ClearDigits |
連絡先が電話のキーパッドのキーを押すと、生成されたDTMFトーンがバッファに保存されます。 ClearDigits が True に設定されている場合、このアクションの開始時にそのバッファはクリアされます。 Falseに設定され、DTMFトーンがバッファ内のこのアクションに持ち越される場合、DTMFトーンは直ちに検出されます。 このとき、以前のアクションに関連するキーが押された場合でも、アクションはOnDigitまたはOnDTMFブランチを呼び出します。 はい/True がデフォルト値です。 |
| ContentType | Specifies how the ASR engine should identify utterances provided by callers during this action. The ASR engine compares the caller's utterance to the values in the specified content type. If a match is detected, the engine returns the match and a percentage value indicating its confidence in the accuracy of the match. Choose one of the following from the drop-down: PhraseList or GrammarFile. The default value is PhraseList. |
| PhraseList | Allows you to build a phrase list for the action. Click the ellipsis and type each phrase on a separate line in the String Editor window. |
| GrammarFile |
ContentType プロパティで指定された文法ファイル |
結果の分岐条件
結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。
|
条件 |
説明 |
|---|---|
| デフォルト | 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. |
| OnHighConfidence | Path taken if confidence levels are above the value set in the High Confidence property. |
| OnMedConfidence |
Branch taken if the recognition percentage returned by the ASR engine is between the HighConfidence value and the MinConfidence value. This branch is often used to allow a caller to confirm the information provided using an |
| OnNoConfidence | Path taken if the recognition percentage returned by the ASR engine is less than the MinConfidence value. |
| OnTimeout | Path taken if there is no response for the number of seconds specified. |
| OnError | 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. |
| OnDTMF | Path taken if the DetectDTMF property is set to TRUE and DTMF digits are present in the buffer. |
Tips & Tricks
- languageLocale 変数はVoiceparamsアクションから渡すことができ、これによりアクションが検出する言語が設定されます。
- 詳細については、ASRの概要を参照してください。
-
ASR アクションで シーケンス プロパティを使用してプロンプトを再生することで、コンタクトのエクスペリエンスを向上させます。PLAY アクションを使用してプロンプトのシーケンス
コンタクトのために再生される音声プロンプトのセグメント。を再生する場合、音声認識システムがコンタクトの音声を聞く準備をしている間に、音声に途切れが生じることがあります。 - DTMFトーンはバッファに保存されます。 このアクションにOnDTMFまたはOnDigitsブランチが含まれている場合、DTMF値はキャプチャアクションを使用してバッファから取り出す必要があります。
- 複数のDTMFプレスをキャプチャする場合、アクションは最初のDTMFが押されたときにすぐにOnDTMFブランチを取得します(*と#を含む)。 この場合、キャプチャアクションで複数のプレスをキャプチャする必要があります。
- バッファ内にDMTFが存在し、ClearDigitsがTrueに設定されていない場合、OnDTMF分岐が直ちに実行され、Captureアクションが必要になります。