# 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 ](https://docs.chatlayer.ai/nlp/natural-language-processing-nlp)page.
{% endhint %}

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F614FyvxnBxsdz72ibZzM%2FScreenshot%202024-06-05%20at%2013.57.04.png?alt=media&#x26;token=d065b66d-463e-40a6-b553-75f183b18fc1" 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="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2Fc2vHng5OcHpucgjULI9b%2FScreenshot%202023-10-24%20at%2017.33.45.png?alt=media&#x26;token=3b460ec7-71a7-406f-ab32-3635c7236daa" 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="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F97QYcWnYxrnkKl05Cszb%2FScreenshot%202024-06-05%20at%2013.49.57.png?alt=media&#x26;token=e5090e1a-e40b-4bc1-ac46-4cf76d1427c9" 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="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FAg9ANqaJZKZ1sCgs8chM%2FCopy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy%20of%20Copy.gif?alt=media&#x26;token=70552dcc-8e13-4d88-8e77-3d55499fd28d" 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="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F23fZTgnKDeMQ4UzTWIVp%2FDesign%20sans%20titre.gif?alt=media&#x26;token=4d66463d-5379-475a-b15c-60c3c9330d1c" 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](https://docs.chatlayer.ai/nlp/natural-language-processing-nlp/ai-intent-booster) is specifically crafted to boost the performance of your NLP. Make sure you check it out!
{% endhint %}
