# (6) 編輯腳本

### 本篇教您的重點

* 如何編輯節點？
* 如何編輯選單？

### 重要概念

* **目的**\
  提供機器人「說出」的內容。
* **編輯節點**\
  訓練機器人時，告訴機器人他需要**回應的內容**，就是編輯**節點**。
* **編輯選單**\
  設定機器人時，提供對話視窗下方**固定選單的內容** ，就是編輯**選單**。

### 編輯節點 <a href="#mce_4" id="mce_4"></a>

1. 到左欄 **`機器人編輯`** 點選 **`節點`**
2. 按下 **`＋節點群組`** 並命名
3. 點選 **`＋`** 來新增節點並命名
4. 在右側編輯節點，運用 [元件](https://docs.yoctol.ai/term/element)、新增答案內容

![](/files/-LbVs4z3VTdArfyr28Q5)

### 系統預設節點 <a href="#mce_6" id="mce_6"></a>

1. 到左欄 **`機器人編輯`** 點選 **`節點`**
2. 內建 **`歡迎訊息`** 及 **`預設回覆`** 節點
3. 可自由更新這兩個節點的回應

![](/files/-LbVs7eJYCSqw__Iyup2)

### 編輯選單

1. 到 **`腳本編輯`** 點選 **`選單`**
2. 內建 **`問候語`** 及 **`固定選單`** 功能
3. 可自由更新這兩個功能

### 您可能還想知道

* [什麼是歡迎訊息？](https://docs.yoctol.ai/term/welcome_message)
* [什麼是預設回覆？](https://docs.yoctol.ai/term/default_reply)


---

# 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-tw.yoctol.ai/guide/edit_script.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.
