> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/advanced-basic/chat.md).

# 對話進階

【對話】適合邊交流邊整理思路。除咗單模型問答，仲可以並排比較多個模型、由任何消息建立分支、管理長對話上下文，同埋將回覆入面嘅文件、圖片、代碼同引用作為產物繼續使用。

{% hint style="info" %}
如果任務需要連續讀寫本地文件、調用多種工具或者長時間運行，就改用【工作】入面嘅 Agent。對話更適合討論、比較同定稿，Agent 更適合執行。
{% endhint %}

<figure><img src="/files/9784af9fe68bab6af6e577c78e6e31ea6c589e03" alt="对话进阶中从完整问题到比较、分支和产物的选择流程图"><figcaption><p>問題同輸出要求先寫完整；只有需要交叉驗證時先至增加模型比較或者消息分支。</p></figcaption></figure>

## 按目標選擇能力

| 目標              | 建議做法                   |
| --------------- | ---------------------- |
| 比較唔同模型嘅觀點       | 喺輸入區選擇多個模型後發送同一個問題     |
| 保留原討論並探索另一條思路   | 由關鍵消息建立分支              |
| 繼續好長嘅討論         | 查看上下文用量，必要時總結後新開話題     |
| 讓下一條問題稍後發送      | 使用消息隊列，唔使打斷當前回覆        |
| 繼續處理回覆入面嘅文件或者代碼 | 打開產物預覽，再下載、複製或者喺新任務中繼續 |

<figure><img src="/files/803c97191c93f6bdcb2fdecc8947a9b3021a7072" alt="对话中的模型选择器和多个模型入口"><figcaption><p>模型選擇器可以為同一個問題選擇一個或多個模型。</p></figcaption></figure>

## 推薦順序

{% stepper %}
{% step %}

### 1. 先將問題寫完整

說明目標、材料、限制同希望嘅輸出方式。多個模型只會放大原問題嘅差異，唔會自動補齊缺少嘅信息。
{% endstep %}

{% step %}

### 2. 再決定係咪需要比較

需要唔同視角時再選多個模型。日常問答保持單模型，界面更清楚，用量都更容易控制。
{% endstep %}

{% step %}

### 3. 將有效結論沉澱落嚟

可重用嘅資料存入筆記或者知識庫；需要繼續執行嘅工作交俾 Agent，並附上已經確認嘅結論。
{% endstep %}
{% endstepper %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>多模型對比同消息分支</strong></td><td>比較答案，同時保留探索路徑</td><td><a href="/pages/70686ce9ce772a249ffbaa4a0d622d9bca514001">/pages/70686ce9ce772a249ffbaa4a0d622d9bca514001</a></td></tr><tr><td><strong>長對話、上下文同排隊消息</strong></td><td>讓長對話保持清楚、可控</td><td><a href="/pages/9cfb7fc0bca293a8ea417fdbfd5147cb1c554998">/pages/9cfb7fc0bca293a8ea417fdbfd5147cb1c554998</a></td></tr><tr><td><strong>產物、引用同導出</strong></td><td>檢查並帶走真正有用嘅結果</td><td><a href="/pages/4facda389835ed425ff739b76088908dc754b0a0">/pages/4facda389835ed425ff739b76088908dc754b0a0</a></td></tr></tbody></table>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/advanced-basic/chat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
