> For the complete documentation index, see [llms.txt](https://docs.dmflow.chat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dmflow.chat/domain/docqa/improved-doc.md).

# 如何優化文檔問答

除了文檔評估功能外，你可以透過**語法完成**，填寫問題和回覆以及參考的網址優化回答。

語法完成可以優化你的回答，以及**追加卡片回覆**，**卡片回覆**可以讓你有命中關鍵字可以透過廣告推廣你的一些產品。

語法完成若用於文檔問答(未開啟進階功能)回覆若比對問題相似度大於0.9(語言不同會視為不相似)將直接送出，不會扣除AI點數。

未來可能整合類別(category)或者可提供相關的文檔ID會一起搜尋。

<figure><img src="/files/fS10JpCCb7CqKLsFmyOH" alt=""><figcaption><p>語法完成</p></figcaption></figure>


---

# 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.dmflow.chat/domain/docqa/improved-doc.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.
