# 內部問答的功能

## <mark style="color:blue;">內部問答介紹</mark> <a href="#internal-qa-introduction" id="internal-qa-introduction"></a>

**💬 對話區塊**

* 與 AI 助理進行即時問答互動

**📋 歷史對話紀錄**

* 查看和管理所有過往對話記錄

**🤖 AI 助理選擇**

* 切換不同的 AI 助理進行對話

**⚙️ AI 助理設定**

* 即時調整當前對話的 AI 助理設定，包含權限和工具配置

**📚 知識庫文件管理**

* 精確控制每次對話時 AI 助理可參考的文件範圍

<figure><img src="/files/abWlgPlqkYTUCuR3DvQ9" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">如何使用內部問答？</mark> <a href="#how-to-use-internal-qa" id="how-to-use-internal-qa"></a>

### 1. 進入內部問答頁面 <a href="#step-navigate-to-internal-qa" id="step-navigate-to-internal-qa"></a>

<figure><img src="/files/yUvGI5J6i9HfJ3dSWoIy" alt=""><figcaption></figcaption></figure>

### 2. 選擇想要進行對話的 AI 助理 <a href="#step-select-ai-agent" id="step-select-ai-agent"></a>

您可以在左上方的<mark style="color:blue;">藍色下拉選單</mark>中選擇想要進行對話的 AI 助理。

<figure><img src="/files/zZKdoHBM7Fo4yQ2xDUGX" alt=""><figcaption></figcaption></figure>

### 3. 開始對話 <a href="#step-start-conversation" id="step-start-conversation"></a>

* **繼續過去對話**：由左側過去問答話題中選擇要接續對話的話題。
* **開啟新對話**：點選左方區塊的 「<mark style="color:blue;">新建問答</mark>」，進行一個全新的對話。

{% hint style="info" %}
所有對話都會出現在左上角問答紀錄中
{% endhint %}

選擇對話後即可在下方文字方框中輸入您的問題開始對話。

<div><figure><img src="/files/GQpyNyQ2TqroGwIG03JM" alt=""><figcaption><p>繼續過去對話(選擇對話)</p></figcaption></figure> <figure><img src="/files/EywtwACM55V4LvJmjD0c" alt=""><figcaption><p>開啟新對話(新建對話)</p></figcaption></figure></div>

### 4. 自訂文件參考範圍（可選） <a href="#step-customize-document-scope" id="step-customize-document-scope"></a>

使用右側的知識庫管理功能，選擇此次對話要讓 AI 助理參考的具體文件。

<figure><img src="/files/7Y1LtgGxlo3pkGGeYpJY" alt=""><figcaption></figcaption></figure>

* 每則訊息都可以自由勾選參考文件、FAQs
* 每次傳送問答前都可以重新設定

#### **文件存取範圍** <a href="#document-access-scope" id="document-access-scope"></a>

1. 第一則訊息傳送時開放所有文件，包含「氣氛燈-系列.md」

AI 助理參考後回答：「文件內容：官網已關閉，不再對外銷售任何商品」

<figure><img src="/files/O7L1MbD9UiauhKO9EfSP" alt=""><figcaption></figcaption></figure>

2. 第二則訊息傳送時取消勾選「氣氛燈-系列.md」

AI 助理無法參考，並回覆：「我無法找到『**氣氛燈-系列.md』檔案的具體內容。**」

<figure><img src="/files/hBQoABRjN2pDggmwkYaG" alt=""><figcaption></figcaption></figure>

#### FAQs 存取範圍 <a href="#faqs-access-scope" id="faqs-access-scope"></a>

1. 第一則訊息傳送時開放所有 FAQs，包含「LLM 的運作原理是什麼？」

AI 助理參考後回答相關答案

<figure><img src="/files/P1QKhvDcQSzb5QO4Aqsc" alt=""><figcaption></figcaption></figure>

2. 第二則訊息傳送時取消勾選「LLM 的運作原理是什麼？」

AI 助理無法參考「LLM 的運作原理是什麼？」，並回答「我無法找到 FAQ 中關於 LLM 運作原理的相關資訊」

<figure><img src="/files/r8YmM6ekMlvKXAKjZAsi" alt=""><figcaption></figcaption></figure>

#### 標籤過濾 <a href="#tag-filter" id="tag-filter"></a>

您可以使用在知識庫中設定的標籤，篩選您想要開放給 AI 助理參考的文件內容：

{% hint style="info" %}
標籤設定請參考：[文件管理：標籤及元資料](https://github.com/Playma-Co-Ltd/maiagent-user-guide-gitbook/blob/main/zh-tw/km/tags-and-metadata.md)
{% endhint %}

a. 點按右上角「顯示標籤過濾」

<figure><img src="/files/4f1xRzUAzCIzmRIKpsqq" alt=""><figcaption></figcaption></figure>

b. 選擇 AND、OR 篩選條件，點按「AND」文字即可切換

<figure><img src="/files/axjxsjs1OFObjPTgllR3" alt=""><figcaption></figcaption></figure>

c. 加入標籤

* 使用「AND」過濾
  * 文件：僅有「進階露營.pdf」符合所有條件，可供 AI 助理參考
  * FAQ：沒有同時符合所有條件的 FAQ，故無顯示

{% hint style="info" %}
標籤過濾會同時套用文件及 FAQ 內容
{% endhint %}

<div><figure><img src="/files/4PHfiKf8RMiDcM6hgr76" alt=""><figcaption></figcaption></figure> <figure><img src="/files/RVMuL94fsvfu3dO8RnN6" alt=""><figcaption></figcaption></figure></div>

### 5. 即時調整 AI 助理設定（可選） <a href="#step-adjust-ai-agent-settings" id="step-adjust-ai-agent-settings"></a>

透過右上方的「AI 助理設定」，可即時修改權限、工具等配置。

<figure><img src="/files/7LHiwkPcRKTLbnZc8ufM" alt=""><figcaption></figcaption></figure>

點選後會跳出右側彈跳視窗，讓您自由編輯需要的權限、工具等

<figure><img src="/files/mrD0CxzqohLTMLZLX5WO" alt=""><figcaption></figcaption></figure>

## 💡 <mark style="color:blue;">使用技巧</mark> <a href="#usage-tips" id="usage-tips"></a>

### **對話管理** <a href="#conversation-management" id="conversation-management"></a>

* 善用歷史對話紀錄快速回到之前的討論
* 新建問答適合開啟全新話題

### **文件控制精準度** <a href="#document-precision-control" id="document-precision-control"></a>

* 針對特定問題可限制參考文件，獲得更精準回答
* 避免無關文件干擾 AI 助理的判斷

### **設定靈活調整** <a href="#flexible-settings-adjustment" id="flexible-settings-adjustment"></a>

* 可針對不同對話情境即時調整 AI 助理能力
* 測試不同設定對回答品質的影響


---

# 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.maiagent.ai/conversations/explain.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.
