> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/zh-tw/geng-duo-zhu-ti/12-error-assist.md).

# 錯誤輔助

**Error Assist** 是 Overleaf 以 AI 驅動的工具，旨在協助你快速識別、理解並解決專案中的 LaTeX 程式碼錯誤。Error Assist 會提供 LaTeX 程式碼錯誤的說明與建議修正，簡化除錯流程，讓你能更專注於寫作、減少在除錯上花費的時間。

## 如何使用 Error Assist

在 Overleaf 的專案中，如果你有一個 [LaTeX 程式碼中的錯誤](/latex/zh-tw/latex-ji-chu/05-errors.md)，寫作窗格左側邊距會出現錯誤標記。你也可以在錯誤記錄中找到所有錯誤。

請記住，最佳做法是依照順序修正專案中的錯誤，因為較早的錯誤有時可能會影響文件後面的部分。

### 使用 Error Assist 修正錯誤

若要從 Error Assist 取得錯誤的說明與修正建議，請依下列步驟操作：

1. 點擊寫作窗格左側邊界中的錯誤標記，或開啟錯誤記錄。

![顯示 Overleaf AI 錯誤助理建議錯誤修正的圖片。](/files/5fe7840c7ad6f898ab737b945a497852ec0ecf44)

3. 點擊 **建議修正**.

之後，你會看到錯誤說明，而且在大多數情況下也會提供建議修正。當有建議修正時，應該變更的程式碼行將以紅色顯示，建議變更則會以綠色顯示。

請記住，AI 可能會犯錯，所以在套用前務必確認建議是否合理。如果你對建議修正不滿意，可以點擊重新整理圖示來產生新的回應。

6. 若要套用修正，請點擊 **套用建議**。修正將會套用，且你的專案將會重新編譯。

![套用 Overleaf AI 錯誤助理建議的修正。](/files/3d3efd5b92448ef8826944bf14bd930db3a919b5)

### 對 AI 回應提供意見回饋

你可以使用以下按鈕，對 AI 回應的品質與實用性提供意見回饋： **讚** 和 **倒讚** 按鈕會出現在 AI 回應下方。

### 每日使用限制

Error Assist 每天可免費使用一次。若要在同一天內多次使用 Error Assist，你可以購買附加功能以增加使用次數 [這裡](https://www.overleaf.com/user/subscription/new?planCode=assistant-annual)。此附加功能可讓你無限次使用 Error Assist（適用公平使用政策）。

### 哪些人可以使用及購買 Error Assist？

無法使用或購買 Error Assist 的使用者包括：

* **受管理帳號：** 其帳號 [由……管理](/latex/zh-tw/zhi-shi-ku/137-understanding-managed-overleaf-accounts.md#how-do-i-know-if-my-overleaf-account-is-managed) 的使用者，無法使用 Error Assist。
* **已選擇退出的組織：** 如果你的組織已選擇退出 Error Assist，該組織內的個別使用者將無法存取 Error Assist，也無法購買附加功能。

群組訂閱的主要管理員只能為自己購買此附加功能，不能為整個群組購買。我們計畫未來提供群組與整個組織範圍的訂閱。請與我們聯絡，以便在此選項可用時收到通知。如果個別群組成員希望在每日免費限制之外使用 Error Assist，他們必須自行購買附加功能 [這裡](https://www.overleaf.com/user/subscription/new?planCode=assistant-annual).

### 我要如何停用（關閉）Error Assist？

請依下列步驟關閉 Error Assist：

1. 前往你的 [帳戶設定](https://www.overleaf.com/user/settings) 頁面，然後向下捲動至 **整合** 區段。Error Assist 列在 **AI 功能**.
2. 選擇 **停用 AI 功能** 即可停用 Error Assist。這會停用所有 AI 功能，包括 Writefull。

![顯示如何在 Overleaf 上停用 Writefull 的圖片](/files/fca90e120e7e33f3acde81ecdf0573a772329499)

## Error Assist 與你的資料

Error Assist 由 OpenAI 提供技術支援。你的專案部分內容將會傳送給 OpenAI，以產生它所提供的答案。 **你的資料不會用於訓練模型**.

### 會與 OpenAI 共享什麼？

* 完整錯誤訊息
* 你專案中的相關程式碼行
* 你專案中檔案名稱的清單

在你針對錯誤訊息請求協助之前，不會分享任何內容。

## 疑難排解

### 我套用建議後可以復原嗎？

如果建議未如預期運作，可以使用編輯器窗格工具列或 Ctrl/Cmd+Z 來復原。

### 為什麼有些錯誤看不到「建議修正」選項？

Error Assist 依賴完整錯誤訊息，該訊息顯示於 **記錄與輸出檔案** 窗格中，以產生說明與建議修正。這表示你不會在下列項目看到「建議修正」選項： [程式碼檢查](/latex/zh-tw/zhi-shi-ku/029-code-check.md) 你輸入時出現的錯誤。

### 為什麼 Error Assist 沒有提供適當的修正？

Error Assist 會提供錯誤說明，但你的 LaTeX 程式碼越專門化，就越可能出現不準確的情況。它也不一定能辨識你的自訂命令，可能會提供較通用的解決方案。

## 更多關於 LaTeX 錯誤的協助

* [排解 LaTeX 問題的提示與技巧](/latex/zh-tw/wen-yu-da/81-tips-and-tricks-for-troubleshooting-latex.md)
* [如何找出並修正產生檔案中回報的錯誤](/latex/zh-tw/zhi-shi-ku/066-how-to-find-and-fix-errors-reported-in-generated-files.md)
* [錯誤](/latex/zh-tw/latex-ji-chu/05-errors.md)
* [使用「遇到第一個錯誤即停止」編譯模式](/latex/zh-tw/zhi-shi-ku/149-using-the-stop-on-first-error-compilation-mode.md)


---

# 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://overleaf-pro.ayaka.space/latex/zh-tw/geng-duo-zhu-ti/12-error-assist.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.
