To create a simple Frustration Detection Agent, head to the “AI Agents” tab. You can find the template for
a Frustration Detection Agent when you click on “Create new Agent”.
After you create the new Agent, go into its edit screen by clicking on it. Frustration Detection Agent is a background Agent.
It is always run in parallel to the user-facing Agent currently handling the user’s input query.
To learn more about background Agents, please see Background Agents.
Scroll down to review the base prompt. You can modify it based on what type of behavior
you would like the Agent to monitor for. You can also set the LLM that the background Agent
should use when analyzing the user’s behavior. For a good balance between cost and performance, we recommend GPT-4-1106-1kClick “Save changes” after you are done.Next, go to the “Variables / Tags” tab. Notice that the template already defines a number of tags for you.
You can configure the settings for each tag by clicking on the pencil icon to the right of each card.
When you are adding / editing tags, you will be asked to specify the tag Name, Color, as well as
Criteria for assignment. Be concise and explicit in your definition. Keep in mind that these criteria
are evaluated against the user’s most recent conversation history.
Please note that tags are fixed once they have been assigned to conversations. Updating tags will only
apply changes to NEW conversations, not older ones. Older conversations will still have the previous version
of your tags before you made those updates.Click “Save changes” and close the Agent edit dialog. Return to the Agent selection view.
You can now “Connect” your new Frustration Detection Agent. On the top right of the Agent card,
open the “three dot” dropdown menu, then select “Connect”.
Go to the “Preview” tab. You can now test your new chatbot, now equipped with Frustration Detection capabilities!To review the data you collected, open the “Debug mode” while you are still in Preview.
You can also head to the “Inbox” tab, find the test conversation session, then open “Debug view”.
You can export the data you collected within a conversation by going to the “Inbox” tab, selecting the conversation session of
interest, then clicking the “Export” button. In the subsequent dropdown, select “Chat History”.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"GPT-trainer API","colors":{"primary":"#2E3F51","light":"#516F90","dark":"#0D001D"},"favicon":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/favicon.png?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=d04dff53c81245c4d48f0301bad6209f","logo":{"light":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/light.svg?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=e282ced1ff19648529968cefe4eb3deb","dark":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/dark.svg?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=bee6ec229dfdcd8e2a9654329a38a3c6"},"api":{"mdx":{"server":"https://app.gpt-trainer.com/api","auth":{"method":"bearer","name":null}}},"background":{"decoration":null,"color":{"light":null,"dark":"#111827"}},"navbar":{"links":[{"label":"Support","href":"mailto:hello@gpt-trainer.com"}],"primary":null},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"paladinmaxinc","hasAudioNarration":false,"actualSubdomain":"paladinmaxinc","customDomains":["guide.gpt-trainer.com"],"gitSource":{"type":"github","owner":"ks-collab","repo":"gpt-trainer-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61733a4518725aab1a4","collectionId":"176b19f7-2d23-4aaa-b976-d711aa6932e6","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e61733a4518725aab1a4:success","clientVersion":"0.0.4043","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":"Whitelabel","count":6},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Chatbot Sessions","count":5},{"language":"default","tag":"Integrations","count":5}]},"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"frustration-detection","slug":"/frustration-detection","pageMetadata":{"title":"Frustration Detection","description":null,"href":"/frustration-detection"},"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`,p:`p`,..._provideComponents(),...props.components},{Frame,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`To create a simple Frustration Detection Agent, head to the “AI Agents” tab. You can find the template for\na Frustration Detection Agent when you click on “Create new Agent”.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=a3b69bb5f9e7ef4adeb1ebb81660ed2d`,\"data-og-width\":`3880`,width:`3880`,\"data-og-height\":`2052`,height:`2052`,\"data-path\":`images/frustration-detection-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=196dac9688e35b0c6e24d69871a8b464 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=ec0304a7e8cf23400f9b9e0393f667ff 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=63615c0241d2c0ebc65aa5802713aeb0 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=385757228a6543eeb171a7e8841b30b8 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=57477575cba57fe441f0e90c9eff027e 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=8e67bb7057ada18c26fa1e4320d7dac9 2500w`})}),`\n`,_jsxs(_components.p,{children:[`After you create the new Agent, go into its edit screen by clicking on it. Frustration Detection Agent is a background Agent.\nIt is always run in parallel to the user-facing Agent currently handling the user’s input query.\nTo learn more about background Agents, please see `,_jsx(_components.a,{href:`/background-agents`,children:`Background Agents`}),`.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=20eebde0163620e1e717d0f80d801272`,\"data-og-width\":`3878`,width:`3878`,\"data-og-height\":`2042`,height:`2042`,\"data-path\":`images/frustration-detection-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=32cfc06a59b8893ea2641cf27a76acf8 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=0daac1647a43efd3109265b51b60f310 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=0abee2dcb747d97b32bb4004e4435209 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=e2c60a5db7a01731ffd19cf519469190 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=214a9bf6f9c77bb664fb128ba7b6661c 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=8e743382fbfb726ada2fa650147d8d38 2500w`})}),`\n`,_jsx(_components.p,{children:`Scroll down to review the base prompt. You can modify it based on what type of behavior\nyou would like the Agent to monitor for. You can also set the LLM that the background Agent\nshould use when analyzing the user’s behavior. For a good balance between cost and performance, we recommend GPT-4-1106-1k`}),`\n`,_jsx(_components.p,{children:`Click “Save changes” after you are done.`}),`\n`,_jsx(_components.p,{children:`Next, go to the “Variables / Tags” tab. Notice that the template already defines a number of tags for you.\nYou can configure the settings for each tag by clicking on the pencil icon to the right of each card.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=100e16a5470d312200187ca943c3ee16`,\"data-og-width\":`3872`,width:`3872`,\"data-og-height\":`2042`,height:`2042`,\"data-path\":`images/frustration-detection-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=9f64505834b343b179ee5dd0ec3fb191 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=be4033daac3c3e39d01f5d8025c6ca27 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=9eb2f98c377d3c3c10596fb279e3120f 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=b541451ed106423f797f68ea248aa3bb 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=338bef88903a4baab64d06f3f89bb215 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=804d2e21c84845b11472de75b315e753 2500w`})}),`\n`,_jsx(_components.p,{children:`When you are adding / editing tags, you will be asked to specify the tag Name, Color, as well as\nCriteria for assignment. Be concise and explicit in your definition. Keep in mind that these criteria\nare evaluated against the user’s most recent conversation history.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=eb1ecbab6663eac9f7167315a24613bc`,\"data-og-width\":`3866`,width:`3866`,\"data-og-height\":`2054`,height:`2054`,\"data-path\":`images/frustration-detection-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=3db5ebd33c58821bb1825cec81a97109 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=cbb501eb7fe9e14e5968bfa609001523 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=146bf128f6140e28af4ca231abb43019 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=c295af5ae06a3f395fb7dce173c13387 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=1a5fd470b369178c1740104835f86480 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=84fdb2f9686a80d7ffdf720e58063768 2500w`})}),`\n`,_jsx(_components.p,{children:`Please note that tags are fixed once they have been assigned to conversations. Updating tags will only\napply changes to NEW conversations, not older ones. Older conversations will still have the previous version\nof your tags before you made those updates.`}),`\n`,_jsx(_components.p,{children:`Click “Save changes” and close the Agent edit dialog. Return to the Agent selection view.\nYou can now “Connect” your new Frustration Detection Agent. On the top right of the Agent card,\nopen the “three dot” dropdown menu, then select “Connect”.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=8de30192b771758e20f89c5cd99be410`,\"data-og-width\":`3860`,width:`3860`,\"data-og-height\":`2054`,height:`2054`,\"data-path\":`images/frustration-detection-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=71c980d462436eb88b4b244dcfa1d483 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=058d0bd46aa95224297fb52f17e2f7a5 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=9e1def0cd127dfee65da84b9e4c2c4a9 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=33c2221f2aad9749ca4e195b00eac209 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=53fde0103bd932a49f0eaa20e5ce080d 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=aff7851af8bef0a5d20ef310581b6824 2500w`})}),`\n`,_jsx(_components.p,{children:`Go to the “Preview” tab. You can now test your new chatbot, now equipped with Frustration Detection capabilities!`}),`\n`,_jsx(_components.p,{children:`To review the data you collected, open the “Debug mode” while you are still in Preview.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=83283be2250af529d23f369ee9f59182`,\"data-og-width\":`3874`,width:`3874`,\"data-og-height\":`2044`,height:`2044`,\"data-path\":`images/frustration-detection-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=df5b82a3696dc97557ba3c83ad5ac5f5 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=1c21f02430256156983092bb1c4d37e4 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=a9ab93c464b7066ee7542c0acda9b0e7 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=9efbb699d9d4604bc59907e309e0a080 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=809235c8a898003f841a88e493ba573f 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=3f97459f54214415f925f43005eeea0a 2500w`})}),`\n`,_jsx(_components.p,{children:`You can also head to the “Inbox” tab, find the test conversation session, then open “Debug view”.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=80b195baf32b8251baa70553cb38b8be`,\"data-og-width\":`3866`,width:`3866`,\"data-og-height\":`2028`,height:`2028`,\"data-path\":`images/frustration-detection-7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=810755b8a1ef5a56acc0bf87dd8783b1 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=ce6d306bdf2daa9f208aa99caaded7b7 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=2e01ce4565c6295ac0c7835a16f27e6f 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=e9b37a56e50e3b642d9cd87f03e6c2f3 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=1ac6c6c1083cb782987987a75c61c777 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=da854cb20d65265bb7ddfb6304089c5e 2500w`})}),`\n`,_jsx(_components.p,{children:`You can export the data you collected within a conversation by going to the “Inbox” tab, selecting the conversation session of\ninterest, then clicking the “Export” button. In the subsequent dropdown, select “Chat History”.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=880fa8b7b5baac6cf34a3deb525c4f67`,\"data-og-width\":`3872`,width:`3872`,\"data-og-height\":`2040`,height:`2040`,\"data-path\":`images/frustration-detection-8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=280\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=39bb282c233582de67036a70ce358982 280w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=560\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=61d48edf3f8995746f8f12b2b89ef64e 560w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=840\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=6fecf45195d8a1238a9af5d028a163e3 840w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=ef3018663511a9fb4fb1923b2fd69ad8 1100w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=1f213c0b374834a3b4e2a39e76f9bd66 1650w, https://mintcdn.com/paladinmaxinc/tQCiy4MU0bDLlaM5/images/frustration-detection-8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=tQCiy4MU0bDLlaM5\u0026q=85\u0026s=8b18292db6fdb514e91e61c9cecc8f1f 2500w`})})]})}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":"Frustration Detection","description":null,"href":"/frustration-detection"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"paladinmaxinc","siteName":"GPT-trainer API","title":"Frustration Detection - GPT-trainer API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:48:27.067Z","originalFileLocation":"frustration-detection.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-trainer 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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Frustration Detection - GPT-trainer API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GPT-trainer API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://guide.gpt-trainer.com/frustration-detection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://paladinmaxinc.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Frustration+Detection\u0026amp;theme=d354e6b8b2605c4dee81eb93\u0026amp;signature=fe370f13c51f0291dfa7c38d7762e7f678f624509c0d5513a9e47e6e7e543086\">\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=\"Frustration Detection - GPT-trainer API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://paladinmaxinc.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Frustration+Detection\u0026amp;theme=d354e6b8b2605c4dee81eb93\u0026amp;signature=fe370f13c51f0291dfa7c38d7762e7f678f624509c0d5513a9e47e6e7e543086\">\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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GPT-trainer API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E3F51\">\u003clink data-mint-head rel=\"canonical\" href=\"https://guide.gpt-trainer.com/frustration-detection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/frustration-detection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GPT-trainer API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GPT-trainer 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","href":"/fine-tuning-agent-intents"},{"title":"AI Supervisor Overrides","href":"/supervisor-overrides"},{"title":"Bring Your Own Key (BYOK) and Pricing","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","groups":[{"group":"API Usage Guides","pages":[{"title":"Getting a GPT-trainer API Key","href":"/api-reference/api-key-setup"},{"title":"Create Chatbot","href":"/api-reference/guide-00-chatbot-create"},{"title":"Chat with Chatbot","href":"/api-reference/guide-01-chat"},{"title":"Uploading Data Sources","href":"/api-reference/guide-02-source"}]},{"group":"Chatbots","pages":[{"title":"Chatbot Properties","href":"/api-reference/chatbots/properties-reference"},{"title":"Create Chatbot","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/create","href":"/api-reference/chatbots/create"},{"title":"Update Chatbot","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/update","href":"/api-reference/chatbots/update"},{"title":"Fetch a Chatbot","api":"GET https://app.gpt-trainer.com/api/v1/chatbot/{uuid}","href":"/api-reference/chatbots/fetch"},{"title":"Fetch All Chatbots","api":"GET https://app.gpt-trainer.com/api/v1/chatbots","href":"/api-reference/chatbots/fetch_multi"},{"title":"Delete Chatbot","api":"DELETE https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/delete","href":"/api-reference/chatbots/delete"}]},{"group":"Agents","pages":[{"title":"Agent Properties","href":"/api-reference/agents/properties-reference"},{"title":"Create Agent","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/\u003cuuid>/agent/create","href":"/api-reference/agents/create"},{"title":"Update Agent","api":"POST https://app.gpt-trainer.com/api/v1/agent/{uuid}/update","href":"/api-reference/agents/update"},{"title":"Fetch All Agents","api":"GET https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/agents","href":"/api-reference/agents/fetch_multi"},{"title":"Delete Agent","api":"DELETE https://app.gpt-trainer.com/api/v1/agent/{uuid}/delete","href":"/api-reference/agents/delete"}]},{"group":"Chatbot Sessions","pages":[{"title":"Session Properties","href":"/api-reference/sessions/properties-reference"},{"title":"Create Session","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/session/create","href":"/api-reference/sessions/create"},{"title":"Fetch a Session","api":"GET https://app.gpt-trainer.com/api/v1/session/{uuid}","href":"/api-reference/sessions/fetch"},{"title":"Fetch All Sessions","api":"GET https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/sessions","href":"/api-reference/sessions/fetch_multi"},{"title":"Delete Session","api":"POST https://app.gpt-trainer.com/api/v1/session/{uuid}/delete","href":"/api-reference/sessions/delete"}]},{"group":"Session Messages","pages":[{"title":"Message Properties","href":"/api-reference/messages/properties-reference"},{"title":"Create Message","api":"POST https://app.gpt-trainer.com/api/v1/session/{uuid}/message/stream","href":"/api-reference/messages/create"},{"title":"Fetch All Messages","api":"GET https://app.gpt-trainer.com/api/v1/session/{uuid}/messages","href":"/api-reference/messages/fetch_multi"},{"title":"Fetch Session History","api":"GET https://app.gpt-trainer.com/api/v1/session/{uuid}/messages/plain-text","href":"/api-reference/messages/fetch-message-history"},{"title":"Delete Message","api":"POST https://app.gpt-trainer.com/api/v1/message/{uuid}/delete","href":"/api-reference/messages/delete"},{"title":"Delete Multiple Messages","api":"POST https://app.gpt-trainer.com/api/v1/messages/delete","href":"/api-reference/messages/delete_multi"}]},{"group":"Data Sources","pages":[{"title":"Source properties","href":"/api-reference/data-sources/properties-reference"},{"title":"Upload a File","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-source/upload","href":"/api-reference/data-sources/create-file"},{"title":"Create QA Source","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-source/qa","href":"/api-reference/data-sources/create-qa"},{"title":"Create URL Source","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-source/url","href":"/api-reference/data-sources/create-url"},{"title":"Update Source","api":"POST https://app.gpt-trainer.com/api/v1/data-source/{uuid}/update","href":"/api-reference/data-sources/update"},{"title":"Fetch List of Sources","api":"GET https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-sources","href":"/api-reference/data-sources/fetch_multi"},{"title":"Retrain Sources","api":"POST https://app.gpt-trainer.com/api/v1/data-sources/url/re-scrape","href":"/api-reference/data-sources/retrain"},{"title":"Delete Source","api":"POST https://app.gpt-trainer.com/api/v1/data-source/{uuid}/delete","href":"/api-reference/data-sources/delete"},{"title":"Delete Multiple Sources","api":"POST https://app.gpt-trainer.com/api/v1/data-sources/delete","href":"/api-reference/data-sources/delete_multi"}]},{"group":"Data Source Tags","pages":[{"title":"Create Source Tag","api":"POST https://app.gpt-trainer.com/api/v1/chatbot/\u003cuuid>/source-tag/create","href":"/api-reference/source-tags/create"},{"title":"Fetch All Source Tags","api":"GET https://app.gpt-trainer.com/api/v1/chatbot/\u003cuuid>/source-tags","href":"/api-reference/source-tags/fetch-multi"},{"title":"Update Source Tag","api":"POST https://app.gpt-trainer.com/api/v1/source-tag/\u003cuuid>/update","href":"/api-reference/source-tags/update"},{"title":"Delete Source Tag","api":"DELETE https://app.gpt-trainer.com/api/v1/source-tag/{uuid}/delete","href":"/api-reference/source-tags/delete"}]}]},{"anchor":"Integrations","icon":"network-wired","groups":[{"group":"Integrations","pages":[{"title":"Slack","href":"/integrations/slack"}]}]},{"anchor":"Tools","icon":"gear","groups":[{"group":"Tool Guides","pages":[{"title":"Introduction","href":"/tools/tools-intro"}]},{"group":"Tools","pages":[{"title":"Weekday","api":"GET https://tools.gpt-trainer.com/weekday","href":"/tools/weekday"}]}]},{"anchor":"Whitelabel","icon":"browser","groups":[{"group":"Whitelabel Dashboard","pages":[{"title":"Introduction and first-time setup","href":"/whitelabel/whitelabel-intro"},{"title":"Creating plans and pricing considerations","href":"/whitelabel/whitelabel-plans"},{"title":"Managing your users","href":"/whitelabel/whitelabel-users"}]},{"group":"Integrations","pages":[{"title":"Publishing a Zapier app","href":"/whitelabel/whitelabel-zapier"},{"title":"Publishing a Make app","href":"/whitelabel/whitelabel-make"},{"title":"Meta Integration Process","href":"/whitelabel/whitelabel-meta"}]}]}]},"basePath":"","title":"Frustration Detection - GPT-trainer API","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Bpq2Z6jK.js","DynamicMarkdown-D5M2At0B.js","zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}