# (3) Create Intents and Utterances

### Things you should know

* How to create intents
* How to create utterances

### Main Points

* Purpose: Training bots to understand human language.
* Creating [Intent](https://app.gitbook.com/@docs-en-yoctol-ai/s/yoctol/~/drafts/-LnQJsTXatUDJ-slOjKr/primary/v/master/term-translations/intent): When training your bot, you can create **intents** to let bot know **what types of contents/questions it should handle**.
* Add [Utterance](https://app.gitbook.com/@docs-en-yoctol-ai/s/yoctol/~/drafts/-LnQJsTXatUDJ-slOjKr/primary/v/master/term-translations/utterance): Teaching your bot what are the sentences **people usually say or send**.

### Steps

1. Go to **`My Bot`** > **`Intent`**
2. Click on **`+ Intent group`**
3. Click **`+`** to create a new intent and name it (Create at least 2 intents)
4. Press **`+ Utterance`** on the top right corner.
5. Construct at least 3 utterances.

![](/files/-LpRRjJCnNU7e35wPCrs)

* After finishing the steps above, click **`Train`** on the top of your page.
* For  more details, please visit [Train and Test](https://app.gitbook.com/@docs-en-yoctol-ai/s/yoctol/~/drafts/-LnQJsTXatUDJ-slOjKr/primary/v/master/jian-ji-qi-ren-zhi-nan/4-train-and-test).<br>


---

# 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-en.yoctol.ai/chatbot-building-guide/3-create-intents-and-utterances.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.
