Input: {"body":{"messages":[{"content":"You need to tag the input with the following labels based on the question asked:\nABSOLUTELY_NOT: You are absolutely sure that the answer is \"NO\" to the question.\nPROBABLY_NOT: You are leaning towards \"NO\" to the question.\nAMBIGUOUS: You are unsure about the answer to the question.\nPROBABLY_YES: You are leaning towards \"YES\" to the question.\nABSOLUTELY_YES: You are absolutely sure that the answer is \"YES\" to the question.\n\nYou need to return a mapping of the labels, an explanation and the answer for each label following the format below:\n```\n■is_about_animals:【explanation (where \"explanation\" is answering the question \"is the text about animals?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_lua_code:【explanation (where \"explanation\" is answering the question \"does the text contain Lua code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_python_code:【explanation (where \"explanation\" is answering the question \"does the text contain Python code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_js_code:【explanation (where \"explanation\" is answering the question \"does the text contain JavaScript code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_botpress:【explanation (where \"explanation\" is answering the question \"is the text about Botpress?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_rasa:【explanation (where \"explanation\" is answering the question \"is the text about Rasa?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_flows:【explanation (where \"explanation\" is answering the question \"does the text mention flows?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_api:【explanation (where \"explanation\" is answering the question \"does the text mention the Botpress API?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_enterprise:【explanation (where \"explanation\" is answering the question \"does the text mention Botpress Enterprise?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_workspaces:【explanation (where \"explanation\" is answering the question \"does the text mention workspaces?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_webchat:【explanation (where \"explanation\" is answering the question \"does the text mention the Webchat?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_hitl:【explanation (where \"explanation\" is answering the question \"does the text mention HITL (human in the loop)?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nundefined\n\n===\nYou should consider the Expert Examples below to help you make your decision.\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"system"},{"content":"Input to tag:\n<|start_input|>\n DASHBOARD\n* [Workspace](/docs/workspace)  \n   * [Home](/docs/home-1)  \n   * [Members](/docs/members)  \n   * [Audits](/docs/audits)  \n   * [Your integrations](/docs/your-integrations)  \n   * [Usage](/docs/usage-2)  \n   * [Settings](/docs/settings)  \n   * [Profile Setting](/docs/user-profile)\n* [Bot](/docs/bot)  \n   * [Overview](/docs/overview-1)  \n   * [Integrations](/docs/integrations-1)  \n   * [Webchat](/docs/webchat-1)  \n   * [Logs](/docs/logs)  \n   * [Conversations](/docs/conversations)  \n   * [Analytics](/docs/analytics-1)  \n   * [Events](/docs/events-2)  \n   * [Issues](/docs/issues)  \n   * [Configuration variables](/docs/configuration-variables-1)\n## STUDIO\n* [Interface](/docs/interface)  \n   * [Nodes](/docs/nodes)  \n   * [Home](/docs/home-2)  \n   * [Flows](/docs/studio-interface-flows)  \n   * [Knowledge Base](/docs/knowledge-base)  \n   * [Tables](/docs/tables)  \n   * [Agents](/docs/agents)  \n         * [Summary Agent](/docs/summary-agent)  \n         * [Personality Agent](/docs/personality-agent)  \n         * [Policy Agent](/docs/policy-agent)  \n         * [Translator Agent](/docs/translator-agent)  \n         * [Knowledge Agent](/docs/knowledge-agent)  \n         * [HITL Agent](/docs/hitl-agent)  \n         * [Vision Agent](/docs/vision-agent)  \n         * [Analytics Agent](/docs/analytics-agent)  \n   * [Library](/docs/library)  \n   * [Hooks](/docs/hooks)  \n   * [Integrations](/docs/integrations-3)  \n   * [Schemas](/docs/schemas)  \n   * [Card Hub](/docs/card-hub)  \n   * [Versions](/docs/versions-1)  \n   * [Chatbot Settings](/docs/chatbot-settings-1)  \n   * [Find](/docs/find)  \n   * [Variables](/docs/variables)  \n   * [Card Tray](/docs/card-tray)  \n   * [Debugger, Logs & JSON](/docs/debugger-logs-json)  \n   * [Emulator](/docs/emulator)  \n   * [Keyboard Shortcuts](/docs/keyboard-shortcuts)  \n   * [Commands](/docs/studio-commands)  \n   * [Studio Preferences](/docs/studio-preferences)  \n   * [Import & Export](/docs/import-export-bots)\n* [Cards](/docs/cards)  \n   * [Send Messages](/docs/send-messages)  \n   * [Execute](/docs/execute)  \n   * [Webchat](/docs/webchat-2)  \n   * [Flow Logic](/docs/flow-logic)  \n   * [AI](/docs/ai)  \n        \n* [Webchat](/docs/webchat-2)  \n   * [Flow Logic](/docs/flow-logic)  \n   * [AI](/docs/ai)  \n         * [AI Task](/docs/ai-task-1)  \n         * [AI Transition](/docs/ai-transition)  \n         * [AI Generate Text](/docs/ai-generate-text)  \n   * [Capture Information](/docs/capture-information)  \n   * [Events](/docs/events-3)  \n   * [Agents](/docs/agents-2)  \n   * [Utilities](/docs/utilities)\n## integrations\n* [Usage](/docs/using-integrations)  \n   * [Asana](/docs/asana-integration)  \n   * [HITL](/docs/hitl-1)  \n   * [Instagram](/docs/instagram)  \n   * [Intercom](/docs/intercom)  \n   * [Line](/docs/line)  \n   * [Messenger](/docs/messenger)  \n   * [Microsoft Teams](/docs/microsoft-teams)  \n   * [Notion](/docs/notion)  \n   * [Slack](/docs/slack)  \n   * [Sunshine Conversations](/docs/sunshine-conversations)  \n   * [Telegram](/docs/telegram)  \n   * [Trello](/docs/trello)  \n   * [Twilio](/docs/twilio)  \n   * [Viber](/docs/viber)  \n   * [Vonage](/docs/vonage)  \n   * [Webhook](/docs/webhook)  \n   * [WhatsApp](/docs/whatsapp)  \n         * [Manual Configuration](/docs/manual-configuration)  \n   * [Zapier](/docs/zapier)  \n   * [Zendesk](/docs/zendesk)\n* [Building](/docs/building-integrations)  \n   * [Getting Started](/docs/getting-started-1)  \n         * [Getting Started](/docs/getting-started-1)  \n         * [Adding Messaging Channel Capabilities](/docs/adding-messaging-channel-capabilities)  \n         * [Adding Actions & Triggers to Botpress Studio](/docs/adding-actions-triggers-to-botpress-studio)  \n         * [Publish your integration on Botpress Hub](/docs/publish-your-integration-on-botpress-hub)  \n   * [Use Your Own LLM](/docs/llm-interfaces)  \n   * [Connect a live agent platform with Botpress](/docs/hitl)  \n   * [Moving Parts](/docs/moving-parts)  \n   * [CLI](/docs/cli)  \n   * [SDK](/docs/sdk)  \n   * [Key Concepts](/docs/key-concepts)  \n         * [Architecture](/docs/architecture)\n/docs/sdk)  \n   * [Key Concepts](/docs/key-concepts)  \n         * [Architecture](/docs/architecture)  \n         * [Tags](/docs/tags)  \n         * [Channels](/docs/channels)  \n         * [Configuration](/docs/configuration)  \n         * [User](/docs/user)  \n         * [Conversations](/docs/conversations-1)  \n         * [Messages](/docs/messages)  \n         * [Event](/docs/event)  \n         * [States](/docs/states-1)  \n         * [Actions](/docs/actions)  \n         * [Definitions](/docs/definitions)  \n         * [Secrets](/docs/secrets)  \n         * [ZUI - Zod schema UI components in Botpress \\[BETA\\]](/docs/zui-zod-schema-ui-components-in-botpress)  \n   * [How to](/docs/states)  \n         * [States](/docs/states)  \n         * [Register & Unregister](/docs/register-unregister)  \n         * [Integrations Actions](/docs/integrations)  \n         * [Integration Events](/docs/integration-events)  \n         * [Handler](/docs/handler)  \n         * [Logging](/docs/logging)  \n         * [Building a Custom Integration](/docs/building-a-custom-integration)\n## Webchat\n* [Webchat](/docs/webchat)  \n   * [Webflow](/docs/webflow)  \n   * [Wix](/docs/wix)  \n   * [Wordpress](/docs/wordpress)\n* [Webchat v1 (deprecated)](/docs/web-chat-v1old)  \n   * [Controlling Web Chat using JavaScript](/docs/controlling-web-chat-using-javascript)  \n   * [Styling your webchat](/docs/chatbot-button)  \n         * [Chatbot Button](/docs/chatbot-button)  \n         * [Chat Header](/docs/chat-header)  \n         * [User Input Area](/docs/user-input-area)  \n         * [Show Bot Info](/docs/show-bot-info)  \n   * [Embedding Webchat](/docs/react-app)  \n         * [React App](/docs/react-app)  \n         * [React Native App](/docs/react-native-app)  \n         * [Web Chat Iframe](/docs/web-chat-iframe)  \n         * [Full Screen Chatbot](/docs/full-screen-chatbot)\n* [Webchat v2](/docs/embedded-webchat)  \n   * [Embedded Webchat](/docs/embedded-webchat)  \n         * [Custom CSS Reference](/docs/custom-css-reference)  \n   * [React Components](/docs/react-js)  \n   * [Webchat Client](/docs/webchat-client)\n## Botpress APIs\n* [Files API](/docs/files-api)\n* [Chat API](/docs/chat-api)\n## Appendix\n* [Safety](/docs/safety)  \n   * [Preventing Abuse](/docs/preventing-abuse)  \n   * [Brand Safety Framework](/docs/brand-safety-framework)\n* [Exporting Data](/docs/exporting-data)  \n   * [Raw Conversations](/docs/exporting-raw-conversations-with-the-botpress-api)  \n   * [Conversation History](/docs/getting-the-conversation-history-from-within-your-bot)  \n   * [Streaming Analytics](/docs/streaming-analytics-from-within-your-bot-with-hooks)  \n   * [Compiled Bot Analytics](/docs/exporting-compiled-bot-analytics-with-the-botpress-api)\nPowered by\n# Asana\n[ Suggest Edits](/edit/asana-integration)\nAsana Integration allows you to seamlessly connect your Botpress and Asana, a well-established project management platform. This integration equips your chatbot with the ability to manage projects and tasks right from its interface. After the setup, you will be able to perform actions such as task creation, task updates, task comment addition, and more.\nPrerequisites\n[](#prerequisites)\n* An [Asana account](https://asana.com/)\n* Access to an existing Asana workspace.\nSetting up the Asana integration in Botpress\n[](#setting-up-the-asana-integration-in-botpress)\n1. Go to the [Integration Hub](https://app.botpress.cloud/hub) in Botpress Cloud (if you don't have the integration installed yet).\n2. Find and open the Asana integration then click on the \"Install to Bot\" button, now go back to your bot settings.\nThe Asana integration has the following settings:\n* **Enabled**: Whether Botpress will communicate with Asana\n* **Webhook URL**: The URL for receiving data in Botpress. (You shall not be using it)\n* **API Token**: The API token generated from Asana\n* **Workspace Gid**: The workspace ID obtained from Asana\nSetting up Asana\n[](#setting-up-asana)\n1. Generate a Personal Access Token on Asana. Follow [these instructions](https://developers.asana.com/docs/personal-access-token) to get your token. Once you have it, paste it in the API Token input in Botpress.\n2. Get the workspace ID. You can obtain your workspace ID by visiting [this link](https://app.asana.com/api/1.0/workspaces) while logged in to your Asana account. The workspace ID corresponds to the `gid` parameter of the workspace you want to use. Paste it in the Workspace Gid input in Botpress.\nThat's it! Now the Asana integration is operational and ready for use within your bot.\n> ## ���\n>\n> Note\n>\n> The Asana API rate limits are applicable. Also, note that certain advanced Asana features tied to paid plans may not be accessible.\nCapabilities\n[](#capabilities)\nWith the Asana Integration, you can interact with Asana directly from your Botpress chatbot. The integration introduces various actions, including task creation, task updates, task comment addition, and more, making the task and user management processes more efficient.\nCards\n[](#cards)\nHere's a breakdown of the Cards / functions provided by Asana Integration and their input fields. You need to make sure the integration is enabled before being able to add them.\nCreate task\n[](#create-task)\nThis function is used to create a new task in Asana. The input fields include:\n* **name**: The name of the task.\n* **notes**: The description of the task (optional).\n* **assignee**: The ID of the user who will be assigned to the task or \"me\" to assign to the current user (optional).\n* **projects**: The project IDs should be strings separated by commas (optional).\n* **parent**: The ID of the parent task (optional).\n* **start\\_on**: The start date of the task in `YYYY-MM-DD` format (optional).\n* **due\\_on**: The due date of the task without a specific time in `YYYY-MM-DD` format (optional).\nYou can store the output of this to a variable to access the permalink.\nUpdate task\n[](#update-task)\nThis function is used to update an existing task in Asana. The input fields include:\n* **taskId**: The ID of the task to update.\n* **name**: The name of the task (optional).\n* **assignee**: The ID of the user who will be assigned to the task or \"me\" to assign to the current user (optional).\n* **completed**: If the task is completed, enter \"true\" (without quotes), otherwise, it will keep its previous status (optional).\nFind user\n[](#find-user)\nThis function is used to find a user, and all their associated metadata in Asana. The input field is:\n* **userId**: The email of the user.\nAdd comment to task\n[](#add-comment-to-task)\nThis function is used to add a comment to a task in Asana. The input fields include:\n* **taskId**: The ID of the task to comment.\n* **comment**: The content of the comment to be added.\n---\nWith Asana Integration, your Botpress chatbot becomes a powerful project management tool that can interact with Asana directly. This facilitates efficient task and user management processes, saving you time and improving your productivity. Whether you're creating a task, updating an existing one, finding a user, or adding a comment to a task, Botpress Asana Integration makes it all possible right from your chatbot interface.\nUpdated about 1 month ago\n---\n* [Table of Contents](#)\n* * [Prerequisites](#prerequisites)  \n   * [Setting up the Asana integration in Botpress](#setting-up-the-asana-integration-in-botpress)  \n   * [Setting up Asana](#setting-up-asana)  \n   * [Capabilities](#capabilities)  \n         * [Cards](#cards)[Jump to Content](#content)\n[![Botpress](https://files.readme.io/c8cb63b6d586cd66085b4c960570959a424c7050c5ffeb0aeaf31711e2e1b2ac-small-BPLOGO_new_dark_1.png)](https://botpress.com)\n[Guides](/docs)[API Reference](/reference)[Changelog](/changelog)\n---\n[![Botpress](https://files.readme.io/c8cb63b6d586cd66085b4c960570959a424c7050c5ffeb0aeaf31711e2e1b2ac-small-BPLOGO_new_dark_1.png)](https://botpress.com)\nGuides\nMoon (Dark Mode)Sun (Light Mode)\n[Guides](/docs)[API Reference](/reference)[Changelog](/changelog)\nAnalytics\nSearch\n## Home\n* [Botpress Documentation](/docs/home)\n## Getting Started\n* [Build](/docs/build)\n* [Deploy](/docs/deploy)\n* [Monitor](/docs/monitor)\n## DASHBOARD\n* [Workspace](/docs/workspace)  \n   * [Home](/docs/home-1)  \n   * [Members](/docs/members)  \n   * [Audits](/docs/audits)  \n   * [Your integrations](/docs/your-integrations)  \n   * [Usage](/docs/usage-2)  \n   * [Settings](/docs/settings)  \n   * [Profile Setting](/docs/user-profile)\n* [Bot](/docs/bot)  \n   * [Overview](/docs/overview-1)  \n   * [Integrations](/docs/integrations-1)  \n   * [Webchat](/docs/webchat-1)  \n   * [Logs](/docs/logs)  \n   * [Conversations](/docs/conversations)  \n   * [Analytics](/docs/analytics-1)  \n   * [Events](/docs/events-2)  \n   * [Issues](/docs/issues)  \n   * [Configuration variables](/docs/configuration-variables-1)\n## STUDIO\n* [Interface](/docs/interface)  \n   * [Nodes](/docs/nodes)  \n   * [Home](/docs/home-2)  \n   * [Flows](/docs/studio-interface-flows)  \n   * [Knowledge Base](/docs/knowledge-base)  \n   * [Tables](/docs/tables)  \n   * [Agents](/docs/agents)  \n         * [Summary Agent](/docs/summary-agent)  \n         * [Personality Agent](/docs/personality-agent)  \n         * [Policy Agent](/docs/policy-agent)  \n         * [Translator Agent](/docs/translator-agent)  \n         * [Knowledge Agent](/docs/knowledge-agent)  \n         * [HITL Agent](/docs/hitl-agent)  \n         * [Vision Agent](/docs/vision-agent)  \n         * [Analytics Agent](/docs/analytics-agent)  \n   * [Library](/docs/library)  \n   * [Hooks](/docs/hooks)  \n   * [Integrations](/docs/integrations-3)  \n   * [Schemas](/docs/schemas)  \n   * [Card Hub](/docs/card-hub)  \n   * [Versions](/docs/versions-1)  \n   * [Chatbot Settings](/docs/chatbot-settings-1)  \n   * [Find](/docs/find)  \n   * [Variables](/docs/variables)  \n   * [Card Tray](/docs/card-tray)  \n   * [Debugger, Logs & JSON](/docs/debugger-logs-json)  \n   * [Emulator](/docs/emulator)  \n   * [Keyboard Shortcuts](/docs/keyboard-shortcuts)  \n   * [Commands](/docs/studio-commands)  \n   * [Studio Preferences](/docs/studio-preferences)  \n   * [Import & Export](/docs/import-export-bots)\n* [Cards](/docs/cards)  \n   * [Send Messages](/docs/send-messages)  \n   * [Execute](/docs/execute)  \n   * [Webchat](/docs/webchat-2)  \n   * [Flow Logic](/docs/flow-logic)  \n   * [AI](/docs/ai)  \n        \n* [Webchat](/docs/webchat-2)  \n   * [Flow Logic](/docs/flow-logic)  \n   * [AI](/docs/ai)  \n         * [AI Task](/docs/ai-task-1)  \n         * [AI Transition](/docs/ai-transition)  \n         * [AI Generate Text](/docs/ai-generate-text)  \n   * [Capture Information](/docs/capture-information)  \n   * [Events](/docs/events-3)  \n   * [Agents](/docs/agents-2)  \n   * [Utilities](/docs/utilities)\n## integrations\n* [Usage](/docs/using-integrations)  \n   * [Asana](/docs/asana-integration)  \n   * [HITL](/docs/hitl-1)  \n   * [Instagram](/docs/instagram)  \n   * [Intercom](/docs/intercom)  \n   * [Line](/docs/line)  \n   * [Messenger](/docs/messenger)  \n   * [Microsoft Teams](/docs/microsoft-teams)  \n   * [Notion](/docs/notion)  \n   * [Slack](/docs/slack)  \n   * [Sunshine Conversations](/docs/sunshine-conversations)  \n   * [Telegram](/docs/telegram)  \n   * [Trello](/docs/trello)  \n   * [Twilio](/docs/twilio)  \n   * [Viber](/docs/viber)  \n   * [Vonage](/docs/vonage)  \n   * [Webhook](/docs/webhook)  \n   * [WhatsApp](/docs/whatsapp)  \n         * [Manual Configuration](/docs/manual-configuration)  \n   * [Zapier](/docs/zapier)  \n   * [Zendesk](/docs/zendesk)\n* [Building](/docs/building-integrations)  \n   * [Getting Started](/docs/getting-started-1)  \n         * [Getting Started](/docs/getting-started-1)  \n         * [Adding Messaging Channel Capabilities](/docs/adding-messaging-channel-capabilities)  \n         * [Adding Actions & Triggers to Botpress Studio](/docs/adding-actions-triggers-to-botpress-studio)  \n         * [Publish your integration on Botpress Hub](/docs/publish-your-integration-on-botpress-hub)  \n   * [Use Your Own LLM](/docs/llm-interfaces)  \n   * [Connect a live agent platform with Botpress](/docs/hitl)  \n   * [Moving Parts](/docs/moving-parts)  \n   * [CLI](/docs/cli)  \n   * [SDK](/docs/sdk)  \n   * [Key Concepts](/docs/key-concepts)  \n         * [Architecture](/docs/architecture)\n/docs/sdk)  \n   * [Key Concepts](/docs/key-concepts)  \n         * [Architecture](/docs/architecture)  \n         * [Tags](/docs/tags)  \n         * [Channels](/docs/channels)  \n         * [Configuration](/docs/configuration)  \n         * [User](/docs/user)  \n         * [Conversations](/docs/conversations-1)  \n         * [Messages](/docs/messages)  \n         * [Event](/docs/event)  \n         * [States](/docs/states-1)  \n         * [Actions](/docs/actions)  \n         * [Definitions](/docs/definitions)  \n         * [Secrets](/docs/secrets)  \n         * [ZUI - Zod schema UI components in Botpress \\[BETA\\]](/docs/zui-zod-schema-ui-components-in-botpress)  \n   * [How to](/docs/states)  \n         * [States](/docs/states)  \n         * [Register & Unregister](/docs/register-unregister)  \n         * [Integrations Actions](/docs/integrations)  \n         * [Integration Events](/docs/integration-events)  \n         * [Handler](/docs/handler)  \n         * [Logging](/docs/logging)  \n         * [Building a Custom Integration](/docs/building-a-custom-integration)\n## Webchat\n* [Webchat](/docs/webchat)  \n   * [Webflow](/docs/webflow)  \n   * [Wix](/docs/wix)  \n   * [Wordpress](/docs/wordpress)\n* [Webchat v1 (deprecated)](/docs/web-chat-v1old)  \n   * [Controlling Web Chat using JavaScript](/docs/controlling-web-chat-using-javascript)  \n   * [Styling your webchat](/docs/chatbot-button)  \n         * [Chatbot Button](/docs/chatbot-button)  \n         * [Chat Header](/docs/chat-header)  \n         * [User Input Area](/docs/user-input-area)  \n         * [Show Bot Info](/docs/show-bot-info)  \n   * [Embedding Webchat](/docs/react-app)  \n         * [React App](/docs/react-app)  \n         * [React Native App](/docs/react-native-app)  \n         * [Web Chat Iframe](/docs/web-chat-iframe)  \n         * [Full Screen Chatbot](/docs/full-screen-chatbot)\n* [Webchat v2](/docs/embedded-webchat)  \n   * [Embedded Webchat](/docs/embedded-webchat)  \n         * [Custom CSS Reference](/docs/custom-css-reference)  \n   * [React Components](/docs/react-js)  \n   * [Webchat Client](/docs/webchat-client)\n## Botpress APIs\n* [Files API](/docs/files-api)\n* [Chat API](/docs/chat-api)\n## Appendix\n* [Safety](/docs/safety)  \n   * [Preventing Abuse](/docs/preventing-abuse)  \n   * [Brand Safety Framework](/docs/brand-safety-framework)\n* [Exporting Data](/docs/exporting-data)  \n   * [Raw Conversations](/docs/exporting-raw-conversations-with-the-botpress-api)  \n   * [Conversation History](/docs/getting-the-conversation-history-from-within-your-bot)  \n   * [Streaming Analytics](/docs/streaming-analytics-from-within-your-bot-with-hooks)  \n   * [Compiled Bot Analytics](/docs/exporting-compiled-bot-analytics-with-the-botpress-api)\nPowered by\n# Analytics\nInsights into chatbot performance, user engagement, and conversation effectiveness.\n[ Suggest Edits](/edit/analytics-1)\nUsing the Analytics tab in your bot's dashboard, you can visualize your bot's recent activity as well as monitor the health of your bot project.\n> ## ���\n>\n> Note\n>\n> Some features in the Analytics tab, like selecting custom time periods or creating and saving additional custom displays, are only available to Team plan subscribers. [Learn more](https://botpress.com/pricing)\nDefault Layout\n[](#default-layout)\nBy default, each bot in your Workspace comes with pre-configured analytics charts. These cover last month's users, new or returning users, how many messages users send per session, how many sessions your bot had over the last month, how many messages were sent to your bot over the last month, and a general overview of the previous 3 months.\nCustom Boards\n[](#custom-boards)\nYou can create custom boards, which visualize data related to your bot, by either editing an existing board from your default layout or creating a new chart altogether.\nTime Period\n[](#time-period)\nWhen customizing a board, you can select from a list of pre-configured time periods to determine which time period's data gets visualized in your Analytics tab. Each of the boards in this tab can display information from different time periods.\nEvent Types\n[](#event-types)\nWhen choosing what data your Analytics tab will display, you can choose from a list of conversation-related events. These include:\n* total, new, and returning users\n* sessions\n* bot, user, and total messages\n* average messages sent by your bot per session\n* average messages sent by users per session\n* average number of sessions per user\n* the custom botready, botpulished, state\\_expired, and conversationStarted events.\nChart Types\n[](#chart-types)\nYou can visualize data in the analytics tab with the following charts: area, donut, bar, pie, metric, spark bar, and spark area.\nAnalytics Agent\n[](#analytics-agent)\n> ## ���\n>\n> Note\n>\n> The Analytics Agent is only available to Team Plan subscribers.\nOnce you've enabled the Analytics Agent from your bot's Agents menu, you can designate custom events that your bot will track. These events can be selected from the list of trackable events, or \"Event Types.\"\nTracking custom events\n[](#tracking-custom-events)\nFollow these steps to track custom events:\n1. Place the \"Track Event\" card found in the \"Agents\" section of the card tray into a node\n2. Using the details panel, give the event a descriptive name that will allow you to keep track of them later. For example, you might track \"Successful resolution\" or \"Unanswered question.\"\nOnce you've successfully created a custom event, your bot will track each event as the card is executed in a given node. For example, your bot can track how many times a conversation successfully reaches a specific node, or how often users flow through a certain node.\n> ## ���\n>\n> Warning\n>\n> After creating a custom event, it can take up to an hour before the data is available to be visualized in your Analytics tab.\nUpdated about 1 month ago\n---\n* [Table of Contents](#)\n* * [Default Layout](#default-layout)  \n         * [Custom Boards](#custom-boards)  \n   * [Time Period](#time-period)  \n   * [Event Types](#event-types)  \n   * [Chart Types](#chart-types)  \n   * [Analytics Agent](#analytics-agent)  \n   * [Tracking custom events](#tracking-custom-events)[ ](/)\nPlatform\nFeatures\n[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df5ba5ae204cf115231bd5_Icon_1.svg)Agent StudioBuild and customize your chatbot rapidly](/features/ai-agent-studio)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df5d22f040ffe5e0cbceb2_Sparkles_2.svg)Autonomous EngineUse LLMs to guide conversations and tasks](/features/autonomous)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df5e403ae794e8bac5d2da_book-open.svg)Knowledge BasesTrain your bot with custom knowledge sources](/features/knowledge-bases)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df5e04e8f1b3079e9ea83a_table.svg)TablesStore and manage conversation data](/features/tables)\n[HubConnect your bot to your favorite tools or start building from a pre-built template.![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df60114b355d9731379cf5_Frame%201383.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/665e2d05b9bea79722631a9e_hub-colores.svg)](/hub)\n[Explore Integrations](https://botpress.com/hub?type=Integration)[Explore LLMs](https://botpress.com/hub?type=LLM)\nSolutions\nFor\n[EnterpriseAutomate complex conversations and workflows](/enterprise)[Freelancers & AgenciesProvide sophisticated chatbot services for clients](/agency)[DevelopersExplore a robust API for chatbot development](/developers)\nBy Industry\n[SaaS](/industries/software)\n[Legal Services](/industries/legal-services)\n[Manufacturing](/industries/manufacturing)\n[Real Estate](/industries/real-estate)\n[Hospitality](/industries/hospitality)\n[Education](/industries/education)\n[Telecom](/industries/telecommunications)\n[Ecommerce](/industries/ecommerce)\n[Finance](/industries/finance)\n[Customer StoriesDiscover from successful customers how Botpress is transforming business worldwide.![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/665e5100a28a12e7fbcad591_customerStory_noColor.jpg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/665e456a7a50709959766e1f_image%20(16).webp)View all customer stories![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/65df6d9fae01773a7eac0d8a_cheveron-down.svg)](/customers)\nResources\nBot Builders\n[Getting StartedBegin your chatbot journey quickly and easily](https://botpress.com/docs/build)\n[GuidesExplore our library of guides and tutorials](https://botpress.com/docs/)\n[VideosFollow along with our video resources](https://youtube.com/botpress)\nDevelopers\n[API ReferenceAccess references and guides](https://botpress.com/docs/api-documentation/)\n[SDKTools for developers](https://www.npmjs.com/package/@botpress/sdk)\n[CLIReference CLI commands](https://botpress.com/docs/developers/cli/)\nPartners\n[Become a PartnerJoin our network of certified experts](/become-a-partner)\n[Find an ExpertConnect with partners and consultants](https://bot\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_about_animals:【explanation (where \"explanation\" is answering the question \"is the text about animals?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_lua_code:【explanation (where \"explanation\" is answering the question \"does the text contain Lua code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_python_code:【explanation (where \"explanation\" is answering the question \"does the text contain Python code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_js_code:【explanation (where \"explanation\" is answering the question \"does the text contain JavaScript code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_botpress:【explanation (where \"explanation\" is answering the question \"is the text about Botpress?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_rasa:【explanation (where \"explanation\" is answering the question \"is the text about Rasa?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_flows:【explanation (where \"explanation\" is answering the question \"does the text mention flows?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_api:【explanation (where \"explanation\" is answering the question \"does the text mention the Botpress API?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_enterprise:【explanation (where \"explanation\" is answering the question \"does the text mention Botpress Enterprise?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_workspaces:【explanation (where \"explanation\" is answering the question \"does the text mention workspaces?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_webchat:【explanation (where \"explanation\" is answering the question \"does the text mention the Webchat?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_hitl:【explanation (where \"explanation\" is answering the question \"does the text mention HITL (human in the loop)?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nFormat cheatsheet:\n```\n■label:【explanation】:x■\n```\n\nWhere `x` is one of the following: ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES\n\nRemember: In your `explanation`, please refer to the Expert Examples # (and quote them) that are relevant to ground your decision-making process.\nThe Expert Examples are there to help you make your decision. They have been provided by experts in the field and their answers (and reasoning) are considered the ground truth and should be used as a reference to make your decision when applicable.\nFor example, you can say: \"According to Expert Example #1, ...\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.label","promptSource":"zai:zai.label:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■is_about_animals:【The document is a Botpress product and integration guide; it contains no references to animals whatsoever.】:ABSOLUTELY_NOT■

■contains_lua_code:【No code blocks are present, and the text never includes Lua syntax (e.g., “function”, “end”).】:ABSOLUTELY_NOT■

■contains_python_code:【The text contains no Python snippets (e.g., “def”, indented code).】:ABSOLUTELY_NOT■

■contains_js_code:【Only a link titled “Controlling Web Chat using JavaScript” appears, but there is no actual JavaScript code shown.】:ABSOLUTELY_NOT■

■is_botpress:【The entire content is Botpress documentation (menus, integrations, Studio, APIs, etc.), explicitly referencing Botpress multiple times.】:ABSOLUTELY_YES■

■is_rasa:【Rasa is never mentioned; the focus is solely on Botpress.】:ABSOLUTELY_NOT■

■has_flows:【The term “Flows” appears repeatedly under the Studio section (e.g., “* [Flows](/docs/studio-interface-flows)”).】:ABSOLUTELY_YES■

■has_api:【Botpress APIs are listed (“Botpress APIs”, “Files API”, “Chat API”), indicating the presence of API references.】:ABSOLUTELY_YES■

■has_enterprise:【A “Enterprise” link is present (“[EnterpriseAutomate complex conversations …]”), referring to Botpress Enterprise offerings.】:ABSOLUTELY_YES■

■has_workspaces:【Multiple references to “Workspace” (e.g., “* [Workspace](/docs/workspace)”, “Workspace Gid”).】:ABSOLUTELY_YES■

■has_webchat:【Numerous mentions of “Webchat” throughout the document (e.g., “* [Webchat](/docs/webchat-1)”).】:ABSOLUTELY_YES■

■has_hitl:【The term “HITL” (human‑in‑the‑loop) appears several times (“HITL Agent”, “HITL Integration”).】:ABSOLUTELY_YES■


Input: {"body":{"messages":[{"content":"You need to tag the input with the following labels based on the question asked:\nABSOLUTELY_NOT: You are absolutely sure that the answer is \"NO\" to the question.\nPROBABLY_NOT: You are leaning towards \"NO\" to the question.\nAMBIGUOUS: You are unsure about the answer to the question.\nPROBABLY_YES: You are leaning towards \"YES\" to the question.\nABSOLUTELY_YES: You are absolutely sure that the answer is \"YES\" to the question.\n\nYou need to return a mapping of the labels, an explanation and the answer for each label following the format below:\n```\n■is_about_animals:【explanation (where \"explanation\" is answering the question \"is the text about animals?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_lua_code:【explanation (where \"explanation\" is answering the question \"does the text contain Lua code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_python_code:【explanation (where \"explanation\" is answering the question \"does the text contain Python code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_js_code:【explanation (where \"explanation\" is answering the question \"does the text contain JavaScript code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_botpress:【explanation (where \"explanation\" is answering the question \"is the text about Botpress?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_rasa:【explanation (where \"explanation\" is answering the question \"is the text about Rasa?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_flows:【explanation (where \"explanation\" is answering the question \"does the text mention flows?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_api:【explanation (where \"explanation\" is answering the question \"does the text mention the Botpress API?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_enterprise:【explanation (where \"explanation\" is answering the question \"does the text mention Botpress Enterprise?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_workspaces:【explanation (where \"explanation\" is answering the question \"does the text mention workspaces?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_webchat:【explanation (where \"explanation\" is answering the question \"does the text mention the Webchat?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_hitl:【explanation (where \"explanation\" is answering the question \"does the text mention HITL (human in the loop)?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nundefined\n\n===\nYou should consider the Expert Examples below to help you make your decision.\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"system"},{"content":"Input to tag:\n<|start_input|>\npress.com/experts)\nEssential Resources\n[Academy](https://academy.botpress.com/)[Video Guides](https://www.youtube.com/playlist?list=PLlJHGGklthGlUVZlNhG5I0ZK8u1h6UfZ9)\n[Community Support](https://discord.gg/botpress)[Blog](/blog)\nEvents\n[![Botpress Discord Daily AMA](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66968f8fda109072834cace4_Website.webp)](https://discord.gg/botpress)\n[Docs](https://botpress.com/docs/)\n[Pricing](/pricing)\n[Log in](https://sso.botpress.cloud/login)[Sign up](https://sso.botpress.cloud/registration)\n[Community support, daily live office hours, and thousands of bot builders - all on our Discord!](https://discord.gg/botpress)\n# The Complete\nAI Agent Platform\nThe all-in-one platform for delivering chatbots powered by the latest LLMs.\n[Get started for free Join 500,000+ builders![Icon of an arrow](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/661476c04ad6c4be4e8d63aa_external-link.svg)](https://sso.botpress.cloud/registration)[Contact Sales](/contact-us)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664626b01887330307e50488_kia.svg)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664e76ba9afbe789c2f1e4bc_eagle.svg)\n![Windsteam Logo](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/667e00bcf1e64ca4d0fced38_windstream_logo.png)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664626ad0429139c408c6d90_ae.svg)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664626ae5e59ac14d6e5b6f9_shell.svg)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664626adcc722d37f5b7e5d9_ea.svg)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664cdfadb7f0f8dc2ecaf828_studio-cards%201.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664cd956522c7a8c5de43fec_studioDark.svg)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/6644e1110c6e04692c1b69d9_award-03.svg)\n## Trending on Botpress\nThe largest ecosystem to build production-ready AI agents.\n[Go to Hub ](/hub)\n#### Top Integrations\n[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66450cf0c1eb89c318f020b0_whatsapp.png)WhatsApp ](https://app.botpress.cloud/hub/integrations/intver%5F01HYE8RZX72BG2PXEPRGGDQV03)[![Telegram logo](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/637bccb2241f010d200fa2f9_telegram-1.svg)Telegram ](https://app.botpress.cloud/hub/integrations/intver%5F01HYE8QRBH08EQ42RPVFJCV0DP)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/665e3dd01750ee488ee79b1b_make.webp)Make.com ](https://app.botpress.cloud/hub/integrations/intver%5F01HXA4418H5ANXPRVQZE62FPN4)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664516e61198b2e1e7ff600c_calendly.png)Calendly ](https://app.botpress.cloud/hub/integrations/intver%5F01HXJ521GW7QGMHAKW9CM18R2S)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66d233ebf529a2d3a5cc9a39_hugging-face.svg)Hugging Face ](https://app.botpress.cloud/hub/integrations/intver%5F01J6FP62B7KEHH4NC4R7NBBTW5)\n#### Top LLM Providers\n[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66ff09d9b12536d694885aea_openai.png)OpenAI ](https://botpress.com/integrations/openai)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66ff09d98cb30a06844e4e56_3.png)Anthropic ](https://botpress.com/integrations/anthropic)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66ff096c43ddee6d69ec96e0_meta.png)Meta ](https://botpress.com/integrations/plus-huggingface)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66ff09d9ecadda2e7594b153_groq.png)Groq ](https://botpress.com/integrations/groq)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66ff09d9669b22cf52a3dded_cerebras.png)Cerebras ](https://botpress.com/integrations/cerebras)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66452c747575efb2a1b1fa39_compass.svg)\n## Everything you need to build the agents of the Future\nGreet user in a friendly and professional tone.\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/6649727304406ce187f158f0_star.svg) ![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/6649727304406ce187f158f0_star.svg)\nLeverage the latest LLMs\nIncorporate LLMs into your agent to power your bot’s conversations to deliver natural and engaging responses.\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)!\n[](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)!\n[](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)!\n[](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cafa8da671badafd49_Doc.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ca5c58c69bf7debf1c_Text.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)!\n[](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce5a626197649220cc_Search.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538ce411f9f0d5591cf3b_Web.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbcd44508f599018a6_RTF.svg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664538cbfa8da671badafe13_PDF.svg)\nImport all your knowledge sources\nImport knowledge from custom data sources like websites, docs or PDFs.\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66462feb831c546a99c9aaff_profilePicture.png)\nDavid Rubies\ndavidrr1\nI have a passion.\nHub Contributions\nBuild your AI development portfolio\nPosition yourself at the forefront of artificial intelligence with the Botpress Hub.\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664d964d574cd5f442ffa1ac_arti_chat.svg)\nAutomatically sync with your databases & systems\nCapture user inputs in a vectorized DB and sync with 3rd party systems to deliver personalized chatbot experiences.\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66454159aab4cd4f4228d644_code-square-02.svg)\n## An API for everything\nExtend your agents’ functionality with our easy-to-use API and SDK.\n[Read docs ](https://botpress.com/docs/developers/)\n```js\nimport { Integration } from \"@Botpress/sdk\";\nimport protonMailChannel from \"./protonMailChannel\";\n\nexport default new Integration({\n  channels: {\n    protonMailChannel: protonMailChannel,\n  },\n  actions: {\n    sendEmail: ({ ctx }) => {\n      console.info(`sending email for bot${ctx.botId}`);\n    },\n  },\n  register: async ({ ctx }) => {\n    console.info(`integration installed in bot ${ctx.botId}`);\n  },\n  handler: async ({ req }) => {\n    console.info(\"received request from protonMail\", req);\n  },\n});\n```\n1,040,032,064\nmessages processed\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664558eb5b5fb150bb7a11eb_rocket-02.svg)\n## Botpress Enterprise\nBuild, deploy, and manage AI bots at an enterprise scale.\n[Get started ](/enterprise)\nSecurity\nSecure your data with enterprise-grade security features.\nScalability\nScale your chatbots to meet the demands of your business.\nSupport\nGet dedicated support from our team of experts.\nActivity\nMonitor and analyze chatbot activity in real-time.\nUptime\nEnsure your chatbots are always online and available.\nCompliance\nEnsure your chatbots are compliant with GDPR and SOC 2.\nThe best companies use the best tools\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/667dfe47899a9b8f59401061_windsteam_cover.jpg)![Windsteam Logo](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/667e00bcf1e64ca4d0fced38_windstream_logo.png)\nWindstream\nMassively scale customer support response capacity\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664e72cf5685a883f92d393e_americanEagle.jpg)![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664e76ba9afbe789c2f1e4bc_eagle.svg)\nAmerican Eagle\nAutomatically scale customer support to millions of shoppers\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66455a62a180d38c7797b070_globe-01.svg)\n## Join the largest bot building community\nA supportive network of bot builders that share ideas, troubleshoot issues, and foster collaboration.\n[Join our Discord ](https://discord.gg/botpress)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e378856190e41ef411297_BogdanA.webp)@BogdanAThe unlimited number of integrations it has! It's perfect for any type of workflow you'd like to perform: Cancellations, refunds, authentications and many more!](https://www.g2.com/products/botpress/reviews/botpress-review-9051332)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e3b8ebdfb853c1ac1a874_CarolynM.webp)@CarolynMBotpress is a great platform with a strong community of developers around the world that are welcoming and open to sharing their time, resources, and elevating best practices among bot builders.](https://www.capterra.ca/reviews/199292/botpress)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e386bd87b060c0c13fd3e_DilanR.webp)@DilanROne of the most important things is how intuitive the tool is, and the free tier is very generous, the number of possible integrations is also one of my favorite things because of how versatile it can be.](https://www.g2.com/products/botpress/reviews/botpress-review-9465641)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e359c7e01cd02fa2e8705_JDC.webp)@JD\\_CThe botpress discord is hands down the best discord experience I have had. From troubleshooting to keeping up with changing trends it's a one stop shop for reaching your full Botpress potential.](https://www.g2.com/products/botpress/reviews/botpress-review-9683460)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e59173810453fd8c6592a_Screenshot%202024-06-03%20at%2019.56.57.webp)@JoeKBotpress makes it very easy to host bots on their cloud servers and they have a lot of integrations with platforms such as Whatsapp, Telegram, Zapier, Zendesk and much more. The Botpress studio is very user friendly and easy to use and scale up with for larger bots.](https://www.g2.com/products/botpress/reviews/botpress-review-9103990)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e360e14d04ef64a845577_JulioA.webp)@JulioABotpress stands out for its user-friendly interface, making it accessible for users of all skill levels. Whether you're a seasoned developer or new to the world of chatbots, navigating through its features and tools is straightforward and efficient, enabling quick learning and mastery of its functionalities.](https://www.g2.com/products/botpress/reviews/botpress-review-9480158)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e380dfadca872cff49780_KontoT.webp)@KontoTI'm a little bit control freak, so I like to know what is under the hood. Botpress is ideal for me because I can control all the aspects of my bot](https://www.g2.com/products/botpress/reviews/botpress-review-8977491)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e3ad4be00dd2544679b5e_MaxH.webp)@MaxHBotpress frees up time for our support staff to focus on other tasks since FAQs are answered by the bot.](https://www.g2.com/products/botpress/reviews/botpress-review-9447732)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/66719141fb72f3cbdf1a7eda_ML.webp)@MichaelLBotpress manages to make the platform both accessible for beginners and powerful enough for those who want to tackle advanced use cases.](https://www.g2.com/products/botpress/reviews/botpress-review-9464459)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e38993615177b5d6c0bd8_Oliver.webp)@OliverMIt's so simple to use, anything that is not immediately obvious, is supported by excellent video tutorials and a super supportive Discord community. The majority of useful integrations and essential features are ready to go, and easy to implement.](https://www.g2.com/products/botpress/reviews/botpress-review-8760692)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e38c832e5d1075ae1bdc3_RajaVigneshT.webp)@RajaVigneshTGame Changer for Chatbot Community. It is very helpful and makes the tasks easier to work with. Also it is user-friendly, and the AI agents feature attracts me more.](https://www.g2.com/products/botpress/reviews/botpress-review-9504042)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e36cb666d23e3ef47adfa_RemusP.webp)@RemusPBeing a no-coder, Botpress is wonderful tool to discover and learn. Helping loads this two key factors, is the awesome team behind the platform, which provides easy to follow Youtube tutorials and host weekly streams for developers or no-coders like me.](https://www.g2.com/products/botpress/reviews/botpress-review-8762007)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/65d6183bd38ca4d512e8016f_REP.webp)@RodolfoEstebanPBotpress is a game changer for me in managing customer query related tasks and handling them preciously.](https://www.g2.com/products/botpress/reviews/botpress-review-9307365)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/65d618cb28f4130973920c53_SMAH.webp)@SMAshikuzzamanHDeployment efficiency is one aspect where Botpress really shines. The ability to have a bot up and running in about 10 minutes highlights the optimization and effectiveness of the platform.](https://www.g2.com/products/botpress/reviews/botpress-review-9238613)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e3f7533cb791763a03ee3_TariqB.webp)@TariqBBotpress cloud has pushed boundaries more than any other platform I have used. The features that are available to me are excellent. The way they have incorporated GenAI to support in both generative outputs but also in a co-pilot way to create and execute code is just awesome.](https://www.g2.com/products/botpress/reviews/botpress-review-8966699)\n[![](https://cdn.prod.website-files.com/637e5037f3ef83b76dcfc8f9/665e394a471b02122f1234bc_TiagoP.webp)@TiagoPHonestly the sky is the limit. It is suitable for small projects up to big projects that require a lot of integrations. The pricing model is what I would say unbeatable.](https://www.g2.com/products/botpress/reviews/botpress-review-9542820)\n## Build Better with Botpress\nCraft amazing conversational experiences.\n[Get started - it's free![Icon of an arrow](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/661476c04ad6c4be4e8d63aa_external-link.svg)](https://sso.botpress.cloud/registration)\n[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66459367a68df2a660f7e3f2_gradHat.svg)Learn more at Botpress Academy![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/6645941d86f168de06a2383f_arrowTopRight.svg)Become a master bot builder with our curated collection of courses, guides, and tutorials.](https://academy.botpress.com/pages/learn)[![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/664595fe8284d6e8557cd21e_message-chat-circle.svg)Find an Expert![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/6645941d86f168de06a2383f_arrowTopRight.svg)Connect with our certified developers to find an expert builder that suits your needs.](https://botpress.com/experts/projects/create)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/665a0d85cd9f5a40e38923c0_cta_img-bottom.svg)\nAll Systems Operational\nSOC 2\nCertified\nGDPR\nCompliant\n[ ](#)\n© 2024\n[ ](https://github.com/botpress)[ ](https://www.youtube.com/botpress)[ ](https://twitter.com/getbotpress/)[ ](https://www.linkedin.com/company/botpress/)[ ](https://discord.gg/botpress)\n![](https://cdn.prod.website-files.com/635c4eeb78332f7971255095/66187999a9a30ff89e4be8c8_footer_award.svg)\nPlatform\n[Pricing](/pricing)[Studio](/features/ai-agent-studio)[Tables](/features/tables)[Autonomous Agents](/features/autonomous)[Knowledge Bases](/features/knowledge-bases)\nHub\n[Integrations](https://botpress.com/hub?type=Integration)[Channels](https://botpress.com/hub?type=Channel)[LLMs](https://botpress.com/hub?type=LLM)\nResources\n[Talk to Sales](/contact-us)[Documentation](https://botpress.com/docs/)[Find an Expert](http://botpress.com/experts)[Videos](https://www.youtube.com/botpress)[Customer Stories](/customers)[API Reference](https://botpress.com/docs/api-documentation/)[Blog](/blog)[Status](https://status.botpress.com/)[v12 Resources](https://v12.botpress.com/)\nCommunity\n[Community Support](https://discord.gg/botpress)[Become a Partner](/become-a-partner)[Become an Ambassador](/ambassador-program)[Become an Affiliate](/affiliates)[Events](/events)\nCompany\n[About](/company/about)[Careers](/careers)[News & Press](/news)[Legal](/legal)\n© Botpress 2024\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_about_animals:【explanation (where \"explanation\" is answering the question \"is the text about animals?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_lua_code:【explanation (where \"explanation\" is answering the question \"does the text contain Lua code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_python_code:【explanation (where \"explanation\" is answering the question \"does the text contain Python code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■contains_js_code:【explanation (where \"explanation\" is answering the question \"does the text contain JavaScript code?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_botpress:【explanation (where \"explanation\" is answering the question \"is the text about Botpress?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_rasa:【explanation (where \"explanation\" is answering the question \"is the text about Rasa?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_flows:【explanation (where \"explanation\" is answering the question \"does the text mention flows?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_api:【explanation (where \"explanation\" is answering the question \"does the text mention the Botpress API?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_enterprise:【explanation (where \"explanation\" is answering the question \"does the text mention Botpress Enterprise?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_workspaces:【explanation (where \"explanation\" is answering the question \"does the text mention workspaces?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_webchat:【explanation (where \"explanation\" is answering the question \"does the text mention the Webchat?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■has_hitl:【explanation (where \"explanation\" is answering the question \"does the text mention HITL (human in the loop)?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nFormat cheatsheet:\n```\n■label:【explanation】:x■\n```\n\nWhere `x` is one of the following: ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES\n\nRemember: In your `explanation`, please refer to the Expert Examples # (and quote them) that are relevant to ground your decision-making process.\nThe Expert Examples are there to help you make your decision. They have been provided by experts in the field and their answers (and reasoning) are considered the ground truth and should be used as a reference to make your decision when applicable.\nFor example, you can say: \"According to Expert Example #1, ...\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.label","promptSource":"zai:zai.label:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■is_about_animals:【The text is a marketing page for Botpress, describing features, integrations, and enterprise offerings. It contains no references to animals whatsoever.】:ABSOLUTELY_NOT■

■contains_lua_code:【The document includes a JavaScript code block but no Lua syntax or file extensions. There is no Lua code present.】:ABSOLUTELY_NOT■

■contains_python_code:【The only code snippet is labelled as ```js and contains JavaScript. No Python code is found.】:ABSOLUTELY_NOT■

■contains_js_code:【A clearly marked JavaScript snippet is present (```js … import { Integration } …```), confirming the presence of JavaScript code.】:ABSOLUTELY_YES■

■is_botpress:【The entire content revolves around Botpress – its platform, features, integrations, enterprise edition, API, community, etc.】:ABSOLUTELY_YES■

■is_rasa:【There is no mention of Rasa anywhere in the text.】:ABSOLUTELY_NOT■

■has_flows:【The term “flows” does not appear in the document.】:ABSOLUTELY_NOT■

■has_api:【The section titled “An API for everything” explicitly discusses extending agents with an API and includes a code example, indicating the API is mentioned.】:ABSOLUTELY_YES■

■has_enterprise:【A dedicated “Botpress Enterprise” section is present, describing enterprise‑grade features.】:ABSOLUTELY_YES■

■has_workspaces:【The word “workspaces” is not found in the content.】:ABSOLUTELY_NOT■

■has_webchat:【No reference to a Webchat component appears in the text.】:ABSOLUTELY_NOT■

■has_hitl:【The acronym HITL (human in the loop) is not mentioned.】:ABSOLUTELY_NOT■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #3):\n- You have been provided with examples from previous experts. Make sure to read them carefully before making your decision.\n- Make sure to refer to the examples provided by the experts to justify your decision (when applicable).\n- When in doubt, ground your decision on the examples provided by the experts instead of your own intuition.\n- When no example is similar to the input, make sure to provide a clear justification for your decision while inferring the decision-making process from the examples provided by the experts.","role":"system"},{"content":"Expert Example #1\n<|start_input|>\nwhat is up\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"What's up\" in our business scenario is NOT considered an official greeting.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #2\n<|start_input|>\nwassup\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"wassup\" is a slang term and not considered a formal greeting. It is therefore NOT considered a greeting.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #3\n<|start_input|>\nhello! how are you?\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"hello!\" is a common greeting in English.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExpert Example #4\n<|start_input|>\nWhat's up\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid answer. The response was: .\n\nPlease return a valid response addressing the error above.","role":"user"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:zai/check"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The task is to determine whether the input text is considered a greeting. In the provided Expert Examples:

- **Example #1** (`what is up`) was judged **not** a greeting → **■FALSE■**.
- **Example #2** (`wassup`) was also judged **not** a greeting → **■FALSE■**.
- **Example #3** (`hello! how are you?`) was judged a greeting → **■TRUE■**.

The input for **Example #4** is **“What’s up”**. This phrase is essentially the same as the wording in Example 1 (“what is up”), just using the contraction “what’s”. Since Example 1 was classified as **not** a greeting, the same reasoning applies here: “What’s up” is informal slang rather than a formal greeting.

Therefore, the condition (that the input is a greeting) is **false**.

**Final Answer:** ■FALSE■
**


Input: {"body":{"maxTokens":500,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 46 tokens long – it should be less than 20\n• The text must be standalone and complete in less than 20 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Prompt: translate to French\n\n■START■\nHello, how are you?\n■END■","role":"user","type":"text"},{"content":"■START■Bonjour, comment ça va?■END■","role":"assistant","type":"text"},{"content":"Prompt: reverse the order\n\n■START■\n1\n2\n3\n■END■","role":"user","type":"text"},{"content":"■START■3\n2\n1■END■","role":"assistant","type":"text"},{"content":"Prompt: write in all caps\n\n■START■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output: ■START■ZOE WALKS TO PARK, MEETS FRIEND, THEY PLAY, PICNIC, THEN GO HOME.


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text has some information about HITL (human in the loop)\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text contains multiple mentions of HITL (Human in the Loop), specifically in the context of bot development and integrations, indicating that it meets the condition of providing information about HITL.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text uses markdown format\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text provided uses markdown format, as evidenced by the use of headers (e.g., #, ##), bullet points (-), and bold text (**).",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text mentions the notion of workspaces\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text includes a section titled 'Dashboard (Admin UI)' which mentions 'Workspace' as one of its components, indicating that the notion of workspaces is indeed present in the documentation.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text explains shortly what botpress is\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The provided text is a detailed table of contents for the Botpress documentation, outlining various features and functionalities of Botpress, but it does not provide a concise explanation of what Botpress is.",
  "result": false
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text has some information about integrations\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text contains a section specifically dedicated to 'Integrations', detailing both pre-built connectors and the process for building custom integrations, which indicates that it meets the condition of having information about integrations.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text is a summary of the Botpress documentation\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The provided text is a detailed summary of the Botpress documentation, outlining the main sections and features of the platform.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"\"# Botpress Documentation – High‑Level Table of Contents  \\n\\n## 1. Getting Started  \\n- **Home** – entry point to the docs.  \\n- **Build** – create a bot (Studio UI, nodes, flows, knowledge base, tables).  \\n- **Deploy** – publish to the cloud or on‑premise.  \\n- **Monitor** – view analytics, logs, health checks.  \\n\\n## 2. Dashboard (Admin UI)  \\n- **Workspace** – Home, Members, Audits, Integrations, Usage, Settings, Profile.  \\n- **Bot** – Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.  \\n\\n## 3. Studio – Bot Development Environment  \\n- **Interface** – Nodes, Home, Flows, Knowledge Base, Tables.  \\n- **Agents** – Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics.  \\n- **Library & Hooks** – reusable assets & lifecycle scripts.  \\n- **Integrations & Schemas** – connect services and define data models.  \\n- **Card Hub & Card Tray** – browse and drag‑drop reusable cards.  \\n- **Versions, Settings & Preferences** – version control, bot‑wide settings, UI tweaks.  \\n- **Debugging & Testing** – Debugger, Logs, JSON viewer, Emulator.  \\n- **Productivity** – Find, Keyboard shortcuts, Commands, Import/Export.  \\n\\n## 4. Cards (Reusable Building Blocks)  \\n- **Send Messages** – text, media, quick replies, carousels.  \\n- **Execute** – run custom code or actions.  \\n- **Webchat** – control the embedded chat widget.  \\n- **Flow Logic** – conditional routing, loops, transitions.  \\n- **AI** – AI Task, AI Transition, AI Generate Text.  \\n\\n## 5. Webchat (Customer‑Facing Widget)  \\n- **v2 (Embedded)** – custom CSS, React components, Webchat client SDK.  \\n- **v1 (Deprecated)** – JavaScript control, styling (button, header, input, bot info), embedding via React, React Native, iframe or full‑screen.  \\n- **Customization** – appearance, timestamps, transcript download, locale, UI toggles, domain whitelisting.  \\n- **Platform embeds** – Webflow, Wix, WordPress (pre‑configured script).  \\n\\n## 6. Integrations  \\n### 6.1 Usage (pre‑built connectors)  \\nAsana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp (manual config), Zapier, Zendesk, etc.  \\n\\n### 6.2 Building Custom Integrations  \\n- **Getting started** → add messaging channel → define actions & triggers → publish on Botpress Hub.  \\n- **Developer tools** – CLI, SDK, LLM interfaces, live‑agent (HITL) bridges.  \\n- **Key concepts** – Architecture, Tags, Channels, Configuration, Users, Conversations, Messages, Events, States, Actions, Definitions, Secrets, ZUI (beta).  \\n- **How‑to** – register/unregister states, handlers, logging, custom integration workflow.  \\n\\n## 7. Botpress APIs  \\n- **Files API** – upload, download, tag, search, delete bot assets.  \\n- **Chat API** – programmatic conversation handling (send/receive messages, fetch history).  \\n\\n## 8. Appendix  \\n- **Safety** – abuse prevention, brand‑safety framework, policy agent, rate limits.  \\n- **Exporting Data** – raw conversations, conversation history, streaming analytics, compiled bot analytics.  \\n\\n---  \\n\\n*The documentation is organized horizontally: from onboarding → dashboard → Studio → Cards → Webchat → a comprehensive list of Integrations (ready‑made and custom) → API reference → safety & data export. Each major feature has its own sub‑TOC, enabling quick navigation without deep nesting.*  \\n**\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text has a section about the Botpress API\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text includes a section titled '7. Botpress APIs' which describes the Files API and Chat API, indicating that it contains information about the Botpress API.",
  "result": true
}