---
description: >-
  This is a guide on how you can set a Quota limits for various aspects of your
  chat-bot and user.
---

# Quota Limits

## Chat-Bot

<details>

<summary>Message Limit</summary>

This feature allows you to limit the message consumption of your chatbot, preventing over-consumption.

Login to your dashboard -> go to the overview page of the your bot -> then go to settings.

There you will see a section "**Quota Limits**" as shown below.

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FuuudXO5GzjobjZPOMJkf%2FScreenshot%20from%202024-01-17%2011-38-53.png?alt=media&#x26;token=76d7a8d4-14d0-4cc0-83c3-b8224007519c" alt="" data-size="original">

Click on the "**Enable**" switch to activate the setting.

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FqNgDIrZklLahuwueknkM%2FScreenshot%20from%202024-01-17%2011-40-30.png?alt=media&#x26;token=42d40964-3539-4504-963b-0ffdb5fdd951" alt="" data-size="original">

You can now manually input the message quota you want your bot to have, or you can also use the "**arrow**" buttons in the input box.

After this click on "**Update**". You will now clearly be able to see the "**Allotted**", "**Used**" & "**Available**" quota, these show the total allotted quota, used quota and remaining quota respectively.&#x20;

_**Note :**&#x20;_&#x20;

* _The <mark style="color:green;">Available</mark> quota <mark style="color:red;">does not</mark> take into account the number of messages available in the your total quota. This is show separately in a prompt below the input box._

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FxGhZJd01mTG5dteI8Zwp%2FScreenshot%20from%202024-01-17%2011-47-01.png?alt=media&#x26;token=0922d2f7-bc10-4c40-9771-b788b4034d89" alt="" data-size="original">

* _If your_ [_openAi_](bring-your-openai-key-byok) _key is "**enabled**", you will see the remaining messages in the prompt as "**unlimited**"._



If you want to reset the amount of messages consumed by your bot you can simply click on "**Reset Used Messages**".

If you want to disable the limits at a later stage, simply turn the "**Enable**" switch off then, click on "**Update**" as shown below.

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fkv5At0s7ViXp3ZAzPupX%2FScreenshot%20from%202024-01-17%2011-55-34.png?alt=media&#x26;token=baa83e2f-9db9-4ce9-9594-ae3c8ea40066" alt="" data-size="original">

_**Note :** Please make a note to check the <mark style="color:red;">Used</mark> messages and the <mark style="color:green;">Available</mark> messages of your bot from time to time, and resetting/updating it. Your bot will become inactive once it hits the limits set by you._



That's it! you can now limit the max amount of messages your bot can send.

</details>
