{"id":2989,"date":"2025-10-28T10:34:05","date_gmt":"2025-10-28T10:34:05","guid":{"rendered":"https:\/\/woowbot.pro\/docs\/knowledgebase\/how-to-limit-queries-with-wpbot-chatbot-specially-with-ai-services\/"},"modified":"2025-10-31T12:23:56","modified_gmt":"2025-10-31T12:23:56","slug":"how-to-limit-queries-with-wpbot-chatbot-specially-with-ai-services","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/woowbot.pro\/docs\/knowledgebase\/how-to-limit-queries-with-wpbot-chatbot-specially-with-ai-services\/","title":{"rendered":"How to limit queries with WoowBot ChatBot? Specially with AI services?"},"content":{"rendered":"<p><strong>Here we go Step-by-Step settings:<\/strong><\/p>\n<p><strong>1. Go to <\/strong><strong>WordPress Dashboard \u2192 ChatBot Pro \u2192 AI Settings \u2192 GPT Rate Limit<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-3054 alignnone\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2025\/10\/limit-queries1-300x147.png\" alt=\"\" width=\"500\" height=\"245\" \/><\/p>\n<p><strong>You\u2019ll see a list like this:<\/strong><\/p>\n<ul>\n<li>Administrator<\/li>\n<li>Editor<\/li>\n<li>Author<\/li>\n<li>Contributor<\/li>\n<li>Subscriber<\/li>\n<li>Customer<\/li>\n<li>Shop Manager<\/li>\n<li>Live Chat User<\/li>\n<li>Operator<\/li>\n<li>Guest User<\/li>\n<\/ul>\n<p><strong>Each role has two controls:<\/strong><\/p>\n<ul>\n<li><strong>Rate Limit (number field)<\/strong> \u2192 how many requests the role can make<\/li>\n<li><strong> Timeframe (dropdown)<\/strong> \u2192 the period for that limit (e.g. 24 or 48 hours)<\/li>\n<\/ul>\n<p><strong>2. Enable Rate Limiting<\/strong><br \/>\nAt the top of the page, make sure <strong>Enable Rate Limiting is checked<\/strong>.<br \/>\nOtherwise, limits won\u2019t apply.<\/p>\n<p><strong>3. Set Role-Based Limits<\/strong><br \/>\nNow, define how many AI queries each user type can make. For example:<br \/>\nUser Role Rate Limit Timeframe<\/p>\n<div class=\"table_component\" role=\"region\">\n<table>\n<caption>\u00a0<\/caption>\n<thead>\n<tr>\n<th style=\"text-align: left;\"><b>User Role<\/b><\/th>\n<th style=\"text-align: left;\"><b>Rate Limit<\/b><\/th>\n<th style=\"text-align: left;\">Timeframe<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Administrator<\/td>\n<td>0 (Unlimited)<\/td>\n<td>48 Hours<\/td>\n<\/tr>\n<tr>\n<td>Editor<\/td>\n<td>100<\/td>\n<td>48 Hours<\/td>\n<\/tr>\n<tr>\n<td>Author<\/td>\n<td>50<\/td>\n<td>48 Hours<\/td>\n<\/tr>\n<tr>\n<td>Subscriber<\/td>\n<td>20<\/td>\n<td>48 Hours<\/td>\n<\/tr>\n<tr>\n<td>Customer<\/td>\n<td>15<\/td>\n<td>48 Hours<\/td>\n<\/tr>\n<tr>\n<td>Guest User<\/td>\n<td>10<\/td>\n<td>24 Hours<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>0 or leaving a field empty = <strong>unlimited requests<br \/>\n<\/strong><br \/>\n<strong>4. Save Settings<\/strong><br \/>\nScroll down and click <strong>Save Settings<\/strong> (bottom of the page).<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we go Step-by-Step settings: 1. Go to WordPress Dashboard \u2192 ChatBot Pro \u2192 AI Settings \u2192 GPT Rate Limit [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3238,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[30],"kbx_tag":[],"class_list":["post-2989","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","has-post-thumbnail","hentry","kbx_category-woowbot-interactions-2"],"_links":{"self":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/comments?post=2989"}],"version-history":[{"count":2,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2989\/revisions"}],"predecessor-version":[{"id":3118,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2989\/revisions\/3118"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/media\/3238"}],"wp:attachment":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/media?parent=2989"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_category?post=2989"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_tag?post=2989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}