> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/build/knowledge-base/tags-and-metadata.md).

# 文件管理：標籤及元資料

知識庫文件管理：用標籤分類文件與 FAQ、用元資料控制檢索範圍與參考資料權限，以及與標籤過濾、查詢元資料的關係。

由於知識庫中可能有大量的文件或 FAQ 需要管理，MaiAgent 提供標籤管理、元資料管理功能，讓您能夠分類、整理大量的文件及 FAQ。

## 標籤管理 <a href="#tag-management" id="tag-management"></a>

當您的知識庫包含大量資料時，標籤系統能幫助您快速整理文件、FAQ 屬性，或用於控制參考資料權限。例如：

```
產品資料知識庫 (依照產品資訊分類)
|-- #帳篷 
|-- #4人帳 
|-- #三季帳 
|-- #SnowPeak
```

```
教學內容知識庫 (依照權限等級分類)
|-- #非會員
|-- #一般會員 
|-- #VIP
```

### 新增標籤 <a href="#add-tag" id="add-tag"></a>

1. 點擊新增按鈕

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-00bd98ff99408eec10691f1f015409e8061114e5%2Fimage%20(185).png?alt=media" alt=""><figcaption></figcaption></figure>

2. 輸入標籤名稱

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-0f4c9e1e2f4a092afaa565bb828a35b4e59f4c24%2Fimage%20(186).png?alt=media" alt=""><figcaption></figcaption></figure>

3. 按下新增後，剛剛輸入的標籤就會顯示如下，包含 ID、名稱等

{% hint style="info" %}
ID 可用於開放文件權限時使用，詳情請見[技術人員手冊—Query Metadata 控制項目](https://docs.maiagent.ai/tech/identity-and-access/zhi-shi-guan-li-quan-xian-query-metadata-cha-xun-yuan-zi-liao-zong-lan/json-interfaces#querymetadata-kong-zhi-xiang-mu-shuo-ming)
{% endhint %}

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-d5efb971745b4bd5297e31119ee1e45093192cb2%2Fimage%20(189).png?alt=media" alt=""><figcaption></figcaption></figure>

### 為文件加入標籤 <a href="#tag-document" id="tag-document"></a>

標籤新增完畢後，接著進入文件頁面

1. 點擊編輯檔案資訊

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-9d52c164994d7a2c4b96f3782fdba3a5357ac0d9%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-18%20174411.png?alt=media" alt=""><figcaption></figcaption></figure>

2. 選擇標籤

依照文件需求不同，加上對應標籤 (您可以選擇多個標籤)

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-c1f4229d90f6e5b2796e969d31ac433b7bd2ff9b%2Fimage%20(193).png?alt=media" alt=""><figcaption></figcaption></figure>

如此一來，加入的標籤就會顯示在對應的文件後：

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-12fa488c87c8faad401ab5aa06df2f0ab7c7d431%2Fimage%20(194)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

### 為 FAQ 新增標籤 <a href="#tag-faq" id="tag-faq"></a>

若您希望能為 FAQ 增加層級分類或標籤管理，您可以：

1. 進入知識庫內的 FAQ 管理介面，選擇要編輯的 FAQ 後，點擊編輯按鈕

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-ff5846eadc0e05b5d0e23d4cf87eab8877ba7ad7%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20171433%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

2. 選擇要加入的標籤，加入後按下「<mark style="color:blue;">確定</mark>」

<div><figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-e3a464d671878da74fc3b45506c5c4d0e6c29e38%2Fimage%20(174).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-a2a9363722f24ac61d91273c32c9e1a09f98ec01%2Fimage%20(175).png?alt=media" alt=""><figcaption></figcaption></figure></div>

加入後的標籤就會出現在 FAQ 欄位中

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-f74621f006e8057ab5b6f11f544dda782203da6a%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20172123.png?alt=media" alt=""><figcaption></figcaption></figure>

***

### 標籤權限存取控制 <a href="#tag-access-control" id="tag-access-control"></a>

您可依照標籤的不同，控制不同用戶看到不同內容，如 VIP 客戶能看到更進階的產品教學示範，非會員只能看到通用教學示範等。

{% hint style="info" %}
FAQ、文件皆可套用篩選
{% endhint %}

{% hint style="success" %}
若希望某個 Agent 在所有對話平台都預設只參考特定標籤的檔案，不用逐次呼叫帶參數，請改在 Agent 設定頁設定，詳見 [知識庫標籤過濾](/build/agent/label-filter.md)。
{% endhint %}

標籤過濾的條件分成「組內」與「組間」兩層，介面上以白話呈現：同一組標籤之間選「包含所有標籤（AND）」或「包含任一標籤（OR）」，多組條件之間選「每一組都要符合（AND）」或「符合任一組即可（OR）」。舊版介面顯示為 AND／OR 按鈕，意思相同。以下用兩個例子說明。

#### 包含所有標籤（AND） <a href="#and-filter" id="and-filter"></a>

「包含所有標籤（AND）」只開放同時符合這一組每個標籤的內容。

例如：此對話是和非會員的教學相關對話，就可以使用標籤篩選，只開放同時符合「<mark style="color:blue;">非會員</mark>」及「<mark style="color:blue;">教學</mark>」標籤的文件讓 Agent 使用。

如圖：篩選後 Agent 僅能使用初級露營的文件，避免透露不相關的訊息給非會員對話使用。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-ac0761fb82bb4bcd9a1564cdf5eb190398e39695%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-28%20124301.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 包含任一標籤（OR） <a href="#or-filter" id="or-filter"></a>

若是和會員的對話，則可以改用「包含任一標籤（OR）」，讓符合一般會員或非會員的文件都能讓 Agent 參考使用：

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-b41ff641039d59dcbe21a70ef0dd6c014528c812%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-28%20124405.png?alt=media" alt=""><figcaption></figcaption></figure>

會員就能看見比非會員多的文件內容，達到權限分級。

{% hint style="info" %}
在標籤過濾中，點選「<mark style="color:blue;">包含所有標籤（AND）</mark>」或「<mark style="color:blue;">包含任一標籤（OR）</mark>」即可切換這一組的判斷方式（下圖為舊版 AND／OR 按鈕，位置相同）；建構器底部會用一句話描述目前的條件，可用來確認設定是否正確。
{% endhint %}

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-0fe58d851aefc0a1256a26a0f265ba5a9ba1f9bc%2Fimage%20(156).png?alt=media" alt=""><figcaption></figcaption></figure>

> 篩選結果請參考：[與 Agent 對話（Agent 市集）](/work/explain.md)

## 文件元資料管理 <a href="#document-metadata-management" id="document-metadata-management"></a>

### **什麼是元資料？** <a href="#what-is-metadata" id="what-is-metadata"></a>

元資料就像是文件的「身分證」，記錄文件的詳細資訊，幫助系統更好地管理和使用這些文件。

**如：初級露營.pdf**

```
元資料設定：
├── 文件版本：v2.1
├── 建立日期：2024-03-15
├── 上次更新：2024-11-20
├── 下次檢核：2025-05-20
├── 更新部門：行銷部
└── 版本狀態：已審核可開放
```

### 為什麼要使用元資料？ <a href="#why-use-metadata" id="why-use-metadata"></a>

在資料龐雜的情況下，使用元資料能協助您更方便、迅速地維護資料品質，協助您：

**提升管理效率**

* 快速識別文件狀態和版本資訊
* 批量管理大量文件時更有條理
* 減少人工查找和確認的時間

**確保內容品質**

* 使用最新文件版本
* 追蹤文件更新歷史和版本狀態
* 確保 Agent 使用最新且已審核的內容
* 記錄下次檢核日期，定期篩出該複查的文件

### 文件沒有到期日，元資料也不會自動提醒 <a href="#no-expiration-or-reminder" id="no-expiration-or-reminder"></a>

知識庫文件沒有「有效期限」欄位：文件上傳後會一直被檢索，直到您刪除或更新它。「下次檢核」這類元資料只是您自己記錄的值，平台**不會**依它寄送提醒、通知管理員、自動加標籤，也不會在日期到了之後停止檢索這份文件。要做定期複查，請自行排程：

1. 在 <mark style="color:blue;">元資料管理</mark> 建立 `next_review` 這類日期欄位，並為文件填值（新上傳的文件可用預設值自動帶入）。
2. 複查時用 [批量管理元資料](/build/knowledge-base/km.md#batch-manage-labels-metadata) 下載整個知識庫的元資料 Excel，依該欄位排序或篩選，找出已到期的文件。
3. 對到期的文件更新內容或刪除，再把新的檢核日期填回去上傳。

另一個做法是把「版本狀態」做成標籤（例如 `已審核`、`待複查`），並用 [知識庫標籤過濾](/build/agent/label-filter.md) 讓 Agent 只參考已審核的文件；複查中的文件改掛 `待複查` 標籤，就不會被檢索到。

### 元資料管理頁：欄位、預設值與檢索時使用 <a href="#metadata-management-page" id="metadata-management-page"></a>

元資料欄位要先在知識庫設定頁左側的 「<mark style="color:blue;">元資料管理</mark>」 定義，之後才能在各文件與 FAQ 填值。頁面上方的說明寫明用途：「元資料欄位可以為文件提供額外的結構化資訊，幫助更好地組織和檢索內容。設定全域預設值後，新上傳的文件將自動套用這些預設。」清單欄位：

| 欄位                                    | 說明                                                                                                                                |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="color:blue;">欄位名稱</mark> | 元資料的 key，例如 `url`、`version`                                                                                                       |
| <mark style="color:blue;">類型</mark>   | <mark style="color:blue;">預設</mark>＝系統內建欄位；<mark style="color:blue;">自定</mark>＝您用 「<mark style="color:blue;">新增自定欄位</mark>」 建立的欄位 |
| <mark style="color:blue;">欄位描述</mark> | 給管理者看的用途說明                                                                                                                        |
| <mark style="color:blue;">預設值</mark>  | 新上傳的文件自動套用的值；未設定顯示「(無)」                                                                                                           |
| <mark style="color:blue;">檢索設定</mark> | 打勾代表已開啟 「<mark style="color:blue;">檢索時使用</mark>」                                                                                  |
| <mark style="color:blue;">操作</mark>   | <mark style="color:blue;">編輯</mark>、<mark style="color:blue;">刪除</mark>（需有知識庫編輯／刪除權限）                                             |

按 「<mark style="color:blue;">新增自定欄位</mark>」 或 「<mark style="color:blue;">編輯</mark>」 時要填：

* **欄位名稱**：只能以字母開頭，包含字母、數字和底線，不超過 50 個字元。
* **欄位描述**：選填，不超過 200 個字元，例如「引用文件跳轉連結」。
* **預設值**：選填。畫面提示「設定全域預設值，新上傳的文件將自動套用此預設」；已上傳的文件不會回填，要補值請用[批量管理元資料](/build/knowledge-base/km.md#batch-manage-labels-metadata)。
* **檢索時使用**：開啟後，畫面說明是「檢索時將此資訊送給 LLM 作為回答判斷及參考」——也就是檢索到某個片段時，會把這份文件的這個元資料值一併交給 Agent。適合「文件版本」「適用地區」「生效日期」這類會影響答案的資訊；只用來做[自訂連結映射](#custom-url-mapping)的 `url` 這類欄位不必開，可以省 token。

{% hint style="warning" %}
編輯欄位會影響所有已使用此欄位的文件；刪除欄位後，所有文件中此欄位的資料都會被移除，無法復原。
{% endhint %}

### 為文件新增元資料 <a href="#add-metadata-to-document" id="add-metadata-to-document"></a>

1. 進入文件頁面，點擊編輯文件資訊：

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-9d52c164994d7a2c4b96f3782fdba3a5357ac0d9%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-18%20174411.png?alt=media" alt=""><figcaption></figcaption></figure>

2. 切換至元資料分頁並輸入元資料對應

> MaiAgent 採用 key-value 對應存取元資料

<div><figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-d214e20dbb079f0c87ec8d22719fc03d5c79c196%2Fimage%20(142).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-9cce0ff156c9b371e02ec40a8276f12a958c3ccb%2Fimage%20(143).png?alt=media" alt=""><figcaption></figcaption></figure></div>

輸入後點擊「<mark style="color:blue;">新增元資料</mark>」鍵，加入剛剛輸入的鍵值對應關係(可以一次加入多個元資料)。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-011bf009a0b4bd5dabe3ef5a6bc76f00fbd3360c%2Fimage%20(202).png?alt=media" alt=""><figcaption></figcaption></figure>

新增完成後就能看見剛剛加入的元資料出現在欄位中。

### 為 FAQ 新增元資料 <a href="#add-metadata-to-faq" id="add-metadata-to-faq"></a>

1. 進入知識庫內的 FAQ 管理介面，選擇要編輯的 FAQ 後，點擊編輯按鈕

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-ff5846eadc0e05b5d0e23d4cf87eab8877ba7ad7%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20171433%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

2. 切換至元資料頁面，輸入後點按新增元資料

全數輸入完畢後按下「確定」

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-08208baf117c66b801d1ef1a61b5c9f0a685aaff%2Fimage%20(176).png?alt=media" alt=""><figcaption></figcaption></figure>

新增的元資料就會出現在 FAQ 列表中

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-cbc2c61f59c8b5f38fcbd561916ff731eadc4687%2Fimage%20(177).png?alt=media" alt=""><figcaption></figcaption></figure>

### 自訂連結映射 <a href="#custom-url-mapping" id="custom-url-mapping"></a>

url 在元資料系統中為保留字，如設定 `url: https://...您指定的網址` ，則您設定的 url 網址就會在對話中檢視引用片段時覆蓋原有的檔案位置，改為開啟您指定的網址。

**範例情境：品牌春季促銷活動**

**原始設定：**

```yaml
title: "2025春季大促銷活動詳情"
content: "本次活動包含全館8折優惠、滿額贈禮等多項優惠..."
url: https://www.yourstore.com/spring-sale-2025
```

**使用效果：** 當用戶在對話中問到「春季促銷活動有什麼優惠？」時：

* AI 會引用這個知識片段回答問題
* 用戶點擊引用來源時，不會開啟內部檔案位置
* 而是直接跳轉到 `https://www.yourstore.com/spring-sale-2025` 官網活動頁面
* 用戶可以立即看到最新的活動詳情、購買按鈕、倒數計時等動態內容

**實用場景：**

* **網站公告**：`url: https://www.company.com/announcements/system-maintenance`
* **產品規格頁**：`url: https://www.product.com/specs/model-x1`
* **客服政策**：`url: https://support.company.com/return-policy`
* **活動報名**：`url: https://events.company.com/register/webinar-2025`

這樣設定的好處是讓 AI 回答更具實用性 —— 不只提供資訊，還能引導用戶直接前往相關頁面採取行動，提升用戶體驗和轉換率。

***

#### 未設定 url 前 <a href="#before-url-setting" id="before-url-setting"></a>

如下，未設定 url 值前點按引用節點，點按任何一個節點(如：初級露營.pdf)就能夠查看原始文件 (您可以在對話平台中設定是否要讓使用者下載原始文件檔案)：

{% hint style="info" %}
[對話平台 - 允許下載引用文件設定](/build/conversation-settings/platform-settings/function-settings.md#ai-interaction)
{% endhint %}

<div><figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-8344183badd7e8fdd95aa5f1e778701af26bcc7e%2Fimage%20(167).png?alt=media" alt=""><figcaption><p>查看引用節點</p></figcaption></figure> <figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-156940c18e495edd0ec2d91f8d188c777605d01f%2Fimage%20(168).png?alt=media" alt=""><figcaption><p>查看原始檔案位置</p></figcaption></figure></div>

#### 設定 url 後 (以 Google 為示範) <a href="#after-url-setting" id="after-url-setting"></a>

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-5ffe6b54062d9c5cceaccffb6b189011dbc19e98%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20145947.png?alt=media" alt=""><figcaption></figcaption></figure>

再次點按引用的節點檔案 (露營注意事項.txt)，就不會顯示文件預覽，而是覆蓋成開啟 Google 首頁：

<div><figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-1610be021a9a165d138832964ce0e9e9b88482e5%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20145734.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-5dd779938cea62c819f6df072ec2cfdb7c1dcb5a%2F%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-08-19%20150246.png?alt=media" alt=""><figcaption></figcaption></figure></div>

當您在元資料中設定 `url` 欄位後，使用者在對話中看到 Agent 引用該文件時，可以直接點擊跳轉至您設定的連結，獲得更完整的資訊


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maiagent.ai/build/knowledge-base/tags-and-metadata.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
