> 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/artifacts-export.md).

# 產物、引用同匯出

一段回覆入面可能同時出現正文、程式碼、檔案、圖片、引用同可以繼續編輯嘅內容。先檢查產物，再決定複製、下載、匯出或者交畀 Agent 繼續處理。

<figure><img src="/files/9784af9fe68bab6af6e577c78e6e31ea6c589e03" alt="从写清问题、比较或分支探索到形成最终产物的对话选择流程图"><figcaption><p>到達最終產物之後先檢查內容、來源同檔案，再決定複製、匯出或者交畀 Agent 繼續整理。</p></figcaption></figure>

## 先預覽，再交付

喺【對話】入面明確要求輸出可預覽嘅 HTML 之後，撳訊息入面嘅產物就可以喺右側打開預覽。先核對頁面內容同版面，再使用預覽欄縮放、下載、最大化或者切換到程式碼視圖。

<figure><img src="https://3562065924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-f5bee1202b5aed4675a5537b57f3a1fd9147cf23%2Fcherry-v2-guide-artifact-preview.png?alt=media" alt="对话中已生成的发布前检查页与右侧 HTML 预览"><figcaption><p>① 預覽區用嚟核對完整內容；② 工具欄可縮放、下載、最大化或者切換視圖。</p></figcaption></figure>

```mermaid
flowchart LR
    A[喺對話中說明產物格式] --> B[打開右側預覽]
    B --> C{內容同版面係咪完整}
    C -- 否 --> D[返去對話補充修改要求]
    D --> B
    C -- 是 --> E[下載、複製或者交畀 Agent 儲存]
```

預覽嘅作用係提早發現缺項，而唔係淨係確認「已經生成」。如果頁面要交畀同事使用，至少撳開連結、按鈕同下載檔案各檢查一次。

{% hint style="info" %}
如果結果只係程式碼塊而冇出現預覽，可以喺同一輪對話入面補充「請輸出一個完整、可直接預覽嘅 HTML 產物」，並寫清頁面需要包含嘅區域。
{% endhint %}

### 應用案例：發佈前檢查頁

輸入「把發佈前檢查清單做成一個可直接預覽嘅完整 HTML 產物，包含上線準備、監控與驗收、回滾條件三個區域」。預覽打開後，先檢查三部分係咪完整，再下載或者交畀 Agent 儲存到項目目錄。

## 先做三項檢查

1. **內容**：數字、日期、專有名詞同結論係咪同原資料一致。
2. **來源**：連網結果係咪保留可打開嘅連結；引用係咪真係支持對應講法。
3. **檔案**：檔案名、格式同內容係咪可以正常打開，係咪包含唔應該分享嘅資訊。

## 常見去向

| 結果               | 建議做法                      |
| ---------------- | ------------------------- |
| 一段定稿文字           | 複製到目標應用，或者儲存做筆記           |
| 需要持續修改嘅 Markdown | 放入 Agent 工作目錄，喺【文件】面板繼續編輯 |
| 可重用嘅資料           | 整理之後加入知識庫，唔好將臨時討論成段匯入     |
| 圖片               | 打開原圖檢查尺寸同細節，再下載使用         |
| 程式碼或者命令          | 先閱讀並喺可復原環境驗證，唔好直接執行未知命令   |

{% hint style="warning" %}
「生成成功」只係代表模型回咗內容，唔代表檔案可以直接發佈。對外材料仍然要檢查事實、版權、私隱同品牌要求。
{% endhint %}

### 應用案例：將討論整理成可交付文件

團隊先喺【對話】中討論活動方案，確認受眾、時間同預算邊界之後，畀模型輸出結構化提綱。之後將提綱交畀【工作】入面嘅內容 Agent，喺指定目錄生成 `campaign-plan.md`。最終喺右側【文件】入面修訂，避免將幾十輪討論原樣複製到正式文件。

<details>

<summary>點解引用連結打唔開？</summary>

連結可能失效、需要登入，或者搜尋結果只提供咗摘要。改用原始來源重新核對；打唔開嘅來源唔好當做關鍵結論嘅唯一支撐。

</details>


---

# 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/artifacts-export.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.
