> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/build/agent-ops/evaluations/voice-monitoring.md). Agents can also search and read this documentation through its [MCP server](https://docs.maiagent.ai/~gitbook/mcp).

# 語音對話紀錄與延遲分析

從語音對話紀錄找出回應較慢的通話，查看逐輪延遲、對話逐字稿、打斷與 Credit 用量，並搭配逐字稿播放或下載通話錄音。

<mark style="color:blue;">AI 助理監控</mark>中的<mark style="color:blue;">語音對話紀錄</mark>，將網頁語音與電話的每筆語音對話列成清單。您可以先看平均延遲與最慢一輪，再開啟詳情，對照使用者問了什麼、Agent 回了什麼，以及哪一輪被打斷；有通話錄音的對話，也能直接在詳情頁聽回整通對話。

例如，客服主管想確認網頁語音助理的回覆是否流暢。她進入語音對話紀錄，選定日期與助理，打開一筆已有逐輪資料的對話，從<mark style="color:blue;">逐輪延遲</mark>找出等待較久的那一輪，再對照下方逐字稿，區分「使用者等候回覆」與「使用者中途打斷」，整理成後續調整助理的依據。

{% hint style="info" %}
需要<mark style="color:blue;">AI 助理監控權限</mark>才能進入此頁，紀錄也受助理可見範圍限制。權限設定見[角色權限管理](https://docs.maiagent.ai/org/roles/role-permission.md)。
{% endhint %}

## 1. 找到要檢查的語音對話 <a href="#find-voice-record" id="find-voice-record"></a>

進入 <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">AI 助理監控</mark>，切到<mark style="color:blue;">語音對話紀錄</mark>。

* 選擇日期區間與<mark style="color:blue;">全部助理</mark>中的目標助理；助理可複選。
* 需要查特定紀錄時，在<mark style="color:blue;">紀錄 ID 或電話後三碼</mark>輸入關鍵字。電話號碼的查詢另需客服中心權限。
* 要縮小範圍，可點漏斗圖示<mark style="color:blue;">自訂篩選欄位</mark>，叫出延遲狀態、通道、架構、打斷或委派查詢等條件；<mark style="color:blue;">重置篩選</mark>可清除查詢條件。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-19b9e262581f1672855fc3a896b932602dd5ec87%2Fvoice-monitoring-records.png?alt=media" alt="語音對話紀錄的日期與助理篩選、清單欄位及右側詳情圖示"><figcaption><p>先看「平均延遲」「最慢一輪」與「打斷」，再從右側操作欄開啟詳情</p></figcaption></figure>

| 清單欄位                                                                                                             | 用途                           |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| <mark style="color:blue;">開始時間</mark>、<mark style="color:blue;">AI 助理</mark>、<mark style="color:blue;">通道</mark> | 辨認是哪次語音對話，以及來自網頁語音或電話        |
| <mark style="color:blue;">時長</mark>、<mark style="color:blue;">輪數</mark>                                          | 了解對話長度與來回次數                  |
| <mark style="color:blue;">平均延遲</mark>、<mark style="color:blue;">最慢一輪</mark>                                      | 找出需要進一步檢查的等待時間               |
| <mark style="color:blue;">打斷</mark>、<mark style="color:blue;">委派</mark>                                          | 查看被打斷的次數與委派查詢次數              |
| <mark style="color:blue;">Credit</mark>                                                                          | 查看這筆語音對話的用量；不含另計在文字對話紀錄的委派查詢 |

{% hint style="info" %}
缺少資料時顯示「—」，不代表延遲或用量為 0。清單沒有符合條件的紀錄時，先放寬日期、助理與其他篩選條件；查詢失敗時則依畫面提示重試。
{% endhint %}

## 2. 開啟詳情，對照延遲與逐字稿 <a href="#inspect-voice-detail" id="inspect-voice-detail"></a>

在目標紀錄右側的<mark style="color:blue;">操作</mark>欄，點文件放大鏡圖示（滑鼠移上去顯示<mark style="color:blue;">詳情</mark>），開啟<mark style="color:blue;">語音對話詳情</mark>。

1. 先看<mark style="color:blue;">摘要</mark>中的平均回應延遲、最慢一輪、被打斷與 Credit。
2. 在<mark style="color:blue;">逐輪延遲</mark>點選較高的長條，畫面會跳到<mark style="color:blue;">對話逐字稿</mark>的對應輪次。
3. 對照使用者與 AI 助理的文字，並查看回覆旁的延遲與<mark style="color:blue;">被打斷</mark>標記。點延遲數值可查看該輪提供的延遲資訊。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-da0bb427de2b970824699296c96fca4c5d247b94%2Fvoice-monitoring-latency.png?alt=media" alt="語音對話詳情的摘要與逐輪延遲圖，即時語音只顯示首字延遲"><figcaption><p>摘要先指出最慢一輪；點下方長條可定位到逐字稿。此圖為即時語音，無法拆分辨識與合成階段</p></figcaption></figure>

| 等待時間     | 畫面判讀      |
| -------- | --------- |
| 小於 1.5 秒 | 順暢        |
| 1.5～3 秒  | 偏慢，顯示橘色提示 |
| 超過 3 秒   | 過慢，顯示紅色提示 |

串接式語音若有足夠資料，可查看語音辨識、斷句判定、LLM 首字與語音合成首音等階段；即時語音模型只回報首字延遲。各階段缺少資料或有重疊時，畫面會說明無法逐段相加，不要自行把各段時間加總。

{% hint style="info" %}
部分舊紀錄會顯示「這通沒有逐輪指標」。這表示沒有可對應的逐輪量測，不是每輪都沒有延遲；仍可查看既有逐字稿與用量。
{% endhint %}

## 3. 播放或下載通話錄音 <a href="#call-recording" id="call-recording"></a>

語音對話詳情的<mark style="color:blue;">逐輪延遲</mark>下方、<mark style="color:blue;">對話逐字稿</mark>上方有<mark style="color:blue;">通話錄音</mark>區塊。逐字稿是語音辨識後的文字，可能和實際說的話有出入；需要確認使用者的語氣、口音，或 AI 助理實際念出來的內容時，可以直接聽這通錄音。

例如，客服主管在逐字稿看到使用者第一句只被記成「那個」，AI 助理第 1 輪卻已經在請對方提供帳號，還標著<mark style="color:blue;">被打斷</mark>，想知道對方實際說了什麼。她在語音對話詳情的<mark style="color:blue;">通話錄音</mark>從頭播放，聽出使用者在 AI 助理說話的同時就開口，問的是「我想查這個月的帳單金額」，兩邊聲音重疊，逐字稿才沒記到這一句。她再按<mark style="color:blue;">下載</mark>存下錄音檔，附在給語音助理調整人員的回報裡。

1. 依上一節開啟<mark style="color:blue;">語音對話詳情</mark>，捲到<mark style="color:blue;">通話錄音</mark>。
2. 按播放鍵收聽，可拖曳進度列跳到想聽的位置；也可以從逐字稿直接跳到某一段播放，見下方[從逐字稿跳到錄音位置](#seek-from-transcript)。
3. 需要留存或轉交時，按區塊右上角的<mark style="color:blue;">下載</mark>，下載 `.ogg` 格式的錄音檔。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-694ed60a7d00cb3ad63d51937f22985c4ff82879%2Fvoice-monitoring-recording.png?alt=media" alt="語音對話詳情的通話錄音區塊，右上角有下載按鈕，下方是含時間標記的對話逐字稿"><figcaption><p>通話錄音位於逐字稿上方；可對照逐字稿左側的時間收聽</p></figcaption></figure>

| 畫面顯示                                    | 代表什麼                                                                                    |
| --------------------------------------- | --------------------------------------------------------------------------------------- |
| 播放器與<mark style="color:blue;">下載</mark> | 這通有錄音，可直接播放或下載                                                                          |
| 這通沒有錄音                                  | 這通沒有保存到錄音，例如功能上線前的通話，或錄音沒有成功存下；仍可查看逐字稿與用量                                               |
| 此瀏覽器無法播放                                | 錄音是 Ogg Opus 格式，部分 Safari 版本無法播放；仍可按<mark style="color:blue;">下載</mark>存檔，或改用 Chrome 開啟 |
| 無法載入                                    | 錄音暫時讀不到，例如詳情頁開著閒置太久。按<mark style="color:blue;">重試</mark>會重新載入整筆詳情                       |

{% hint style="info" %}

* 只有登入管理後台、能開啟這筆語音對話詳情的成員聽得到或下載錄音，權限與上方的<mark style="color:blue;">AI 助理監控權限</mark>相同。透過 API 金鑰等程式介面讀取語音對話資料時，不會取得錄音。
* 播放與下載用的是有效期 1 小時的臨時連結，不適合直接轉貼給別人。要請同事一起聽，請用頁首的<mark style="color:blue;">複製連結</mark>分享詳情頁，由對方用自己的帳號開啟；或下載檔案後再轉交。
* 錄音跟著這筆語音對話紀錄保存，沒有另外設定到期時間；語音對話紀錄被刪除時，錄音一併刪除。
  {% endhint %}

### 從逐字稿跳到錄音位置 <a href="#seek-from-transcript" id="seek-from-transcript"></a>

有錄音的通話，<mark style="color:blue;">對話逐字稿</mark>每段發言左側（<mark style="color:blue;">使用者</mark>、<mark style="color:blue;">AI 助理</mark>標籤下方；輔助模式的回覆標籤為<mark style="color:blue;">真人客服</mark>）會顯示這段話在錄音中開始的時間，例如 `00:09`。點這個時間，或直接點該段的文字，錄音就會跳到那一段開口的位置開始播放，不必自己拖曳進度列找。

例如，客服主管在逐字稿看到 AI 助理第 3 輪回答「本月帳單金額是新台幣 699 元」，想確認 AI 助理念金額時是否清楚。她點這段左側的 `00:19`，錄音立刻從 AI 助理開口的地方播放，聽完再點下一段使用者發言的 `00:27`，接著聽使用者怎麼回應。

* 有播放器時，<mark style="color:blue;">通話錄音</mark>區塊會固定在畫面上方，往下捲動逐字稿時仍看得到播放進度。
* 點文字跳轉是為了方便；要選取、複製逐字稿文字時，拖曳選字或雙擊不會觸發跳轉。用鍵盤操作時，請按段落左側的時間。
* 跳轉後如果錄音讀不到（例如詳情頁開著太久，臨時連結已過期），畫面會帶回<mark style="color:blue;">通話錄音</mark>區塊並顯示<mark style="color:blue;">無法載入</mark>，按<mark style="color:blue;">重試</mark>即可。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-343c3a68801d30b13c7effdad07f89bc8fd98cc9%2Fvoice-monitoring-recording-seek.png?alt=media" alt="通話錄音播放器在上方，下方對話逐字稿每段發言左側顯示錄音中的時間，例如 00:15、00:19"><figcaption><p>點逐字稿左側的時間（此例為 AI 助理第 3 輪的 00:19），錄音從該段開口處播放</p></figcaption></figure>

{% hint style="info" %}
以下情況逐字稿不會顯示時間，也不能點段落跳轉；有錄音的，仍可用播放器拖曳進度列收聽：

* 這通沒有錄音，或系統沒有記錄到這段錄音從何時開始。
* 使用者或真人客服那段沒有記錄到開口時間。
* 輔助模式的建議回覆：建議回覆沒有實際說出口，不在錄音裡。
  {% endhint %}

## 4. 核對用量，返回清單 <a href="#check-usage-and-return" id="check-usage-and-return"></a>

向下查看<mark style="color:blue;">用量明細</mark>，核對各項數量、Credit 與合計。語音對話的 Credit 不含委派查詢，因為委派查詢已計入文字對話紀錄，避免重複計算。

需要交給同事一起檢查時，可用頁首的<mark style="color:blue;">複製連結</mark>分享此筆詳情；對方仍須有對應檢視權限。按標題左側的返回箭頭回到清單，可接著檢查同一批篩選結果。

文字對話、儀表板與匯出請求的操作，見[自動評估與 Agent 監控](https://docs.maiagent.ai/build/agent-ops/evaluations.md#ai-agent-monitoring)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maiagent.ai/build/agent-ops/evaluations/voice-monitoring.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
