If you have a multi-Agent chatbot setup, GPT Chatbot uses an AI Supervisor to automatically
determine which user-facing Agent is best suited for handling the most recent input query.
However, there may be times when you want more “deterministic” control over which Agent handles
the job.In this article, we demonstrate how you can use AI Supervisor Overrides to set up logic conditions
that, when satisfied, directly switches to a designated Agent.In the AI Agents tab, you will see a button that expands “AI Supervisor Settings” drawer:
After you open it, in the “Rules” tab, you will be able to specify conditional rules that get
evaluated every time the user inputs a query into your chatbot. These conditions, if satisfied,
will bypass the AI Supervisor’s own judgment and force a designated Agent to handle the current
input query.To add a new rule, click the “Create new rule” button. To edit rules, go to the three-dot-menu
on the top right of the rule, then select “Edit” in the dropdown.
Please note that you may need to scroll down on the dropdown menu to see additional options when
you are building the rule.
After you are satisfied with the rules, make sure to “Connect” them so they become active. Rules
are placed in an evaluation queue. This means that as soon as a rule evaluates to TRUE, all
subsequent rule evaluations will be skipped and that rule will be immediately executed.
A good example of AI Supervisor Override in action is the “delayed lead collection” setup. Consider
the use case where you want to build a chatbot that handles general FAQ, but you want to start collecting
user information after 2-3 questions. Furthermore, you want to make it so that if the user insists on
not providing their information, your chatbot will continue serving them as an anonymous entity rather
than completely deny further meaningful interactions.First, you need a regular “Lead Collection” setup described in our Lead Collection article. Once you
are finished, continue below.At this point, you should have two user-facing Agents set up:
Then, open AI Supervisor Settings. Click “Create new rule”. In the three-dot-menu on the top right corner,
select “Edit”. You will enter edit mode for the rule. For our use case, we set the following conditions:
This means that as soon as the “total # of user input queries” equals exactly 3, the AI Supervisor will set
the Agent to be Lead Collection. Click “Save”.Next, add another rule. This time, we apply the following conditions:
If the current Agent is Lead Collection,
AND, if the number of queries consecutively handled by the current active Agent is fewer than 4…
AND, if any of the user’s information (name, email, phone) is not specified…
THEN stay on the Lead Collection Agent.
This means that the Lead Collection Agent will continue to request user information until either it has conversed
with the user at least 4 times or it has successfully collected all the requested information.While you are in edit mode, click “Add Rule” to add a new condition for evaluation. At step 2 above, your rule
setup should look like this:
Step 3 requires a “group” evaluation where the conditions are defined as:
If Variable “user_name” is not specified…
OR, if Variable “user_ email” is not specified…
OR, if Variable “user_phone” is not specified…
Then evaluate to TRUE
So we set up the following “Group”:
Then within the group, click “Add Rule” and set up the appropriate conditional statements:
Finally, as in step 4, make sure that the “Lead Collection” Agent is assigned when the rule is executed:
Connect your rules via the same three-dot-menu option “Connect”. If successful, they should display a green
“Active” status:
Now, we can go to “Preview” and test the chatbot under this new set of AI Supervisor Overrides. You should notice
the correct behavior being applied. In debug view, you should see an “override” tag next to Active Agent if an override
rule is enforced.
You can design many complex workflows using AI Supervisor Overrides. However, this is an advanced feature that directly
controls how the AI Supervisor behaves. We highly recommend that you test your configuration thoroughly before deploying
it if you wish to make use of this feature.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"GPT Chatbot API","colors":{"primary":"#2E3F51","light":"#516F90","dark":"#0D001D"},"favicon":"https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/logo/favicon.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=6887bcfb8c0877734cb5c8e2ba023c6b","logo":{"light":"https://mintcdn.com/gptchatbot/RpxSGx9HJ26aMoIb/logo/light.svg?fit=max\u0026auto=format\u0026n=RpxSGx9HJ26aMoIb\u0026q=85\u0026s=7a58afc2a4b648ed6b3344690bbc012d","dark":"https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/logo/dark.svg?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=18c489c900d7070d713b4e7232227076"},"api":{"mdx":{"server":"https://app.gptchatbot.it/api","auth":{"method":"bearer","name":null}}},"background":{"decoration":null,"color":{"light":null,"dark":"#111827"}},"navbar":{"links":[{"label":"Support","href":"mailto:info@gptchatbot.it"}],"primary":null},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gptchatbot","hasAudioNarration":false,"actualSubdomain":"gptchatbot","customDomains":["docs.gptchatbot.it"],"gitSource":{"type":"github","owner":"federicodecillia","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a48af477c1f63e9b6f5a207","collectionId":"1d2bddc6-a57f-459a-bc5c-e13adf6914a7","schemaVersion":"v3"},"entitlements":{},"buildId":"6a48b0974fc0d1ab7935e1d6:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API References","count":39},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Data Sources","count":9},{"language":"default","tag":"Chatbots","count":6},{"language":"default","tag":"Session Messages","count":6},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Chatbot Sessions","count":5},{"language":"default","tag":"API Usage Guides","count":4},{"language":"default","tag":"Data Source Tags","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"supervisor-overrides","slug":"/supervisor-overrides","pageMetadata":{"title":"AI Supervisor Overrides","description":null,"href":"/supervisor-overrides"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Note,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If you have a multi-Agent chatbot setup, GPT Chatbot uses an AI Supervisor to automatically\ndetermine which user-facing Agent is best suited for handling the most recent input query.\nHowever, there may be times when you want more “deterministic” control over which Agent handles\nthe job.`}),`\n`,_jsx(_components.p,{children:`In this article, we demonstrate how you can use AI Supervisor Overrides to set up logic conditions\nthat, when satisfied, directly switches to a designated Agent.`}),`\n`,_jsx(_components.p,{children:`In the AI Agents tab, you will see a button that expands “AI Supervisor Settings” drawer:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=b7b0f63989280e16eaf7ceef75f2ace0`,\"data-og-width\":`1474`,width:`1474`,\"data-og-height\":`1020`,height:`1020`,\"data-path\":`images/supervisor-overrides-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=f2c29612483ccea81a6b4d5bdaaae4cf 280w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=fb1c5b0c7f2cf2f9196e55a17a8c6992 560w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=1d3049d35fe029001e56c4c12c51f829 840w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=8c6fee5fefebbbbd2cf9890527d92617 1100w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=06c27917f81002a76c6b36fb1ee27654 1650w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=dbb3e310c922cae075f012e7736f2ae3 2500w`})}),`\n`,_jsx(_components.p,{children:`After you open it, in the “Rules” tab, you will be able to specify conditional rules that get\nevaluated every time the user inputs a query into your chatbot. These conditions, if satisfied,\nwill bypass the AI Supervisor’s own judgment and force a designated Agent to handle the current\ninput query.`}),`\n`,_jsx(_components.p,{children:`To add a new rule, click the “Create new rule” button. To edit rules, go to the three-dot-menu\non the top right of the rule, then select “Edit” in the dropdown.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Please note that you may need to scroll down on the dropdown menu to see additional options when\nyou are building the rule.`})}),`\n`,_jsxs(_components.p,{children:[`After you are satisfied with the rules, make sure to “Connect” them so they become active. Rules\nare placed in an evaluation queue. This means that as soon as a rule evaluates to `,_jsx(_components.strong,{children:`TRUE`}),`, all\nsubsequent rule evaluations will be skipped and that rule will be immediately executed.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=14505ab46f3c96ce4ef06037195b551d`,\"data-og-width\":`781`,width:`781`,\"data-og-height\":`561`,height:`561`,\"data-path\":`images/supervisor-overrides-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=4f928daee267e5ff6457946a335fc664 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=e5ef375537493ca1814658fccfdf6641 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=ac80f28e8075a86c138e7e77280c07f1 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=5b6b94845172f57f71f9cc16706f7b93 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=fd3049b30a9b6453d72a828ea3c97e3b 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=0a7fb899bc21d591467e01778c49d004 2500w`})}),`\n`,_jsx(_components.p,{children:`A good example of AI Supervisor Override in action is the “delayed lead collection” setup. Consider\nthe use case where you want to build a chatbot that handles general FAQ, but you want to start collecting\nuser information after 2-3 questions. Furthermore, you want to make it so that if the user insists on\nnot providing their information, your chatbot will continue serving them as an anonymous entity rather\nthan completely deny further meaningful interactions.`}),`\n`,_jsxs(_components.p,{children:[`First, you need a regular “Lead Collection” setup described in our `,_jsx(_components.a,{href:`/lead-collection`,children:`Lead Collection`}),` article. Once you\nare finished, continue below.`]}),`\n`,_jsx(_components.p,{children:`At this point, you should have two user-facing Agents set up:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=523f5c0defd643ac4361384e092febb3`,\"data-og-width\":`1060`,width:`1060`,\"data-og-height\":`592`,height:`592`,\"data-path\":`images/supervisor-overrides-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=1c3d48183f5e87609e2a914d1ee23864 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=7fdc9584ee1dddf41505d04cb29f7dad 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=b4b8927162e88cc0610286a0dd6bc04e 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=7f26c7d6682786a4d511a9ec5275d249 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=4da496612c5da01ce96cf5f1a0743407 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=b7dfb93f137328eda6005b1d8f82bbb5 2500w`})}),`\n`,_jsx(_components.p,{children:`Then, open AI Supervisor Settings. Click “Create new rule”. In the three-dot-menu on the top right corner,\nselect “Edit”. You will enter edit mode for the rule. For our use case, we set the following conditions:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=bb07a319e95632aafc525dde4e44c1fc`,\"data-og-width\":`781`,width:`781`,\"data-og-height\":`259`,height:`259`,\"data-path\":`images/supervisor-overrides-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=6e6e362dcca3607746d615f681e8f54e 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=94dad1f3693d7fb8c14d9d91cd1cc37f 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=fc6aafe8731446f24da7ab15c90aeb91 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=ae85baef9683d95c46abd6da2312a760 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=2c893bd763f5467b16177e8e5b1e8e8b 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=f60781a3c0c1d5843a6c3fc468bf0c82 2500w`})}),`\n`,_jsx(_components.p,{children:`This means that as soon as the “total # of user input queries” equals exactly 3, the AI Supervisor will set\nthe Agent to be Lead Collection. Click “Save”.`}),`\n`,_jsx(_components.p,{children:`Next, add another rule. This time, we apply the following conditions:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`If the current Agent is Lead Collection,`}),`\n`,_jsx(_components.li,{children:`AND, if the number of queries consecutively handled by the current active Agent is fewer than 4…`}),`\n`,_jsx(_components.li,{children:`AND, if any of the user’s information (name, email, phone) is not specified…`}),`\n`,_jsx(_components.li,{children:`THEN stay on the Lead Collection Agent.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This means that the Lead Collection Agent will continue to request user information until either it has conversed\nwith the user at least 4 times or it has successfully collected all the requested information.`}),`\n`,_jsx(_components.p,{children:`While you are in edit mode, click “Add Rule” to add a new condition for evaluation. At step 2 above, your rule\nsetup should look like this:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=6c8141a26176315574d571bb18fac2a9`,\"data-og-width\":`762`,width:`762`,\"data-og-height\":`329`,height:`329`,\"data-path\":`images/supervisor-overrides-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=2955e04abfce5869f387d5527f9d3d0d 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=78b1e54bce3f5b3a1d0464e8e79c3ec7 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=1485a46765c58aeebdab9fe7b157da81 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=565e2c439fb463796c5217c724fe8fa7 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=8e653994bc257562bf2c551c861d1e00 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=bc60d96d8b994eb268fb9db2d2e1406f 2500w`})}),`\n`,_jsx(_components.p,{children:`Step 3 requires a “group” evaluation where the conditions are defined as:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If Variable “user_name” is not specified…`}),`\n`,_jsx(_components.li,{children:`OR, if Variable “user_ email” is not specified…`}),`\n`,_jsx(_components.li,{children:`OR, if Variable “user_phone” is not specified…`}),`\n`,_jsx(_components.li,{children:`Then evaluate to TRUE`}),`\n`]}),`\n`,_jsx(_components.p,{children:`So we set up the following “Group”:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=e943753700209aef60b63cdaff8e3757`,\"data-og-width\":`750`,width:`750`,\"data-og-height\":`409`,height:`409`,\"data-path\":`images/supervisor-overrides-7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=5dcb0c1fff15bc8a64b85280ea2e1564 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=0a766717bffb11e647d1b0402fd57ebd 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=edf43bcdea4d9eb5f22acd92138d13e9 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=5348c57107c4f594225325965b2f6d60 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=c082eaf9d3a7bae1e2f8e2d53f9b8270 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=b9da5579ef6ff272ac3f6979eb10d818 2500w`})}),`\n`,_jsx(_components.p,{children:`Then within the group, click “Add Rule” and set up the appropriate conditional statements:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=28276fa3b8182b569336fe1935612af5`,\"data-og-width\":`750`,width:`750`,\"data-og-height\":`668`,height:`668`,\"data-path\":`images/supervisor-overrides-8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=ee5a686277362f0797cb5891ca36784a 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=0581fed2ecec87db89901819ba569b60 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=3889d91ecb7aaac5414438d8a5cd059c 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=ebc7ffea4eae8350a6aec66bf236fdad 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=71c5bf7482a69eeb27b13874c75fe280 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=4b09f8d194540027f661d693e397bfc9 2500w`})}),`\n`,_jsx(_components.p,{children:`Finally, as in step 4, make sure that the “Lead Collection” Agent is assigned when the rule is executed:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=ac80170dd0aa801a05c0b006a2882c37`,\"data-og-width\":`750`,width:`750`,\"data-og-height\":`665`,height:`665`,\"data-path\":`images/supervisor-overrides-9.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=280\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=b43292a57e476e61b1022f21f963a094 280w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=560\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=802c04006eb5af6e6f88343126386e58 560w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=840\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=eb9fbaa3f45cc4380445185c6f131c72 840w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=1100\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=813e4e22d4590fa0932eafa6c36c6b33 1100w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=1650\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=482abadd94ed462f492012500ead54fc 1650w, https://mintcdn.com/gptchatbot/et1nlYck1QOJbxxd/images/supervisor-overrides-9.png?w=2500\u0026fit=max\u0026auto=format\u0026n=et1nlYck1QOJbxxd\u0026q=85\u0026s=b86770f6a83ca0b391001c115039cdc2 2500w`})}),`\n`,_jsx(_components.p,{children:`Connect your rules via the same three-dot-menu option “Connect”. If successful, they should display a green\n“Active” status:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=51fad0ee893c553b5a90dfbb4527fbe9`,\"data-og-width\":`749`,width:`749`,\"data-og-height\":`510`,height:`510`,\"data-path\":`images/supervisor-overrides-10.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=280\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=89b5d86c0848418e1aa63cfb2c268838 280w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=560\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=a85834b9d8da572a8e33ddc7865a6673 560w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=840\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=36a708ee85de12ac9c7077dc432131ab 840w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=6abcdf5c8091ffef4abc100aa8b58b83 1100w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=35500ad36ffe63588c11bba4cd4f580a 1650w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-10.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=e14d08a145ee941b0253edc737f1b20c 2500w`})}),`\n`,_jsx(_components.p,{children:`Now, we can go to “Preview” and test the chatbot under this new set of AI Supervisor Overrides. You should notice\nthe correct behavior being applied. In debug view, you should see an “override” tag next to Active Agent if an override\nrule is enforced.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=6ec9d15fe5cdc7ad4d3611b401c88a50`,\"data-og-width\":`1365`,width:`1365`,\"data-og-height\":`885`,height:`885`,\"data-path\":`images/supervisor-overrides-11.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=280\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=d45a66d9c9aabc840f5aeedb1f8a6140 280w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=560\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=e7c81197baf5db5d0be63361c16785c0 560w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=840\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=078e54fae9a4ef50d09fabdb7b0c00ce 840w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=d7fe7618dd253a65918d1b32ab6abd80 1100w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=80d45fd1dffc7c8d724c9e2be9b78c72 1650w, https://mintcdn.com/gptchatbot/8xjA4smDDdX6mwcs/images/supervisor-overrides-11.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8xjA4smDDdX6mwcs\u0026q=85\u0026s=d7e003e02e2a1828d38994bbf5864ef1 2500w`})}),`\n`,_jsx(_components.p,{children:`You can design many complex workflows using AI Supervisor Overrides. However, this is an advanced feature that directly\ncontrols how the AI Supervisor behaves. We highly recommend that you test your configuration thoroughly before deploying\nit if you wish to make use of this feature.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"AI Supervisor Overrides","description":null,"href":"/supervisor-overrides"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"gptchatbot","siteName":"GPT Chatbot API","title":"AI Supervisor Overrides - GPT Chatbot API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-04T06:59:33.125Z","originalFileLocation":"supervisor-overrides.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"GPT Chatbot API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AI Supervisor Overrides - GPT Chatbot API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GPT Chatbot API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gptchatbot.it/supervisor-overrides\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gptchatbot.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=AI+Supervisor+Overrides\u0026amp;theme=20e021f1004a9f9f06bad9ba\u0026amp;signature=4082f96de67bedfdfa87dd56f36dced5fc9727f4c5286f400b2c210fa628f326\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"AI Supervisor Overrides - GPT Chatbot API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gptchatbot.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=AI+Supervisor+Overrides\u0026amp;theme=20e021f1004a9f9f06bad9ba\u0026amp;signature=4082f96de67bedfdfa87dd56f36dced5fc9727f4c5286f400b2c210fa628f326\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gptchatbot/IDKThlX0BZP96Vwt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GPT Chatbot API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E3F51\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gptchatbot.it/supervisor-overrides\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/supervisor-overrides.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gptchatbot.it/#organization\",\"name\":\"GPT Chatbot API\",\"url\":\"https://docs.gptchatbot.it\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gptchatbot/RpxSGx9HJ26aMoIb/logo/light.svg?fit=max\u0026auto=format\u0026n=RpxSGx9HJ26aMoIb\u0026q=85\u0026s=7a58afc2a4b648ed6b3344690bbc012d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gptchatbot.it#website\",\"name\":\"GPT Chatbot API\",\"url\":\"https://docs.gptchatbot.it\",\"publisher\":{\"@id\":\"https://docs.gptchatbot.it/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gptchatbot.it/supervisor-overrides#webpage\",\"url\":\"https://docs.gptchatbot.it/supervisor-overrides\",\"name\":\"AI Supervisor Overrides\",\"dateModified\":\"2026-07-04T06:59:33.125Z\",\"isPartOf\":{\"@id\":\"https://docs.gptchatbot.it#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gptchatbot.it/supervisor-overrides#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gptchatbot.it/supervisor-overrides#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.gptchatbot.it/creating-first-chatbot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI Supervisor Overrides\",\"item\":\"https://docs.gptchatbot.it/supervisor-overrides\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gptchatbot.it/supervisor-overrides#article\",\"headline\":\"AI Supervisor Overrides\",\"name\":\"AI Supervisor Overrides\",\"url\":\"https://docs.gptchatbot.it/supervisor-overrides\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gptchatbot.it/supervisor-overrides#webpage\"},\"dateModified\":\"2026-07-04T06:59:33.125Z\",\"publisher\":{\"@id\":\"https://docs.gptchatbot.it/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gptchatbot.it#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GPT Chatbot API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GPT Chatbot API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"Guides","pages":[{"title":"Create Your First Chatbot","href":"/creating-first-chatbot"},{"title":"Lead Collection","href":"/lead-collection"},{"title":"Human Support Escalation","href":"/human-support-escalation"},{"title":"Inbox Notifications","href":"/inbox-notifications"},{"title":"Conversation Labeling","href":"/conversation-labeling"},{"title":"Multi-Agents Chatbot","href":"/multi-agents-chatbot"},{"title":"Fine Tuning Agent Intents","description":null,"href":"/fine-tuning-agent-intents"},{"title":"AI Supervisor Overrides","href":"/supervisor-overrides"},{"title":"Bring Your Own Key (BYOK) and Pricing","description":null,"href":"/byok-pricing-guide"},{"title":"Working with Tables and CSV","href":"/working-with-tables"},{"title":"Best practices for preparing training data","href":"/best-practices"},{"title":"Why does my chatbot not answer correctly?","href":"/help"}]},{"group":"Function Calling","pages":[{"title":"RAG from an External Data Provider","href":"/rag-from-external-data-provider"}]},{"group":"Authentication Webhook","pages":[{"title":"User Identity Verification","href":"/user-identity"}]}]},{"anchor":"API References","icon":"code","pages":[{"title":"API References","href":"/api-reference/api-key-setup"}]},{"anchor":"Tools","icon":"gear","pages":[{"title":"Tools","href":"/tools/tools-intro"}]}]},"basePath":"","title":"AI Supervisor Overrides - GPT Chatbot API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}