# 文檔問答

您可以通過 CSV、JSON、HTML、DOCX 、PDF和語音 等格式將文件上傳至 DMflow .chat平台，系統將自動分析並保存分析完畢的內容。

### 相對其他平台優勢

* **提供 sitemap.xml 上傳功能**：

平台會自動抓取並分析網頁內容，當客戶詢問相關信息時，系統會提供直接的網頁點擊連結。(目前sitemap/rss/atom僅支援靜態網頁抓取，選取單一網頁才可抓取動態網頁)

* **設置內容過期時間**：

您可以設置文件的過期時間，當到達過期時間後，平台將不再擷取該文件的內容。

* **使用者反饋管理**：

您可以通過日誌標籤查看使用者對問答的反饋（如“有用”或“沒用”），並對其進行修改。

* **數據分析**：

提供檢索的精確度(Retrieval Precision)、檢索的召回率(Retrieval Recall)、答案的相關性(Answer Relevancy)、答案的可靠性(Answer Faithfulness)以及歷史資料讓你更能做出更精確的RAG。

不管是AI 代理人或者閒聊角色或者文檔問答只要使用知識庫功能都會儲存以下數據，你可以透過完成去將這個問題在UI移除。

<figure><img src="/files/aQ2af7eMcWcNRu8jASuz" alt=""><figcaption><p>問答顯示</p></figcaption></figure>


---

# Agent Instructions: 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://docs.dmflow.chat/domain/docqa.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.
