> For the complete documentation index, see [llms.txt](https://chatlyst.gitbook.io/chatlyst-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatlyst.gitbook.io/chatlyst-user-guide/zh/train-and-test-bot-zh/xun-lian-yu-ce-shi.md).

# 訓練與測試

使用此區塊可在清晰的工作流程中進行測試、審查結果並處理訓練工單。

{% hint style="warning" %}
**重要注意事項：** 在使用訓練與測試之前，請先上傳業務知識，以便機器人能夠準確回答。選擇上傳業務知識以開啟業務知識區塊，然後上傳文件。如需更多背景資訊與附加資訊，請參閱 [業務知識](/chatlyst-user-guide/zh/business-knowledge-zh/ye-wu-zhi-shi.md)。

<img src="/files/2DlngHyH6QuGDrbox40J" alt="" data-size="original">
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/cCpPOjy25ZwW4DhhlrcK" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
導覽分頁 — 位於頁面左上角，用於在測試與歷史紀錄之間進行切換。

![](/files/K2zttXEOMk7Xmth92Mzl)
{% endhint %}

{% hint style="info" %}
訓練面板通知 — 顯示目前待處理的訓練工單數量。點選它可開啟訓練面板，您可以在其中審查與管理工單。

![](/files/Aa8VcrjEl9d8YjigWhuN)
{% endhint %}

***

## 測試區

測試區提供了一個空間來測試機器人並在推出變更前確認績效。它同時支援即時的小工具預覽與流式傳輸模式，讓對話能即時進行，以便檢查回應的準確性、實用性與一致性。

<div data-with-frame="true"><figure><img src="/files/dWa6eDKNr3Zo9CfE4IHd" alt=""><figcaption></figcaption></figure></div>

### 控制項

<details>

<summary>新對話</summary>

點選以在訓練時啟動新的對話，讓測試從乾淨的對話開始，不包含先前的訊息或背景資訊。

<div data-with-frame="true"><figure><img src="/files/82J5WPzrL9bJEhXZVhrG" alt=""><figcaption></figcaption></figure></div>

</details>

<details>

<summary>變更小工具</summary>

位於新對話旁邊。選擇要在本次對話中測試的小工具。

<div data-with-frame="true"><figure><img src="/files/TTuMTHTU19DV357ttVkQ" alt=""><figcaption></figcaption></figure></div>

</details>

<details>

<summary>預覽頁籤</summary>

在小工具預覽與流式傳輸模式之間切換，以控制測試期間對話的顯示方式。

<div data-with-frame="true"><figure><img src="/files/69GEtJ6qWcQZitygq0Ep" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/EBKhoo3jVkVMotm3pNrh" alt=""><figcaption><p>小工具預覽</p></figcaption></figure> <figure><img src="/files/sVZz7y8XTtRSe4XcYaa0" alt=""><figcaption><p>流式傳輸模式</p></figcaption></figure></div>

</details>

***

## 開始測試對話

1. 根據對話應如何顯示，選擇小工具預覽或流式傳輸模式。
2. 開始與機器人對話。
3. 回應將根據上傳的業務知識生成。

{% hint style="warning" %}
**重要注意事項：**

1. 測試對話不會顯示在對話區塊中。
2. 切換預覽頁籤會自動啟動新的對話。
3. 測試機器人會消耗 AI 回覆點數。
   {% endhint %}

<div><figure><img src="/files/EBKhoo3jVkVMotm3pNrh" alt=""><figcaption><p><strong>小工具預覽</strong></p></figcaption></figure> <figure><img src="/files/sVZz7y8XTtRSe4XcYaa0" alt=""><figcaption><p><strong>流式傳輸模式</strong></p></figcaption></figure></div>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chatlyst.gitbook.io/chatlyst-user-guide/zh/train-and-test-bot-zh/xun-lian-yu-ce-shi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
