# Intents

The **Intents** page is a crucial part of your chatbot's configuration, allowing you to enhance its natural language understanding by defining intents.&#x20;

{% hint style="info" %}
NLP sound unfamiliar to you? Make sure you have a look at our detailed [Natural language processing ](/nlp/natural-language-processing-nlp.md)page.
{% endhint %}

<figure><img src="/files/BrggXKI9OPzEcvAXl4OX" alt=""><figcaption><p>The Intents page.</p></figcaption></figure>

## Add a new intent

### From scratch

To add a new intent:

1. Go to **Intents** page and click ‘+’ button to add a new intent.&#x20;

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

2. Define your intent with a brief description. This step is optional.&#x20;

### From prebuilt intents

We've created a few intent packs so you can quickly get started and train your NLP model.&#x20;

To add a prebuilt intent to your bot:

1. Go to your **Intents** page.
2. [Add a new intent](#add-a-new-intent).
3. Click on **Prebuilt intents** at the bottom left.
4. Select the intent that you would like to add to your bot.
5. Click **Save**.

<figure><img src="/files/t8MlL6S3zbM7GM9BXVCp" alt="" width="375"><figcaption><p>Add prebuilt intents to your bot.</p></figcaption></figure>

## Sort your intents

You might run into situations where you need to sort your intents. You can sort your intents by:

* **Creation Date**: this helps you track when the intents were created.
* **Total expressions**: gain insights into the number of expressions associated with each intent.
* **Name**: alphabetical sorting by intent name for easier organization.

<figure><img src="/files/ZXhk5ImeUQEMTxRtd64e" alt=""><figcaption><p>Sort intents based on different features.</p></figcaption></figure>

\
Test your NLP
-------------

To test your NLP from the **Intents** tab:

1. Click on the **Test** button at the top right corner of the screen.
2. Enter a sentence for testing.
3. Click on **Evaluate**.
4. Check the result. You will see how much your expression is scoring for each intent.

<figure><img src="/files/BHqlKX9A5YsuYebqMYF2" alt=""><figcaption><p>Test your NLP from the Intents tab.</p></figcaption></figure>

{% hint style="success" %}
You have a small bot, with less than 2000 expressions? The [AI Intent Booster](/nlp/natural-language-processing-nlp/ai-intent-booster.md) is specifically crafted to boost the performance of your NLP. Make sure you check it out!
{% endhint %}


---

# 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.chatlayer.ai/navigation/natural-language-processing-nlp/intents.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.
