> For the complete documentation index, see [llms.txt](https://docs-tw.yoctol.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tw.yoctol.ai/term/intent.md).

# 意圖

### 說明

在 YOCTOL.AI 左邊功能欄 **`機器人編輯`** 中的 **`意圖`**（intent）是指機器人對於使用者輸入的自然語言要達成的目標，所給予的分類。

在 YOCTOL.AI 中，若要訓練自然語意引擎，基礎必須有 2 個意圖，最多為 25 個意圖。

{% hint style="info" %}
機器人建置初期建議設定 2-3 個意圖，每個意圖至少 3-5 句 [訓練句](https://docs.yoctol.ai/term/utterance) 再訓練，每個意圖中的訓練句上限為 30 句。
{% endhint %}

### 範例

以飲料店機器人來示範，它基礎要能理解 3 個意圖：

* 商品介紹
* 訂購外送
* 門市介紹

對於同一種意圖，可能有許多不同的自然語言表達方式。舉例而言，當顧客輸入「*招牌是什麼，推嗎？*」、「*外有沒有出新品？*」這兩句話時，根據其語意，機器人都可以將此句子分類為「商品介紹」這個意圖。

### 影片介紹

{% embed url="<https://youtu.be/iTNJr73s42M>" %}
