# Bot settings

## Bot details

In **Bot betails** you see:

* The **Name** of your of bot.
* The **Primary** and **Extra languages**.&#x20;
* The **Bot access** configuration, where you can change the number of people who have access to your bot.&#x20;

{% hint style="success" %}
Explore the offered possibilities for [role-based access control and identity management](/support/access-control.md) in our platform.
{% endhint %}

<figure><img src="/files/1Mx4E3r6x3Odti7pZqaw" alt=""><figcaption><p>Manage your Bot details.</p></figcaption></figure>

## Generative AI

Under Generative AI, you can turn on the generative AI features for your bot by using the toggle.&#x20;

These features are:

* [Expression generation](/navigation/natural-language-processing-nlp/expressions.md#generate-expressions) for your NLP.
* [Knowledge base AI](/navigation/knowledge-base-ai.md).
* [AI intent booster](/nlp/natural-language-processing-nlp/ai-intent-booster.md) for small bots with a limited number of intents.

<figure><img src="/files/MikrDf7kPkMZOaPvwzOP" alt=""><figcaption><p>Manage your Generative AI features.</p></figcaption></figure>

## Bot status

Click the status slider to temporarily disable the bot. The message configured under the **Bot disabled** block will be shown.&#x20;

<figure><img src="/files/kQxlTsFGrB27Wp0EJr8n" alt=""><figcaption><p>Enable/disable your bot.</p></figcaption></figure>

## Maximum message length

To avoid that messages that are too long are not understood, an authorized **Maximum message length** send by customers can be configured.&#x20;

To set up a Maximum message length:

1. Toggle on the feature toggle.
2. Define a maximum number of characters.
3. Define a block where the bot will **Go to** when a user sends a message above that number of characters.
4. Click **Save** at the top right corner of the screen.

{% hint style="info" %}
A nice fallback message in this case could be text like: *I am sorry, I work best with shorter messages. Could you please rephrase that?*&#x20;
{% endhint %}

<figure><img src="/files/WRX54nxbzi550xgfKiCn" alt=""><figcaption><p>Manage the Maximum message length.</p></figcaption></figure>

## Bot behaviour

The typing speed, or typing duration, is how fast the bot answers to the user. The higher the typing speed, the longer the user will see that the bot is typing before they receive an answer. The right typing speed can create a positive, more humanlike experience for the user.&#x20;

The default typing speed is 1500ms, but try out different speeds to see what is best for your bot.

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

## Language detection

You can use **Language detection** option to check if the user's language is supported by your bot.&#x20;

* If the user's language is supported, the user will be routed to the **Introduction** block.
* If the language is not supported by the bot, the user will be routed to a block of your choosing.

{% hint style="warning" %}
Language detection will only appear in your Settings if your bot is [multilingual](/nlp/languages/multilanguage-bots.md).
{% endhint %}

{% hint style="warning" %}
Whenever the user types an expression in a language other than the [`preferredLanguage`](/nlp/languages/change-language-within-the-conversation.md) activated, the bot will not automatically switch to that language. If the expression is in a language that the bot knows, the expression will be processed and the bot will answer in the original `preferredLanguage`.
{% endhint %}

<figure><img src="/files/I4W6Ahvy29ODCnFcoLY0" alt=""><figcaption><p>Enable language detection.</p></figcaption></figure>

## Danger zone (delete your bot)

This is where you can delete your bot.

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


---

# 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/settings/settings.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.
