ASR
此説明頁面適用於 Studio。 此資訊亦適用於 Desktop Studio。
|
|
允許您獲取聯絡人提供的值,並將其儲存到指令碼變數中。 該變數可用於進一步的程式碼路由和其他用途。 ASR 是ASR ASR 動作僅在已為您的組織啟用 ASR 時顯示。 ASR 是一項可選功能。 請向您的客戶代表查詢更多資訊。 |
相依性
-
在表述數字值中,「負數」採用硬式編碼。
-
在表述數字值中,「點」採用硬式編碼。
支援的程式碼類型
|
|
| 電話 |
輸入屬性
這些屬性定義了動作執行時使用的資料。
|
屬性 |
描述 |
|---|---|
|
新增標題 |
Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. |
| 序列 |
定義動作播放的提示。 Prompt可以是預先錄製的WAV音訊檔案,或是文字轉語音 如果提示是一個音訊檔案,請輸入括在雙引號中的檔案名。 例如,「greeting.wav」。 如果音訊檔案位於不同的資料夾中,請包含檔案路徑。 例如,如果指令碼在根資料夾中,而音訊檔案在向下兩層的子資料夾中,則輸入 "Subfolder\Subfolder2\Audio-file.wav"。 如果程式碼位於根目錄下一層的子資料夾中,而音訊檔案位於同一層級的另一個子資料夾中,請輸入 "\..\Subfolder\Audio-file.wav". 如果Prompt為文字轉語音,請輸入您想要TTS "%Your account balance is""silence.wav" "${accountBalance}"
|
| 短語 |
使用此屬性來記錄提示包含的文字。 該指令碼不會使用此屬性。 由於某些提示可能很複雜並且包含多個區段,因此包括並非按序列欄位所要求之格式編寫的文字可能會很有用。 |
| 高度信任 |
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。 |
| 最小可信度 |
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。 |
| 逾時秒數 |
決定IVR 重要 計時器僅在 Prompt 完全結束後才會開始計時。 但是,系統具有兩分鐘(120 秒)的內建限制,其中包括提示的持續時間。 如果在執行動作期間達到此限制,則所有使用中的提示將會中止,且程式碼將採用 OnError 分支。 因此,您應該知道提示的持續時間,並為該欄位設定一個值,以確保該動作處於有效狀態的時間少於兩分鐘。 |
| 結果變數名稱 | ``` 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). ``` |
| 可信度 Var Name | Determines the name of the variable that holds the confidence percentage returned by the ASR engine. The default value is ASRConf. |
| 偵測 DTMF |
允許您配置 IVR 指令碼來處理所說和手動輸入的 DTMF 如果值為True 如果值為 False 值模式中: 按一下是以啟用 DTMF 偵測。 在運算式模式中: 輸入 True 以啟用 DTMF 檢測。 |
| 清除數字 |
\n 當聯絡人在其電話按鍵上按下某個按鍵時,所產生的 DTMF 音會儲存在緩衝區中。 當清除數字設定為 是/True 是預設值。 \t 值模式中:點擊 否以啟用。 在運算式模式中:輸入 False 以啟用。 \n |
| 內容類型 |
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: |
| 短語列表 | 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. |
| 語法檔案 |
可讓您提供 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. ``` |
| HighConfidence | Path taken if confidence levels are above the value set in the High Confidence property. |
| MedConfidence |
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 |
| NoConfidence | ``` Path taken if the recognition percentage returned by the ASR engine is less than the MinConfidence value. ``` |
| 逾時 | Path taken if there is no response for the number of seconds specified. |
| 錯誤 | 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. |
| DTMF | Path taken if the DetectDTMF property is set to TRUE and DTMF digits are present in the buffer. |
小貼士
- 您可以從 Voiceparams 動作傳遞 languageLocale 變數,此變數會設定該動作所偵測的語言。
- 更多資訊,請參閱 ASR 概覽。
-
透過使用ASR動作中的序列屬性播放提示,以改善聯絡人的體驗。如果您使用PLAY動作播放提示序列
向聯絡人播放的音訊提示片段。,則當語音識別系統準備聆聽聯絡人的語音時,音訊可能會出現間隔。 - DTMF 音調將儲存在緩衝區。 如果動作包含 OnDTMF 或者 OnDigits 分支,雙音多頻值必須透過 Capture 動作從緩衝區中提取。
- 如果您想擷取多個雙音多頻,該動作會在您按下第一個 OnDTMF 分支(包括 * 和 #)時立即執行 DTMF。 在此範例中,您必須使用Capture動作來捕獲多次按鍵。
- 如緩衝區中存在任何 DMTF,且 ClearDigits 未設定為 True,則會立即採用 OnDTMF 分支,並需要 Capture 動作。