Input: {"body":{"messages":[{"content":"Extract the following information from the input:\n{ \n/** The name of the feature */\nfeature: string\n; \n/** The parent feature */\nparent?: string | null\n; \n/** The description of the feature */\ndescription: string\n }\n====\n\n• Extract all things that looks like a Botpress feature in the provided input. You must extract a minimum of one element.\n• You may have multiple elements, or zero elements in the input.\n• You must extract each element separately.\n• Each element must be a JSON object with exactly the format: ■json_start■{ \"feature\": ..., \"parent\": ..., \"description\": ... }■json_end■\n• If there are no elements to extract, respond with ■ZERO_ELEMENTS■.\n• When you are done extracting all elements, type \"■NO_MORE_ELEMENT■\" to finish.\n• For example, if you have zero elements, the output should look like this: ■ZERO_ELEMENTS■■NO_MORE_ELEMENT■\n• For example, if you have two elements, the output should look like this: ■json_start■{ ... }■json_end■■json_start■{ ... }■json_end■■NO_MORE_ELEMENT■","role":"system"},{"content":"Here's an example to help you understand the format:\n\n<|start_schema|>\nArray<{ name: string, age: number }>\n<|end_schema|>\n\n<|start_instructions|>\nExtract all people\n<|end_instructions|>\n\n<|start_input|>\nThe story goes as follow.\nOnce upon a time, there was a person named Alice who was 30 years old.\nThen, there was a person named Bob who was 25 years old.\nThe end.\n<|end_input|>","role":"user","type":"text"},{"content":"■json_start■\n{\n  \"name\": \"Alice\",\n  \"age\": 30\n}\n■json_end■\n■json_start■\n{\n  \"name\": \"Bob\",\n  \"age\": 25\n}\n■json_end■■NO_MORE_ELEMENT■","role":"assistant","type":"text"},{"content":"Here's an example to help you understand the format:\n\n<|start_schema|>\n{ \n/** The name of the feature */\nfeature: string\n; \n/** The parent feature */\nparent?: string | null\n; \n/** The description of the feature */\ndescription: string\n }\n<|end_schema|>\n\n<|start_instructions|>\nExtract all things that looks like a Botpress feature in the provided input. You must extract a minimum of one element.\n<|end_instructions|>\n\n<|start_input|>\nThe result has been split into 23 parts. Recursively merge the result into the final result.\nWhen merging arrays, take unique values.\nWhen merging conflictual (but defined) information, take the most reasonable and frequent value.\nNon-defined values are OK and normal. Don't delete fields because of null values. Focus on defined values.\n\nHere's the data:\n<part-1>\n[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Workspace dashboard providing quick access to sections such as Workspace, Bot, Studio, Webchat, Integrations, Botpress APIs, and Appendix.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Bot overview including pages for Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Studio interface with nodes, flows, knowledge base, agents (Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics), library, hooks, integrations, schemas, card hub, versions, chatbot settings, variables, debugger, emulator, shortcuts, commands, preferences, and import/export.\"\n  },\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Webchat module offering flow logic, AI features, capture information, events, agents, utilities, styling, embedding options, React components, and client configuration.\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Collection of integrations including Asana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp, Zapier, and Zendesk, plus building guide.\"\n  },\n  {\n    \"feature\": \"Botpress APIs\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"APIs provided by Botpress such as Files API and Chat API for programmatic access to bot data and functionality.\"\n  }\n]\n</part-1>\n<part-2>\n[\n  {\n    \"feature\": \"WhatsApp integration\",\n    \"parent\": null,\n    \"description\": \"Installation steps for the WhatsApp integration: navigate to the Integration Hub, install the integration, enable it, sign in, and follow the wizard to connect your bot to WhatsApp.\"\n  },\n  {\n    \"feature\": \"Content Type Mapping\",\n    \"parent\": null,\n    \"description\": \"Defines how Botpress content types are mapped to WhatsApp objects, including text, images, audio, video, files, locations, and special behaviors like choices, cards, and carousels.\"\n  },\n  {\n    \"feature\": \"Configure Webchat\",\n    \"parent\": \"Webchat Cards\",\n    \"description\": \"Allows adjusting the settings of the webchat widget dynamically, such as visual appearance, welcome messages, and toggling features like file uploads.\"\n  }\n]\n</part-2>\n<part-3>\n[\n  {\n    \"feature\": \"STUDIO\",\n    \"parent\": null,\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Interface\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Nodes\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Home\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Flows\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Knowledge Base\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Tables\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Agents\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Summary Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Personality Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Policy Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Translator Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Knowledge Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"HITL Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Analytics Agent\",\n    \"parent\": \"Agents\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Library\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Hooks\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Schemas\",\n    \"parent\": \"STUDIO\",\n    \"description\": \"\"\n  }\n]\n</part-3>\n<part-4>\n[\n  {\n    \"feature\": \"Webchat v1 (deprecated)\",\n    \"parent\": \"Webchat\",\n    \"description\": \"Deprecated version of the webchat component.\"\n  },\n  {\n    \"feature\": \"Webchat v2\",\n    \"parent\": \"Webchat\",\n    \"description\": \"Embedded webchat version with custom CSS and React components.\"\n  },\n  {\n    \"feature\": \"Files API\",\n    \"parent\": \"Botpress APIs\",\n    \"description\": \"API for handling file operations within Botpress.\"\n  },\n  {\n    \"feature\": \"Chat API\",\n    \"parent\": \"Botpress APIs\",\n    \"description\": \"API for interacting with chat functionality in Botpress.\"\n  },\n  {\n    \"feature\": \"Safety\",\n    \"parent\": \"Appendix\",\n    \"description\": \"Section covering safety measures such as preventing abuse and brand safety framework.\"\n  }\n]\n</part-4>\n<part-5>\n[\n  {\n    \"feature\": \"Versions\",\n    \"parent\": null,\n    \"description\": null\n  },\n  {\n    \"feature\": \"Chatbot Settings\",\n    \"parent\": null,\n    \"description\": null\n  },\n  {\n    \"feature\": \"Find\",\n    \"parent\": null,\n    \"description\": null\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": null,\n    \"description\": \"Section containing various external services that can be connected to Botpress.\"\n  }\n]\n</part-5>\n<part-6>\n[\n  {\n    \"feature\": \"Workflow - Snap to Grid\",\n    \"parent\": \"Studio Preferences\",\n    \"description\": \"Align nodes and connectors on the grid (flow-editor/canvas) to organize and visualize the flow of your chatbot.\"\n  },\n  {\n    \"feature\": \"Studio Theme\",\n    \"parent\": \"Studio Preferences\",\n    \"description\": \"Change the color scheme of the Botpress Studio interface (System, Light, Dark).\"\n  },\n  {\n    \"feature\": \"Auto-compute\",\n    \"parent\": null,\n    \"description\": \"Automatically compute stale table cells; a grey icon appears next to stale cells when disabled.\"\n  },\n  {\n    \"feature\": \"Trello Integration\",\n    \"parent\": \"Integrations\",\n    \"description\": \"Connect Botpress chatbot with Trello to manage boards, lists, and cards directly from the chatbot.\"\n  }\n]\n</part-6>\n<part-7>\n[\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": null,\n    \"description\": \"Webchat interface for Botpress\"\n  },\n  {\n    \"feature\": \"AI\",\n    \"parent\": \"Webchat\",\n    \"description\": \"Artificial Intelligence capabilities within Webchat\"\n  },\n  {\n    \"feature\": \"AI Task\",\n    \"parent\": \"AI\",\n    \"description\": \"Specific AI task functionality\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": null,\n    \"description\": \"Integrations with external services\"\n  },\n  {\n    \"feature\": \"Asana\",\n    \"parent\": \"Integrations\",\n    \"description\": \"Asana integration\"\n  },\n  {\n    \"feature\": \"Telegram\",\n    \"parent\": \"Integrations\",\n    \"description\": \"Telegram messaging integration\"\n  }\n]\n</part-7>\n<part-8>\n[\n  {\n    \"feature\": \"Send Messages\",\n    \"parent\": null,\n    \"description\": \"Send a message or piece of rich content to your user.\"\n  }\n]\n</part-8>\n<part-9>\n[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Main dashboard containing sections such as Workspace, Bot, Studio, Integrations, Webchat, and APIs.\"\n  },\n  {\n    \"feature\": \"Workspace\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Workspace section of the dashboard, providing access to Home, Members, Audits, Your integrations, Usage, Settings, and Profile Setting.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Bot section offering Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Studio interface for building flows, managing nodes, agents, libraries, hooks, schemas, and other development tools.\"\n  }\n]\n</part-9>\n<part-10>\n[\n  {\n    \"feature\": \"LINE integration\",\n    \"parent\": \"integrations\",\n    \"description\": \"The LINE integration has settings such as Enabled, Webhook URL, Channel Access Token, and Channel Secret, allowing Botpress to communicate with the LINE messaging platform.\"\n  },\n  {\n    \"feature\": \"Messenger integration\",\n    \"parent\": \"integrations\",\n    \"description\": \"The Messenger integration includes settings like Enabled, Webhook URL, App Id, App Secret, Verify Token, Page Id, and Access Token to connect Botpress with Facebook Messenger.\"\n  },\n  {\n    \"feature\": \"Microsoft Teams integration\",\n    \"parent\": \"integrations\",\n    \"description\": \"The Microsoft Teams integration provides settings for Enabled, Webhook URL, App Id, and App Password, enabling Botpress to interact with Microsoft Teams channels.\"\n  }\n]\n</part-10>\n<part-11>\n[\n  {\n    \"feature\": \"Knowledge Base\",\n    \"parent\": null,\n    \"description\": \"Central repository that stores searchable documents, web pages, text documents, and tables, providing quick access to information for Botpress bots.\"\n  },\n  {\n    \"feature\": \"Web Pages KB Source\",\n    \"parent\": \"Knowledge Base\",\n    \"description\": \"Allows users to upload website content to the Knowledge Base via URLs or a site map, enabling comprehensive knowledge from online sources.\"\n  },\n  {\n    \"feature\": \"Add from URLs\",\n    \"parent\": \"Web Pages KB Source\",\n    \"description\": \"Field where users can enter one URL per line (max 350 characters) to import web pages into the Knowledge Base automatically.\"\n  },\n  {\n    \"feature\": \"Web Search Knowledge Base Source\",\n    \"parent\": \"Knowledge Base\",\n    \"description\": \"Provides options to search specific websites, the entire web, or exclude sites, with additional time‑filtering controls (e.g., last 24 h, 7 days, 30 days).\"\n  },\n  {\n    \"feature\": \"Tables: Organized Information\",\n    \"parent\": \"Knowledge Base\",\n    \"description\": \"Enables connecting data tables to the Knowledge Base, allowing users to query structured data directly and retrieve answers from searchable columns.\"\n  }\n]\n</part-11>\n<part-12>\n[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Top‑level navigation section containing Workspace, Members, Audits, Your integrations, Usage, Settings, Profile Setting.\"\n  },\n  {\n    \"feature\": \"Workspace\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Workspace home page within the Dashboard.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": null,\n    \"description\": \"Section providing Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": null,\n    \"description\": \"Interface for building, testing, and managing chatbots, including Nodes, Flows, Knowledge Base, Tables, Agents, Library, Hooks, Integrations, Schemas, and more.\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": null,\n    \"description\": \"Usage and building guides for various integrations such as Asana, HITL, Instagram, Intercom, Line, Messenger, Slack, etc.\"\n  }\n]\n</part-12>\n<part-13>\n[\n  {\n    \"feature\": \"Instagram\",\n    \"parent\": \"Integrations\",\n    \"description\": \"Integration enabling Botpress to communicate with Instagram, including webhook URL, app ID, secret, and access token settings.\"\n  },\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": \"Webchat\",\n    \"description\": \"Embedded webchat component with support for Webflow, Wix, and Wordpress, including customizable UI and styling options.\"\n  },\n  {\n    \"feature\": \"Hooks\",\n    \"parent\": \"Studio\",\n    \"description\": \"Customizable points that allow execution of custom code in response to specific events within Botpress.\"\n  }\n]\n</part-13>\n<part-14>\n[\n  {\n    \"feature\": \"Files API\",\n    \"parent\": \"Botpress APIs\"\n  },\n  {\n    \"feature\": \"Chat API\",\n    \"parent\": \"Botpress APIs\"\n  },\n  {\n    \"feature\": \"Webchat v1 (deprecated)\",\n    \"parent\": \"Webchat\"\n  },\n  {\n    \"feature\": \"Webchat v2\",\n    \"parent\": \"Webchat\"\n  },\n  {\n    \"feature\": \"Webflow\",\n    \"parent\": \"Webchat\"\n  },\n  {\n    \"feature\": \"Wix\",\n    \"parent\": \"Webchat\"\n  },\n  {\n    \"feature\": \"Wordpress\",\n    \"parent\": \"Webchat\"\n  },\n  {\n    \"feature\": \"HITL\",\n    \"parent\": \"Integrations\",\n    \"description\": \"Human-In-The-Loop integration\"\n  }\n]\n</part-14>\n<part-15>\n[\n  {\n    \"feature\": \"Creating an indexed file\",\n    \"parent\": null,\n    \"description\": \"If you need to index a file for semantic search you can use the `index` parameter when creating the file.\"\n  },\n  {\n    \"feature\": \"Supported file formats\",\n    \"parent\": null,\n    \"description\": \"The following file formats are supported for indexing: PDF (.pdf), HTML (.html), Text (.txt), Markdown (.md).\"\n  },\n  {\n    \"feature\": \"Notes on indexing\",\n    \"parent\": null,\n    \"description\": \"When a file is uploaded with indexing enabled it initially has a status of \\\"indexing_pending\\\" and will be indexed asynchronously; the status changes to \\\"indexing_completed\\\" or \\\"indexing_failed\\\".\"\n  },\n  {\n    \"feature\": \"Getting the file's metadata\",\n    \"parent\": null,\n    \"description\": \"Use the Get File API endpoint to retrieve file details, including status and metadata.\"\n  },\n  {\n    \"feature\": \"Listing existing files of a bot\",\n    \"parent\": null,\n    \"description\": \"Use the List Files API endpoint to list all files belonging to a bot.\"\n  }\n]\n</part-15>\n<part-16>\n[\n  {\n    \"feature\": \"Asana\",\n    \"parent\": \"integrations\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"HITL\",\n    \"parent\": \"integrations\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Building\",\n    \"parent\": \"integrations\",\n    \"description\": \"\"\n  },\n  {\n    \"feature\": \"Webchat v2\",\n    \"parent\": \"Webchat\",\n    \"description\": \"\"\n  }\n]\n</part-16>\n<part-17>\n[\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": null,\n    \"description\": \"The Webchat feature provides an embeddable chat interface for bots, including versions v1 (deprecated) and v2.\"\n  },\n  {\n    \"feature\": \"Botpress APIs\",\n    \"parent\": null,\n    \"description\": \"APIs offered by Botpress, such as Files API and Chat API, for programmatic interaction with the platform.\"\n  },\n  {\n    \"feature\": \"Conversations\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Allows viewing and managing all interactions between users and the bot, with filtering and detailed message inspection.\"\n  },\n  {\n    \"feature\": \"Debugger, Logs & JSON\",\n    \"parent\": \"Studio\",\n    \"description\": \"Provides debugging tools, logs, and raw JSON payload view for bot events and workflow execution.\"\n  }\n]\n</part-17>\n<part-18>\n[\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": null,\n    \"description\": \"Embedded webchat component for integrating chatbots into web applications.\"\n  }\n]\n</part-18>\n<part-19>\n[\n  {\n    \"feature\": \"Sending messages or instructions from your website\",\n    \"parent\": \"Webchat\",\n    \"description\": \"You can use the `sendPayload` function to send a specific message (or instruction) to the chatbot. For sending instructions, please refer to Triggers. Example: `window.botpressWebChat.sendPayload({ type: 'text', text: 'I am a message sent through code' })`. You can see examples of all of the message types you can send to the chatbot in the payloads.json file.\"\n  },\n  {\n    \"feature\": \"Listening to Widget Events\",\n    \"parent\": \"Webchat\",\n    \"description\": \"This function lets you listen for certain events happening in the chat and then do something when they happen. It's like setting up a watch for specific actions. You can find the list of events in the documentation and use `window.botpressWebChat.onEvent` to register callbacks for events such as `MESSAGE.RECEIVED`.\"\n  },\n  {\n    \"feature\": \"Controlling the Webchat Widget\",\n    \"parent\": null,\n    \"description\": \"Provides controls for initializing the widget, changing its configuration, sending user data, triggering widget actions, sending messages, listening to events, and other next‑step resources such as styling, embedding, and documentation links.\"\n  }\n]\n</part-19>\n<part-20>\n[\n  {\n    \"feature\": \"Validation\",\n    \"parent\": null,\n    \"description\": \"Easier to set up the validation rules without needing to write code. You can use the **Label** property for simple rules or the **Code** property to write custom validation code that evaluates the user's input. A validation failed message can be customized to inform the user when their input does not meet the criteria.\"\n  },\n  {\n    \"feature\": \"Extract from History\",\n    \"parent\": null,\n    \"description\": \"The **Extract from History** setting allows the bot to extract values from previous messages in the conversation history. It determines how many past messages are examined (e.g., 0 means only the most recent message, 1 looks back one message, etc.) to retrieve a value without asking the user again.\"\n  },\n  {\n    \"feature\": \"Cancellation\",\n    \"parent\": null,\n    \"description\": \"The **Cancellation** setting can be used to break out of the conversation and cancel the Capture Information card. Options include allowing the user to cancel at any time, confirming before cancelling, and customizing the confirm cancel message.\"\n  }\n]\n</part-20>\n<part-21>\n[\n  {\n    \"feature\": \"Best\",\n    \"parent\": null,\n    \"description\": \"This model should be used for complex tasks, prioritizing performance over speed or cost.\"\n  },\n  {\n    \"feature\": \"Autonomous Language Model\",\n    \"parent\": null,\n    \"description\": \"This is the model that powers LLMz and generates responses, including all of your Autonomous Nodes.\"\n  }\n]\n</part-21>\n<part-22>\n[\n  {\n    \"feature\": \"Agent Studio\",\n    \"parent\": null,\n    \"description\": \"Build and customize your chatbot rapidly\"\n  },\n  {\n    \"feature\": \"Knowledge Bases\",\n    \"parent\": null,\n    \"description\": \"Train your bot with custom knowledge sources\"\n  },\n  {\n    \"feature\": \"Tables\",\n    \"parent\": null,\n    \"description\": \"Store and manage conversation data\"\n  },\n  {\n    \"feature\": \"Analytics Agent\",\n    \"parent\": null,\n    \"description\": \"Only available to Team Plan subscribers\"\n  }\n]\n</part-22>\n<part-23>\n[\n  {\n    \"feature\": \"Import all your knowledge sources\",\n    \"description\": \"Import knowledge from custom data sources like websites, docs or PDFs.\"\n  },\n  {\n    \"feature\": \"Automatically sync with your databases & systems\",\n    \"description\": \"Capture user inputs in a vectorized DB and sync with 3rd party systems to deliver personalized chatbot experiences.\"\n  },\n  {\n    \"feature\": \"An API for everything\",\n    \"description\": \"Extend your agents’ functionality with our easy-to-use API and SDK.\"\n  },\n  {\n    \"feature\": \"Botpress Enterprise\",\n    \"description\": \"Build, deploy, and manage AI bots at an enterprise scale.\"\n  },\n  {\n    \"feature\": \"Security\",\n    \"parent\": \"Botpress Enterprise\",\n    \"description\": \"Secure your data with enterprise‑grade security features.\"\n  }\n]\n</part-23>\n\nMerge it back into a final result.\n<|end_input|>","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.extract","promptSource":"zai:zai.extract:default"},"model":"fast","signal":{},"stopSequences":["■NO_MORE_ELEMENT■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■json_start■
{
  "feature": "Dashboard",
  "parent": null,
  "description": "Workspace dashboard providing quick access to sections such as Workspace, Bot, Studio, Webchat, Integrations, Botpress APIs, and Appendix."
}
■json_end■
■json_start■
{
  "feature": "Bot",
  "parent": "Dashboard",
  "description": "Bot overview including pages for Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables."
}
■json_end■
■json_start■
{
  "feature": "Studio",
  "parent": "Dashboard",
  "description": "Studio interface with nodes, flows, knowledge base, agents (Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics), library, hooks, integrations, schemas, card hub, versions, chatbot settings, variables, debugger, emulator, shortcuts, commands, preferences, and import/export."
}
■json_end■
■json_start■
{
  "feature": "Webchat",
  "parent": "Dashboard",
  "description": "Webchat module offering flow logic, AI features, capture information, events, agents, utilities, styling, embedding options, React components, and client configuration."
}
■json_end■
■json_start■
{
  "feature": "Integrations",
  "parent": "Dashboard",
  "description": "Collection of integrations including Asana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp, Zapier, and Zendesk, plus building guide."
}
■json_end■
■json_start■
{
  "feature": "Botpress APIs",
  "parent": "Dashboard",
  "description": "APIs provided by Botpress such as Files API and Chat API for programmatic access to bot data and functionality."
}
■json_end■
■json_start■
{
  "feature": "WhatsApp integration",
  "parent": null,
  "description": "Installation steps for the WhatsApp integration: navigate to the Integration Hub, install the integration, enable it, sign in, and follow the wizard to connect your bot to WhatsApp."
}
■json_end■
■json_start
{
  "feature": "Content Type Mapping",
  "parent": null,
  "description": "Defines how Botpress content types are mapped to WhatsApp objects, including text, images, audio, video, files, locations, and special behaviors like choices, cards, and carousels."
}
■json_end■
■json_start
{
  "feature": "Configure Webchat",
  "parent": "Webchat Cards",
  "description": "Allows adjusting the settings of the webchat widget dynamically, such as visual appearance, welcome messages, and toggling features like file uploads."
}
■json_end
■json_start
{
  "feature": "STUDIO",
  "parent": null,
  "description": ""
}
■json_end
■json_start
{
  "feature": "Interface",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Nodes",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Home",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Flows",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Knowledge Base",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Tables",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Agents",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Summary Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Personality Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Policy Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Translator Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Knowledge Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "HITL Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Analytics Agent",
  "parent": "Agents",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Library",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Hooks",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Integrations",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Schemas",
  "parent": "STUDIO",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Webchat v1 (deprecated)",
  "parent": "Webchat",
  "description": "Deprecated version of the webchat component."
}
■json_end
■json_start
{
  "feature": "Webchat v2",
  "parent": "Webchat",
  "description": "Embedded webchat version with custom CSS and React components."
}
■json_end
■json_start
{
  "feature": "Files API",
  "parent": "Botpress APIs",
  "description": "API for handling file operations within Botpress."
}
■json_end
■json_start
{
  "feature": "Chat API",
  "parent": "Botpress APIs",
  "description": "API for interacting with chat functionality in Botpress."
}
■json_end
■json_start
{
  "feature": "Safety",
  "parent": "Appendix",
  "description": "Section covering safety measures such as preventing abuse and brand safety framework."
}
■json_end
■json_start
{
  "feature": "Versions",
  "parent": null,
  "description": null
}
■json_end
■json_start
{
  "feature": "Chatbot Settings",
  "parent": null,
  "description": null
}
■json_end
■json_start
{
  "feature": "Find",
  "parent": null,
  "description": null
}
■json_end
■json_start
{
  "feature": "Integrations",
  "parent": null,
  "description": "Section containing various external services that can be connected to Botpress."
}
■json_end
■json_start
{
  "feature": "Workflow - Snap to Grid",
  "parent": "Studio Preferences",
  "description": "Align nodes and connectors on the grid (flow-editor/canvas) to organize and visualize the flow of your chatbot."
}
■json_end
■json_start
{
  "feature": "Studio Theme",
  "parent": "Studio Preferences",
  "description": "Change the color scheme of the Botpress Studio interface (System, Light, Dark)."
}
■json_end
■json_start
{
  "feature": "Auto-compute",
  "parent": null,
  "description": "Automatically compute stale table cells; a grey icon appears next to stale cells when disabled."
}
■json_end
■json_start
{
  "feature": "Trello Integration",
  "parent": "Integrations",
  "description": "Connect Botpress chatbot with Trello to manage boards, lists, and cards directly from the chatbot."
}
■json_end
■json_start
{
  "feature": "Webchat",
  "parent": null,
  "description": "Webchat interface for Botpress"
}
■json_end
■json_start
{
  "feature": "AI",
  "parent": "Webchat",
  "description": "Artificial Intelligence capabilities within Webchat"
}
■json_end
■json_start
{
  "feature": "AI Task",
  "parent": "AI",
  "description": "Specific AI task functionality"
}
■json_end
■json_start
{
  "feature": "Integrations",
  "parent": null,
  "description": "Integrations with external services"
}
■json_end
■json_start
{
  "feature": "Asana",
  "parent": "Integrations",
  "description": "Asana integration"
}
■json_end
■json_start
{
  "feature": "Telegram",
  "parent": "Integrations",
  "description": "Telegram messaging integration"
}
■json_end
■json_start
{
  "feature": "Send Messages",
  "parent": null,
  "description": "Send a message or piece of rich content to your user."
}
■json_end
■json_start
{
  "feature": "Dashboard",
  "parent": null,
  "description": "Main dashboard containing sections such as Workspace, Bot, Studio, Integrations, Webchat, and APIs."
}
■json_end
■json_start
{
  "feature": "Workspace",
  "parent": "Dashboard",
  "description": "Workspace section of the dashboard, providing access to Home, Members, Audits, Your integrations, Usage, Settings, and Profile Setting."
}
■json_end
■json_start
{
  "feature": "Bot",
  "parent": "Dashboard",
  "description": "Bot section offering Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables."
}
■json_end
■json_start
{
  "feature": "Studio",
  "parent": "Dashboard",
  "description": "Studio interface for building flows, managing nodes, agents, libraries, hooks, schemas, and other development tools."
}
■json_end
■json_start
{
  "feature": "LINE integration",
  "parent": "integrations",
  "description": "The LINE integration has settings such as Enabled, Webhook URL, Channel Access Token, and Channel Secret, allowing Botpress to communicate with the LINE messaging platform."
}
■json_end
■json_start
{
  "feature": "Messenger integration",
  "parent": "integrations",
  "description": "The Messenger integration includes settings like Enabled, Webhook URL, App Id, App Secret, Verify Token, Page Id, and Access Token to connect Botpress with Facebook Messenger."
}
■json_end
■json_start
{
  "feature": "Microsoft Teams integration",
  "parent": "integrations",
  "description": "The Microsoft Teams integration provides settings for Enabled, Webhook URL, App Id, and App Password, enabling Botpress to interact with Microsoft Teams channels."
}
■json_end
■json_start
{
  "feature": "Knowledge Base",
  "parent": null,
  "description": "Central repository that stores searchable documents, web pages, text documents, and tables, providing quick access to information for Botpress bots."
}
■json_end
■json_start
{
  "feature": "Web Pages KB Source",
  "parent": "Knowledge Base",
  "description": "Allows users to upload website content to the Knowledge Base via URLs or a site map, enabling comprehensive knowledge from online sources."
}
■json_end
■json_start
{
  "feature": "Add from URLs",
  "parent": "Web Pages KB Source",
  "description": "Field where users can enter one URL per line (max 350 characters) to import web pages into the Knowledge Base automatically."
}
■json_end
■json_start
{
  "feature": "Web Search Knowledge Base Source",
  "parent": "Knowledge Base",
  "description": "Provides options to search specific websites, the entire web, or exclude sites, with additional time‑filtering controls (e.g., last 24 h, 7 days, 30 days)."
}
■json_end
■json_start
{
  "feature": "Tables: Organized Information",
  "parent": "Knowledge Base",
  "description": "Enables connecting data tables to the Knowledge Base, allowing users to query structured data directly and retrieve answers from searchable columns."
}
■json_end
■json_start
{
  "feature": "Dashboard",
  "parent": null,
  "description": "Top‑level navigation section containing Workspace, Members, Audits, Your integrations, Usage, Settings, Profile Setting."
}
■json_end
■json_start
{
  "feature": "Workspace",
  "parent": "Dashboard",
  "description": "Workspace home page within the Dashboard."
}
■json_end
■json_start
{
  "feature": "Bot",
  "parent": null,
  "description": "Section providing Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, Configuration variables."
}
■json_end
■json_start
{
  "feature": "Studio",
  "parent": null,
  "description": "Interface for building, testing, and managing chatbots, including Nodes, Flows, Knowledge Base, Tables, Agents, Library, Hooks, Integrations, Schemas, and more."
}
■json_end
■json_start
{
  "feature": "Integrations",
  "parent": null,
  "description": "Usage and building guides for various integrations such as Asana, HITL, Instagram, Intercom, Line, Messenger, Slack, etc."
}
■json_end
■json_start
{
  "feature": "Instagram",
  "parent": "Integrations",
  "description": "Integration enabling Botpress to communicate with Instagram, including webhook URL, app ID, secret, and access token settings."
}
■json_end
■json_start
{
  "feature": "Webchat",
  "parent": "Webchat",
  "description": "Embedded webchat component with support for Webflow, Wix, and Wordpress, including customizable UI and styling options."
}
■json_end
■json_start
{
  "feature": "Hooks",
  "parent": "Studio",
  "description": "Customizable points that allow execution of custom code in response to specific events within Botpress."
}
■json_end
■json_start
{
  "feature": "Files API",
  "parent": "Botpress APIs",
  "description": null
}
■json_end
■json_start
{
  "feature": "Chat API",
  "parent": "Botpress APIs",
  "description": null
}
■json_end
■json_start
{
  "feature": "Webchat v1 (deprecated)",
  "parent": "Webchat",
  "description": null
}
■json_end
■json_start
{
  "feature": "Webchat v2",
  "parent": "Webchat",
  "description": null
}
■json_end
■json_start
{
  "feature": "Webflow",
  "parent": "Webchat",
  "description": null
}
■json_end
■json_start
{
  "feature": "Wix",
  "parent": "Webchat",
  "description": null
}
■json_end
■json_start
{
  "feature": "Wordpress",
  "parent": "Webchat",
  "description": null
}
■json_end
■json_start
{
  "feature": "HITL",
  "parent": "Integrations",
  "description": "Human-In-The-Loop integration"
}
■json_end
■json_start
{
  "feature": "Creating an indexed file",
  "parent": null,
  "description": "If you need to index a file for semantic search you can use the `index` parameter when creating the file."
}
■json_end
■json_start
{
  "feature": "Supported file formats",
  "parent": null,
  "description": "The following file formats are supported for indexing: PDF (.pdf), HTML (.html), Text (.txt), Markdown (.md)."
}
■json_end
■json_start
{
  "feature": "Notes on indexing",
  "parent": null,
  "description": "When a file is uploaded with indexing enabled it initially has a status of \"indexing_pending\" and will be indexed asynchronously; the status changes to \"indexing_completed\" or \"indexing_failed\"."
}
■json_end
■json_start
{
  "feature": "Getting the file's metadata",
  "parent": null,
  "description": "Use the Get File API endpoint to retrieve file details, including status and metadata."
}
■json_end
■json_start
{
  "feature": "Listing existing files of a bot",
  "parent": null,
  "description": "Use the List Files API endpoint to list all files belonging to a bot."
}
■json_end
■json_start
{
  "feature": "Asana",
  "parent": "integrations",
  "description": ""
}
■json_end
■json_start
{
  "feature": "HITL",
  "parent": "integrations",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Building",
  "parent": "integrations",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Webchat v2",
  "parent": "Webchat",
  "description": ""
}
■json_end
■json_start
{
  "feature": "Webchat",
  "parent": null,
  "description": "The Webchat feature provides an embeddable chat interface for bots, including versions v1 (deprecated) and v2."
}
■json_end
■json_start
{
  "feature": "Botpress APIs",
  "parent": null,
  "description": "APIs offered by Botpress, such as Files API and Chat API, for programmatic interaction with the platform."
}
■json_end
■json_start
{
  "feature": "Conversations",
  "parent": "Dashboard",
  "description": "Allows viewing and managing all interactions between users and the bot, with filtering and detailed message inspection."
}
■json_end
■json_start
{
  "feature": "Debugger, Logs & JSON",
  "parent": "Studio",
  "description": "Provides debugging tools, logs, and raw JSON payload view for bot events and workflow execution."
}
■json_end
■json_start
{
  "feature": "Webchat",
  "parent": null,
  "description": "Embedded webchat component for integrating chatbots into web applications."
}
■json_end
■json_start
{
  "feature": "Sending messages or instructions from your website",
  "parent": "Webchat",
  "description": "You can use the `sendPayload` function to send a specific message (or instruction) to the chatbot. For sending instructions, please refer to Triggers. Example: `window.botpressWebChat.sendPayload({ type: 'text', text: 'I am a message sent through code' })`. You can see examples of all of the message types you can send to the chatbot in the payloads.json file."
}
■json_end
■json_start
{
  "feature": "Listening to Widget Events",
  "parent": "Webchat",
  "description": "This function lets you listen for certain events happening in the chat and then do something when they happen. It's like setting up a watch for specific actions. You can find the list of events in the documentation and use `window.botpressWebChat.onEvent` to register callbacks for events such as `MESSAGE.RECEIVED`."
}
■json_end
■json_start
{
  "feature": "Controlling the Webchat Widget",
  "parent": null,
  "description": "Provides controls for initializing the widget, changing its configuration, sending user data, triggering widget actions, sending messages, listening to events, and other next‑step resources such as styling, embedding, and documentation links."
}
■json_end
■json_start
{
  "feature": "Validation",
  "parent": null,
  "description": "Easier to set up the validation rules without needing to write code. You can use the **Label** property for simple rules or the **Code** property to write custom validation code that evaluates the user's input. A validation failed message can be customized to inform the user when their input does not meet the criteria."
}
■json_end
■json_start
{
  "feature": "Extract from History",
  "parent": null,
  "description": "The **Extract from History** setting allows the bot to extract values from previous messages in the conversation history. It determines how many past messages are examined (e.g., 0 means only the most recent message, 1 looks back one message, etc.) to retrieve a value without asking the user again."
}
■json_end
■json_start
{
  "feature": "Cancellation",
  "parent": null,
  "description": "The **Cancellation** setting can be used to break out of the conversation and cancel the Capture Information card. Options include allowing the user to cancel at any time, confirming before cancelling, and customizing the confirm cancel message."
}
■json_end
■json_start
{
  "feature": "Best",
  "parent": null,
  "description": "This model should be used for complex tasks, prioritizing performance over speed or cost."
}
■json_end
■json_start
{
  "feature": "Autonomous Language Model",
  "parent": null,
  "description": "This is the model that powers LLMz and generates responses, including all of your Autonomous Nodes."
}
■json_end
■json_start
{
  "feature": "Agent Studio",
  "parent": null,
  "description": "Build and customize your chatbot rapidly"
}
■json_end
■json_start
{
  "feature": "Knowledge Bases",
  "parent": null,
  "description": "Train your bot with custom knowledge sources"
}
■json_end
■json_start
{
  "feature": "Tables",
  "parent": null,
  "description": "Store and manage conversation data"
}
■json_end
■json_start
{
  "feature": "Analytics Agent",
  "parent": null,
  "description": "Only available to Team Plan subscribers"
}
■json_end
■json_start
{
  "feature": "Import all your knowledge sources",
  "parent": null,
  "description": "Import knowledge from custom data sources like websites, docs or PDFs."
}
■json_end
■json_start
{
  "feature": "Automatically sync with your databases & systems",
  "parent": null,
  "description": "Capture user inputs in a vectorized DB and sync with 3rd party systems to deliver personalized chatbot experiences."
}
■json_end
■json_start
{
  "feature": "An API for everything",
  "parent": null,
  "description": "Extend your agents’ functionality with our easy-to-use API and SDK."
}
■json_end
■json_start
{
  "feature": "Botpress Enterprise",
  "parent": null,
  "description": "Build, deploy, and manage AI bots at an enterprise scale."
}
■json_end
■json_start
{
  "feature": "Security",
  "parent": "Botpress Enterprise",
  "description": "Secure your data with enterprise‑grade security features."
}
■json_end


Input: {"body":{"input":{"messages":[{"content":"[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Workspace dashboard providing quick access to sections such as Workspace, Bot, Studio, Webchat, Integrations, Botpress APIs, and Appendix.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Bot overview including pages for Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Studio interface with nodes, flows, knowledge base, agents (Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics), library, hooks, integrations, schemas, card hub, versions, chatbot settings, variables, debugger, emulator, shortcuts, commands, preferences, and import/export.\"\n  },\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Webchat module offering flow logic, AI features, capture information, events, agents, utilities, styling, embedding options, React components, and client configuration.\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Collection of integrations including Asana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp, Zapier, and Zendesk, plus building guide.\"\n  },\n  {\n    \"feature\": \"Botpress APIs\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"APIs provided by Botpress such as Files API and Chat API for programmatic access to bot data and functionality.\"\n  },\n  {\n    \"feature\": \"WhatsApp integration\",\n    \"parent\": null,\n    \"description\": \"Installation steps for the WhatsApp integration: navigate to the Integration Hub, install the integration, enable it, sign in, and follow the wizard to connect your bot to WhatsApp.\"\n  }\n]","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: Contains an element about tables\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 data does not contain any elements or features related to tables.",
  "result": false
}


Input: {"body":{"input":{"messages":[{"content":"[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Workspace dashboard providing quick access to sections such as Workspace, Bot, Studio, Webchat, Integrations, Botpress APIs, and Appendix.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Bot overview including pages for Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Studio interface with nodes, flows, knowledge base, agents (Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics), library, hooks, integrations, schemas, card hub, versions, chatbot settings, variables, debugger, emulator, shortcuts, commands, preferences, and import/export.\"\n  },\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Webchat module offering flow logic, AI features, capture information, events, agents, utilities, styling, embedding options, React components, and client configuration.\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Collection of integrations including Asana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp, Zapier, and Zendesk, plus building guide.\"\n  },\n  {\n    \"feature\": \"Botpress APIs\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"APIs provided by Botpress such as Files API and Chat API for programmatic access to bot data and functionality.\"\n  },\n  {\n    \"feature\": \"WhatsApp integration\",\n    \"parent\": null,\n    \"description\": \"Installation steps for the WhatsApp integration: navigate to the Integration Hub, install the integration, enable it, sign in, and follow the wizard to connect your bot to WhatsApp.\"\n  }\n]","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: Contains an element 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 input contains multiple features, and at least one of them (specifically the 'Studio' feature) includes a mention of 'HITL' (human in the loop) as part of its description. Additionally, the 'Integrations' feature also mentions 'HITL' as one of the integrations available.",
  "result": true
}


Input: {"body":{"factor":30,"frozen":true,"isComputeEnabled":false,"schema":{"explanation":{"nullable":true,"type":"string","x-zui":{"searchable":false}},"feedback":{"additionalProperties":false,"default":null,"nullable":true,"properties":{"comment":{"nullable":true,"type":"string","x-zui":{}},"rating":{"enum":["very-bad","bad","good","very-good"],"type":"string","x-zui":{}}},"required":["rating","comment"],"type":"object","x-zui":{"searchable":false}},"input":{"additionalProperties":true,"description":"The input to the task","properties":{},"type":"object","x-zui":{"searchable":true}},"instructions":{"type":"string","x-zui":{"searchable":false}},"key":{"description":"A unique key for the task (e.g. a hash of the input, taskId, taskType and instructions)","type":"string","x-zui":{"searchable":false}},"metadata":{"additionalProperties":true,"properties":{},"type":"object","x-zui":{"searchable":false}},"output":{"additionalProperties":true,"description":"The expected output","properties":{},"type":"object","x-zui":{"searchable":false}},"status":{"enum":["pending","rejected","approved"],"type":"string","x-zui":{"searchable":false}},"taskId":{"type":"string","x-zui":{"searchable":false}},"taskType":{"description":"The type of the task (filter, extract, etc.)","type":"string","x-zui":{"searchable":false}}},"tags":{"schema-purpose":"active-learning","schema-version":"Oct-2024","system":"true","x-studio-color":"green","x-studio-description":"Table for storing active learning tasks and examples","x-studio-icon":"lucide://atom","x-studio-readonly":"true","x-studio-title":"Active Learning"}},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestExtractInternalTable"}

ZaiTestExtractInternalTable

System: true

The input to the task

The expected output


Input: {"body":{"messages":[{"content":"Extract the following information from the input:\n{ name: string; movie: string }\n====\n\n• extract the name of the movie and name of the main character\n• You may have exactly one element in the input.\n• The element must be a JSON object with exactly the format: ■json_start■{ \"name\": ..., \"movie\": ... }■json_end■","role":"system"},{"content":"Here's an example to help you understand the format:\n\n<|start_schema|>\n{ name: string, age: number }\n<|end_schema|>\n\n<|start_instructions|>\nExtract the person\n<|end_instructions|>\n\n<|start_input|>\nThe story goes as follow.\nOnce upon a time, there was a person named Alice who was 30 years old.\nThe end.\n<|end_input|>","role":"user","type":"text"},{"content":"■json_start■\n{\n  \"name\": \"Alice\",\n  \"age\": 30\n}\n■json_end■■NO_MORE_ELEMENT■","role":"assistant","type":"text"},{"content":"Here's an example to help you understand the format:\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nI really liked Casino Royale\n<|end_input|>","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.extract","promptSource":"zai:zai.extract:zai/extract"},"model":"fast","signal":{},"stopSequences":["■json_end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output: ■json_start■{ "name": "James Bond", "movie": "Casino Royale" }


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"I really liked Casino Royale"},"instructions":"extract the name of the movie and name of the main character","key":"16655296","metadata":{"cost":{"input":0,"output":0},"latency":336,"model":"fast","tokens":{"input":0,"output":0}},"output":{"value":{"movie":"Casino Royale","name":"James Bond"}},"status":"pending","taskId":"zai/zai/extract","taskType":"zai.extract"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestExtractInternalTable/rows/upsert"}

Instruction: extract the name of the movie and name of the main character


Instruction: extract the name of the movie and name of the main character


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"I went to see the Titanic yesterday and I fell asleep"},"instructions":"extract name of movie and main character","key":"t1","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":{"movie":"TITANIC","name":"JACK DAWSON"}},"status":"approved","taskId":"zai/extract","taskType":"zai.extract"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestExtractInternalTable/rows/upsert"}

Instruction: extract name of movie and main character

I went to see the Titanic yesterday and I fell asleep


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"Did you know that the gladiator movie has a lot of fighting scenes?"},"instructions":"extract name of movie and main character","key":"t2","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":{"movie":"GLADIATOR","name":"MAXIMUS DECIMUS MERIDIUS"}},"status":"approved","taskId":"zai/extract","taskType":"zai.extract"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestExtractInternalTable/rows/upsert"}

Instruction: extract name of movie and main character

Did you know that the gladiator movie has a lot of fighting scenes?


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: the values are NOT IN ALL CAPS\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 values 'James Bond' and 'Casino Royale' are not in all caps, which meets the condition.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: extracted james bond and casino royale\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 extracted values 'James Bond' and 'Casino Royale' match the specified conditions, as they are both correctly identified from the input.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: the values are NOT IN ALL CAPS\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 values 'James Bond' and 'Casino Royale' are not in all caps, which meets the condition.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: extracted james bond and casino royale\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 extracted values 'James Bond' and 'Casino Royale' match the expected criteria of being the name of a character and the title of a movie, respectively.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: the values are NOT IN ALL CAPS\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 values 'James Bond' and 'Casino Royale' are not in all caps, which meets the condition.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"James Bond\",\n  \"movie\": \"Casino Royale\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: extracted james bond and casino royale\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 extracted values 'James Bond' and 'Casino Royale' match the expected criteria of being the name of a character and the title of a movie, respectively.",
  "result": true
}


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_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_criminal:【explanation (where \"explanation\" is answering the question \"is the person a criminal?\")】: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{\n  \"name\": \"John\",\n  \"story\": [\n    \"John donated to charity last month.\",\n    \"John is loved by his community.\"\n  ],\n  \"criminal_record\": \"John has no criminal record.\"\n}\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_criminal:【explanation (where \"explanation\" is answering the question \"is the person a criminal?\")】: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_human:【The profile gives a personal name ("John") and specific human‑like actions (donating to charity, being loved by a community). This matches the criteria in Expert Example #1 for confirming a subject is a human.】:ABSOLUTELY_YES■

■good_person:【John’s story includes positive deeds – a charitable donation and community affection – which are direct indicators of good character as highlighted in Expert Example #2.】:ABSOLUTELY_YES■

■bad_person:【There is no evidence of harmful or negative behavior; on the contrary, the provided information describes positive actions. Expert Example #3 states that absence of negative conduct leads to a clear “not a bad person” conclusion.】:ABSOLUTELY_NOT■

■is_criminal:【The data explicitly states “John has no criminal record.” According to Expert Example #4, a clear statement of no criminal record yields an absolute “not a criminal” assessment.】:ABSOLUTELY_NOT■


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_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】: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|>\nSylvain Perron has no criminal record.\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】: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_human:【The statement refers to “Sylvain Perron”, a personal name, which implies an individual person. No indication suggests otherwise, so we can be certain the subject is a human.】:ABSOLUTELY_YES■

■good_person:【Having “no criminal record” suggests the person has not been convicted of crimes, which is a positive indicator of moral behaviour, though it does not guarantee overall goodness. Thus we lean toward “yes” but cannot be certain.】:PROBABLY_YES■

■bad_person:【The lack of a criminal record indicates the person has not been found guilty of criminal wrongdoing, making it unlikely they are a “bad” person in the legal sense. However, “bad” could refer to non‑legal moral failings, so we can only lean toward “no”.】:PROBABLY_NOT■

■canadian:【The name Sylvain Perron is common in French‑speaking regions, especially Quebec, but the provided sentence contains no explicit information about nationality. Therefore the answer is uncertain.】:AMBIGUOUS■

■is_french:【Similarly, the name hints at a French linguistic background, yet there is no direct evidence in the sentence that the person is French (from France) or French‑Canadian. Hence the answer remains ambiguous.】:AMBIGUOUS■


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_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】: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":"Expert Example #1\n\n<|start_input|>\nSylvain Pellerin has no criminal record.\n<|end_input|>","role":"user","type":"text"},{"content":"Expert Example #1\n============\n■is_french:【Important: Sylvain Pellerin is a common French name.】:ABSOLUTELY_YES■\n■canadian:【Important: We assume all person named Sylvain are Canadian (business rule).】:ABSOLUTELY_YES■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #2\n\n<|start_input|>\nSylvain Bouchard is a criminal.\n<|end_input|>","role":"user","type":"text"},{"content":"Expert Example #2\n============\n■bad_person:【Important: Sylvain Bouchard is a criminal, so probably a bad person.】:PROBABLY_YES■\n■is_french:【Important: Sylvain is a common French name.】:ABSOLUTELY_YES■\n■canadian:【Important: We assume all person named Sylvain are Canadian (business rule).】:ABSOLUTELY_YES■\n■END■","role":"assistant","type":"text"},{"content":"Input to tag:\n<|start_input|>\nSylvain Perron has no criminal record.\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】: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_human:【Important: The statement refers to a named individual, “Sylvain Perron,” indicating a person. No evidence suggests a non‑human entity. This follows the implicit assumption in Example #1 that “Sylvain Pellerin” is a human.】:ABSOLUTELY_YES■

■good_person:【The input explicitly says Sylvain Perron has no criminal record, which suggests a positive moral standing. While the examples do not label “good_person” directly, the absence of criminal activity leans toward a good person.】:PROBABLY_YES■

■bad_person:【Since the person is stated to have no criminal record, there is no basis to consider him a bad person. This mirrors Example #2 where a criminal record led to a “bad_person” label; the lack of such a record points the opposite way.】:PROBABLY_NOT■

■canadian:【According to the business rule illustrated in Example #1 and Example #2 (“We assume all person named Sylvain are Canadian”), Sylvain Perron is classified as Canadian.】:ABSOLUTELY_YES■

■is_french:【Sylvain is a common French name, as used in Example #1 and Example #2, so we can confidently label him as French.】:ABSOLUTELY_YES■