{"id":149583,"date":"2026-05-01T11:00:00","date_gmt":"2026-05-01T02:00:00","guid":{"rendered":"https:\/\/support.questetra.com\/?p=149583"},"modified":"2026-05-01T11:03:39","modified_gmt":"2026-05-01T02:03:39","slug":"service-task-openai-chatgpt-chat","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-openai-chatgpt-chat\/","title":{"rendered":"OpenAI ChatGPT: Chat"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113160\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/how-to-use-timer-start-event\/attachment\/advanced-banner-new-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"advanced-banner-new-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en-1024x58.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113160\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ccffcc;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>OpenAI ChatGPT: Chat<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ccffcc;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-openai-chatgpt-chat\/\">OpenAI ChatGPT: \u30c1\u30e3\u30c3\u30c8<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#f0fff0;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--40)\">This item sends a message to OpenAI ChatGPT and stores the response in the specified data item.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\" style=\"margin-top: 0px;\"><img decoding=\"async\" src=\"data:image\/png;base64,\n        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABclJREFUWEfN\n        V3tQlFUU\/12esiCwrCIhKugiL0VAUASc8pEZmI2K5Wu3MRtDK5Wm0RlndAEbK2VEa\/JRYQZkmu9I\n        a\/KVvBQfgOKKDwhwDUXQXcTl4QK3uRd2XdhvgbFm6P73fd895\/zOOb\/z+Aj6+JDe2nfflSBqtMds\n        2kYngdBgAJ4AEbfLUzWAClBSSCzIWTstDle9n9DQG909Ahj4vcJNZ4k1hCCOAv16qbSJUuy0bsUX\n        NYsTH3Qn0y0AcZoijhKaDBD73hg2vUO1hJJP1PLEnebkzQJwSk\/YTkCXvZjhzlIUZEedLGG5kC5B\n        AE7p6\/cSkPn\/hXG9Dgr6U50saUFXnSYAevL8Q78IvD08EEMdnKFra8PVx\/exveQ8TleV9ohXKBKd\n        ALTnHDuENDlY2yI1ag4mu0tR3ViPwkdVcLLphzEuL8ECBPv+ugoLQnC59m9kqkrwVNcsCIhQLDPm\n        hAEAZ7sVLTVHuM1h0ZB7j8WxSiU+vnicG3AXOWJj6HTEDPGFFbEwGNQ8a0Tq7Uv4tOiMAAiqtW4h\n        Un11GAA4pylSQLCqqwTzfIV\/BN6RjsWDxnrEnNzDja8KiMJyvwkQ29ohr7oSm4vPIae6AjOG+GF1\n        4MvwdpRge8kFbCg6LVAc2KqRJ8azDxwAbzIi+qhrnU9198bG0NcgdZSAgCC9tABppQXYFBaNQBc3\n        XFdXcwMs\/+yuSqvBrboa+DgNRGpULBysbfBeziFcrr3XCQQBmuwaiIQ1Kw5AnJGwiFKabnxLr2Sw\n        vSMOlhdj3vAxOFKpRO7DSiiCpmDPnSvYVHwOMmkIlvuGw8d5IOp1zZwLG4rO8Kgt9RmPFGU2tilz\n        TaJACJGpFyVkcADOaYpUELxrfEsRPBVLfcZh18183HpSi+SwaA7gYo0KH\/lH4PNrf0IuHYtgiTuO\n        q25y4rH3YQM8cE9bx58XjgjG7tuXsPHqWaE07NbIE5e0A0hfXwAQ1t8N59AUGaT9JVicfQDeTgMM\n        ABgP4nzD0UYp7jyphcRWBArwUmTEYxGJD4iCZ38xmltbOFChCAC0UCNLCtEDePx8sLRjODpVzlk+\n        +bdvOcv1EWAA5NIQbC7O4gYZSTeFvY5Yz9G4oXnIOZFfo8JnodMR6zkKRytvYFneEaFqUGtkSS4d\n        ABTMiU7nqwlvcsOrL55AU2sLtoW\/wWufNZ7ZnqOw8sIvyHpQzmXWjpmEt7wCOYDIQcNwuEKJ+PxM\n        7J+0AEESd3yQdwynqu6YgNDIEolZAMxI8rgY3K6rwcoLmfCwd8K6oCnwd3ZFbZMWcXlHOgGY6xXI\n        QbEKYSc882usDIhEfMBEfHMrX5AHRgDWm6SAKdkVORtzvUajol6NFGUOL0OWY9YD2PlSmQt\/sSuv\n        EK3uGQdlDGDRiGAkhrzKU2VKRGqcAlMS6nng5+SKhlYdj4Cyo+5ZjndGzMJ0j5G4+1SD8w\/vImLQ\n        MJMIbBk3g6dr7ZXfsbesqEsKjEkoUIZ6AF4OLliSc5BHgnlqY2GFR81aWBNL\/FhWiC3KHKwKiOQk\n        XGGUgqTC09gyPgZVDfWYeeoH09lA8bwMhRoRA8D6\/\/wRQUguzsJWZQ5CB3jwEnuiaza02A0h0xA9\n        xBd3n6qx8Nw+ZLw8D4NFjtxbdo\/xR4iAnRqRuVbMDH4XNQe2llZQFJzEz+XXuGJWeuuCJhsickJ1\n        E+sK\/uBlu3tiLFxsRXw+sE7ZtQ0zeZNWzJuRmWHEiMTY72xrx\/PNmoubqD8fxXpO6HeBHRGzMHOo\n        H5KvZyPlerZA7Xe8ol2GEXvd3Thmnq0JfIW3WXsrGzja2PLxe6C8GBllhZygS0aGYYLrUORWV0KW\n        td\/sPgCYGccMRHcLibE7UYM8kRQyjU9Ey449oLFFh19VJYZdwZz7ZhcSvUBPK5mxYjYxR4vd8Kyt\n        FWful3XjdbtUjyvZcxB9uJS+SCTMs82853qZ\/++PiR5hn\/6aGYe2z35Oe8rvv\/3+D7A\/zj\/ftsWS\n        AAAAAElFTkSuQmCC\n    \" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-6-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Basic Configs<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Step Name<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Note<\/dd>\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Auth<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: Authorization Setting in which Project API Key is set<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_OrganizationId<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C-deprecated: Organization ID (Default organization if blank)\n            <\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Model<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Model<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_MaxTokens<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Maximum number of tokens to consume (2048 if blank)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_ReasoningEffort<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: Reasoning Effort (Only for o-, gpt-5 and later series)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Verbosity<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C5: Verbosity (Only for gpt-5 and later series)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Temperature<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C6: Temperature (0.0 &#8211; 2.0) (1.0 if blank)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_StopSequences<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C7: Stop Sequences (write one per line, up to four)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_GPT_Role<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C8: Role for ChatGPT<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Message1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U1: User Message<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Images1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">I1: Images to attach to user message<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Images1Detail<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">I1-D: Fidelity of image understanding (auto if not selected)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Answer1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: Data item to save response from ChatGPT<span style=\"color:#990000;\"> *<\/span><\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Project API Keys can be created <a href=\"https:\/\/platform.openai.com\/api-keys\" data-type=\"link\" data-id=\"https:\/\/platform.openai.com\/account\/api-keys\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/li>\n\n\n\n<li>In [C2: Model], if you want to use a model that is not listed in the pull-down menu, select \u201cFixed Value\u201d and enter the model name in the input field.\n<ul class=\"wp-block-list\">\n<li>Model names should be written according to OpenAI documentation\n<ul class=\"wp-block-list\">\n<li>See the \u201c<a href=\"https:\/\/platform.openai.com\/docs\/models\/\" data-type=\"link\" data-id=\"https:\/\/platform.openai.com\/docs\/models\/\" target=\"_blank\" rel=\"noreferrer noopener\">Models<\/a>\u201d in the OpenAI Platform documentation<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Only models accessible through the Chat Completions endpoints can be used\n<ul class=\"wp-block-list\">\n<li>For the endpoints, please refer to the details of each model&#8217;s details in the OpenAI documentation above<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>[I1: Images to attach to user message] is only available on certain models\n<ul class=\"wp-block-list\">\n<li>For more details, please refer to the <a href=\"https:\/\/platform.openai.com\/docs\/guides\/images\" target=\"_blank\" rel=\"noreferrer noopener\">OpenAI documentation<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full has-custom-border is-style-rounded is-style-rounded--1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1432\" height=\"1494\" data-attachment-id=\"183637\" data-permalink=\"https:\/\/support.questetra.com\/en\/chatgpt-chat-completion_en-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?fit=1432%2C1494&amp;ssl=1\" data-orig-size=\"1432,1494\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"chatgpt-chat-completion_en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?fit=604%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?resize=1432%2C1494&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-183637\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?w=1432&amp;ssl=1 1432w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?resize=302%2C315&amp;ssl=1 302w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?resize=604%2C630&amp;ssl=1 604w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/05\/chatgpt-chat-completion_en.png?resize=768%2C801&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">See Also<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<ul class=\"wp-block-list\">\n<li>An XML file that contains the code below is available to download\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/gh-cdn.questetra.net\/Questetra\/Addon-XML\/release-2026-04-16\/chatgpt-chat-completion.xml\" target=\"_blank\" rel=\"noreferrer noopener\">chatgpt-chat-completion.xml<\/a> (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>If you are using Professional, you can modify the contents of this file and use it as your own add-on auto step<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\n\nconst MAX_TOKENS_DEFAULT = 2048;\nconst MAX_IMAGE_SIZE = 20971520; \/\/ ChatGPT \u306e\u5236\u9650\u30021 \u30d5\u30a1\u30a4\u30eb\u306b\u3064\u304d 20 MB \u307e\u3067\nconst AVAILABLE_IMAGE_TYPES = [&#39;image\/jpeg&#39;, &#39;image\/png&#39;, &#39;image\/gif&#39;, &#39;image\/webp&#39;];\n\nfunction main() {\n    \/\/\/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u30fb\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 \/ Config & Data Retrieving ==\n    const auth = configs.getObject(&#39;conf_Auth&#39;);   \/\/\/ REQUIRED\n    const organizationId = configs.get(&#39;conf_OrganizationId&#39;);\n    const model = configs.get(&#39;conf_Model&#39;);\n    const maxTokens = retrieveMaxTokens();\n    const reasoningEffort = retrieveSelectItem(&#39;conf_ReasoningEffort&#39;);\n    const verbosity = retrieveSelectItem(&#39;conf_Verbosity&#39;);\n    const temperature = retrieveTemperature();\n    const stopSequences = retrieveStopSequences();\n\n    \/\/ https:\/\/platform.openai.com\/docs\/guides\/safety-best-practices\n    \/\/ Sending end-user IDs in your requests can be a useful tool to help OpenAI monitor and detect abuse.\n    const requestUser = `m${processInstance.getProcessModelInfoId().toString()}`;\n\n    const gptRole = configs.get(&#39;conf_GPT_Role&#39;);    \/\/ NotRequired\n    const message1 = configs.get(&#39;conf_Message1&#39;);    \/\/\/ REQUIRED\n    if (message1 === &#39;&#39;) {\n        throw new Error(&#39;User Message is empty.&#39;);\n    }\n    const imageUrls1 = retrieveImageUrls(&#39;conf_Images1&#39;);\n    const imageDetail1 = retrieveSelectItem(&#39;conf_Images1Detail&#39;);\n\n    \/\/\/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\n    const answer1 = createChat(auth, organizationId, model, maxTokens, reasoningEffort, verbosity, temperature, stopSequences, requestUser, gptRole, message1, imageUrls1, imageDetail1);\n\n    \/\/\/\/\/\/ == \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 \/ Data Updating ==\n    saveData(&#39;conf_Answer1&#39;, answer1 ?? &#39;&#39;);\n}\n\n\/**\n * SELECT_ITEM \u306e\u8a2d\u5b9a\u5024\u3092\u53d6\u5f97\u3059\u308b\n * \u7a7a\u306e\u5834\u5408\u3001undefined \u3092\u8fd4\u3059\n * @param configName\n * @returns {undefined|String}\n *\/\nconst retrieveSelectItem = (configName) =&gt; {\n    const value = configs.get(configName);\n    if (value === &#39;&#39;) {\n        return undefined;\n    }\n    return value;\n};\n\n\/**\n * config \u304b\u3089\u3001max_completion_tokens \u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u6700\u5927\u30c8\u30fc\u30af\u30f3\u6570\u3092\u8aad\u307f\u51fa\u3059\n * max_tokens \u306f Deprecated\n * \u6307\u5b9a\u306a\u3057\u306e\u5834\u5408\u306f 2048 \u3092\u8fd4\u3059\n * @returns {Number}\n *\/\nconst retrieveMaxTokens = () =&gt; {\n    const maxTokens = configs.get(&#39;conf_MaxTokens&#39;);\n    if (maxTokens === &#39;&#39;) {\n        return MAX_TOKENS_DEFAULT;\n    }\n    const regExp = new RegExp(\/^[1-9][0-9]*$\/);\n    if (!regExp.test(maxTokens)) {\n        throw new Error(&#39;Maximum number of tokens must be a positive integer.&#39;);\n    }\n    return parseInt(maxTokens, 10);\n};\n\n\/**\n * config \u304b\u3089\u6e29\u5ea6\u3092\u8aad\u307f\u51fa\u3059\n * \u6307\u5b9a\u306a\u3057\u306e\u5834\u5408\u30011 \u3092\u8fd4\u3059\n * @returns {Number}\n *\/\nconst retrieveTemperature = () =&gt; {\n    const temperature = configs.get(&#39;conf_Temperature&#39;);\n    if (temperature === &#39;&#39;) {\n        return 1;\n    }\n    const regExp = \/^([0-1](\\.\\d+)?|2(\\.0+)?)$\/;\n    if (!regExp.test(temperature)) {\n        throw new Error(&#39;Temperature must be a number from 0 to 2.&#39;);\n    }\n    return parseFloat(temperature);\n};\n\nconst MAX_STOP_SEQUENCE_NUM = 4;\n\n\/**\n * config \u304b\u3089\u505c\u6b62\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u8aad\u307f\u51fa\u3059\n * @returns {Array&lt;String&gt;}\n *\/\nconst retrieveStopSequences = () =&gt; {\n    const stopSequencesStr = configs.get(&#39;conf_StopSequences&#39;);\n    if (stopSequencesStr === &#39;&#39;) {\n        return [];\n    }\n    const stopSequences = stopSequencesStr.split(&#39;\\n&#39;)\n        .filter(s =&gt; s !== &#39;&#39;);\n    if (stopSequences.length &gt; MAX_STOP_SEQUENCE_NUM) {\n        throw new Error(`Too many stop sequences. The maximum number is ${MAX_STOP_SEQUENCE_NUM}.`);\n    }\n    return stopSequences;\n};\n\n\/**\n * config \u304b\u3089\u6dfb\u4ed8\u753b\u50cf\u3092\u8aad\u307f\u51fa\u3057\u3001image_url \u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u8a2d\u5b9a\u3059\u308b\u6587\u5b57\u5217\u306e\u914d\u5217\u3068\u3057\u3066\u8fd4\u3059\n * @param configName\n * @returns {Array&lt;String&gt;} imageUrls\n *\/\nconst retrieveImageUrls = (configName) =&gt; {\n    const imagesDef = configs.getObject(configName);\n    if (imagesDef === null) {\n        return [];\n    }\n    const images = engine.findData(imagesDef);\n    if (images === null) {\n        return [];\n    }\n    const imageUrls = [];\n    images.forEach(image =&gt; {\n        if (image.getLength() &gt; MAX_IMAGE_SIZE) {\n            throw new Error(`Attached image &quot;${image.getName()}&quot; is too large. Each file must be less than ${MAX_IMAGE_SIZE} bytes.`);\n        }\n        const contentType = image.getContentType();\n        if (!AVAILABLE_IMAGE_TYPES.includes(contentType)) {\n            throw new Error(`Content-Type of &quot;${image.getName()}&quot; is not supported. Supported types are: ${AVAILABLE_IMAGE_TYPES.join(&#39;, &#39;)}.`);\n        }\n        imageUrls.push(`data:${contentType};base64,${base64.encodeToString(fileRepository.readFile(image))}`);\n    });\n    return imageUrls;\n};\n\n\/**\n * \u30c1\u30e3\u30c3\u30c8\u306e\u5b9f\u884c\n * @param auth\n * @param organizationId\n * @param model\n * @param maxTokens\n * @param reasoningEffort\n * @param verbosity\n * @param temperature\n * @param stopSequences\n * @param requestUser\n * @param gptRole\n * @param message1\n * @param imageUrls1\n * @param imageDetail1\n * @returns {String} answer1\n *\/\nconst createChat = (auth, organizationId, model, maxTokens, reasoningEffort, verbosity, temperature, stopSequences, requestUser, gptRole, message1, imageUrls1, imageDetail1) =&gt; {\n    \/\/\/\/ OpenAI API &gt; Documentation &gt; API REFERENCE &gt; CHAT\n    \/\/\/\/ https:\/\/platform.openai.com\/docs\/api-reference\/chat\n\n    \/\/\/ prepare json\n    const requestJson = {\n        safety_identifier: requestUser,\n        model,\n        n: 1,\n        max_completion_tokens: maxTokens,\n        reasoning_effort: reasoningEffort,\n        verbosity,\n        temperature,\n        messages: []\n    };\n    if (gptRole !== &#39;&#39;) {\n        requestJson.messages.push({\n            role: &#39;system&#39;,\n            content: gptRole\n        });\n    }\n    if (stopSequences.length &gt; 0) { \/\/ \u30e2\u30c7\u30eb\u306b\u3088\u3063\u3066\u306f\u3001\u7a7a\u914d\u5217\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\n        requestJson.stop = stopSequences;\n    }\n    const message1Content = [];\n    message1Content.push({\n        type: &#39;text&#39;,\n        text: message1\n    });\n    imageUrls1.forEach(imageUrl =&gt; {\n        const imageObj = {\n            type: &#39;image_url&#39;,\n            image_url: {\n                url: imageUrl\n            }\n        };\n        imageObj.image_url.detail = imageDetail1;\n        message1Content.push(imageObj);\n    });\n    requestJson.messages.push({\n        role: &#39;user&#39;,\n        content: message1Content\n    });\n\n    let request = httpClient.begin().authSetting(auth)\n        .body(JSON.stringify(requestJson), &#39;application\/json&#39;);\n    if (organizationId !== null && organizationId !== &#39;&#39;) {\n        request = request.header(&#39;OpenAI-Organization&#39;, organizationId);\n    }\n    const response = request.post(&#39;https:\/\/api.openai.com\/v1\/chat\/completions&#39;);\n\n    const responseCode = response.getStatusCode();\n    const responseBody = response.getResponseAsString();\n    if (responseCode !== 200) {\n        engine.log(responseBody);\n        throw new Error(`Failed to request. status: ${responseCode}`);\n    }\n    const {choices, usage} = JSON.parse(responseBody);\n    const finishReason = choices[0].finish_reason;\n    const answer1 = choices[0].message.content;\n    engine.log(`Finish Reason: ${finishReason}`);\n    engine.log(`Prompt Tokens: ${usage.prompt_tokens}`);\n    engine.log(`Completion Tokens: ${usage.completion_tokens}`);\n    engine.log(`Completion Tokens Details: ${JSON.stringify(usage.completion_tokens_details)}`);\n    if (answer1 === undefined || answer1 === null || answer1 === &#39;&#39;) {\n        throw new Error(`No response content generated. Finish Reason: ${finishReason}`);\n    }\n    return answer1;\n};\n\n\/**\n * \u30c7\u30fc\u30bf\u9805\u76ee\u3078\u306e\u4fdd\u5b58\n * @param configName\n * @param data\n *\/\nconst saveData = (configName, data) =&gt; {\n    const def = configs.getObject(configName);\n    if (def === null) {\n        return;\n    }\n    engine.setData(def, data);\n};\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item sends a message to OpenAI ChatGPT and stores the response in the specified data item.<\/p>\n","protected":false},"author":17,"featured_media":149944,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[551],"tags":[3429],"class_list":["post-149583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons","tag-openai-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/bpmn-icon-service-task-openai-chat.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Shiho Tatsumi","author_link":"https:\/\/support.questetra.com\/en\/author\/tatsumi48c607ec82\/"},"uagb_comment_info":8,"uagb_excerpt":"This item sends a message to OpenAI ChatGPT and stores the response in the specified data item.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-CUD","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":148012,"url":"https:\/\/support.questetra.com\/en\/templates\/agreement-conclusion-flow-20230526\/","url_meta":{"origin":149583,"position":0},"title":"Contract Approval Flow, ChatGPT Linkage","author":"furuzo","date":"2023-07-13","format":false,"excerpt":"Field Name, num, Initial Value Download Contract_Approval_Flow__ChatGPT_Linkage.qar (Latest) agreement-conclusion-flow-20230526-en.qar agreement-conclusion-flow-20230526-en.xml.csv (for Importing Data Item Definitions) This archive contains the BPMN icons that are not available in the Basic edition. Notes [OpenAI: Chat, Interact with Parameters] add-on configuration (\"Contract Approval Flow, ChatGPT Linkage\" workflow App) Recommended set values (as of 2023-05)\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/eyecatch-agreement-conclusion-flow-20230526-en.png?fit=960%2C540&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/eyecatch-agreement-conclusion-flow-20230526-en.png?fit=960%2C540&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/eyecatch-agreement-conclusion-flow-20230526-en.png?fit=960%2C540&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/eyecatch-agreement-conclusion-flow-20230526-en.png?fit=960%2C540&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":150657,"url":"https:\/\/support.questetra.com\/en\/templates\/translation-request-20230825\/","url_meta":{"origin":149583,"position":1},"title":"Translation Support App, ChatGPT Integration","author":"Peter Glover","date":"2023-08-31","format":false,"excerpt":"The app for requesting a translation (English translation) of a specified text. ChatGPT automatically generates a draft translation of the draft entered by the requester. The translator completes the translation using the draft translation created by ChatGPT.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/translation-request-20230825-capture-en.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/translation-request-20230825-capture-en.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/translation-request-20230825-capture-en.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/translation-request-20230825-capture-en.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":151097,"url":"https:\/\/support.questetra.com\/en\/addons\/azure-openai-service-chat-interact-with-parameters\/","url_meta":{"origin":149583,"position":2},"title":"Azure OpenAI Service #Chat: Interact with Parameters","author":"Tsuyoshi Kusaka","date":"2023-09-11","format":false,"excerpt":"Communicates with Azure OpenAI Service API (ChatGPT running on Microsoft infrastructure). Supports the assignment of advanced parameters. Specifically, sampling temperature, upper % sampling, recurrence prohibition, frequency prohibition and Logit bias can be set.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-azure-openai-service-chat-interact-with-parameters-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-azure-openai-service-chat-interact-with-parameters-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-azure-openai-service-chat-interact-with-parameters-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-azure-openai-service-chat-interact-with-parameters-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-azure-openai-service-chat-interact-with-parameters-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":151288,"url":"https:\/\/support.questetra.com\/en\/templates\/decision-making-request-flow-chatgpt-assist-20230817\/","url_meta":{"origin":149583,"position":3},"title":"Approval Flow, ChatGPT Decision Assistance","author":"Peter Glover","date":"2023-09-14","format":false,"excerpt":"The approval app supports decision-making. An item to be approved is automatically presented for each type and purpose, such as purchases, contracts and business entertainment. The decision-maker approves the request with reference to the items to be approved.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-decision-making-request-flow-chatgpt-assist-20230817-en.png?fit=960%2C540&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-decision-making-request-flow-chatgpt-assist-20230817-en.png?fit=960%2C540&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-decision-making-request-flow-chatgpt-assist-20230817-en.png?fit=960%2C540&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/09\/eyecatch-decision-making-request-flow-chatgpt-assist-20230817-en.png?fit=960%2C540&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":147938,"url":"https:\/\/support.questetra.com\/en\/templates\/slogan-create-20230517\/","url_meta":{"origin":149583,"position":4},"title":"Slogan Creation App, ChatGPT Collaboration","author":"Tsuyoshi Kusaka","date":"2023-07-11","format":false,"excerpt":"The app allows ChatGPT to suggest product catch copy ideas. A case starts automatically every morning at 07:00 and five copy suggestions are posted on the company's social network (Open Chat). The task input screen also allows users to change the proposal conditions and request a resubmission of the proposal.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/slogan-create-20230517-capture-en.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/slogan-create-20230517-capture-en.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/slogan-create-20230517-capture-en.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/slogan-create-20230517-capture-en.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/slogan-create-20230517-capture-en.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":175598,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/ai-service-comparison\/","url_meta":{"origin":149583,"position":5},"title":"Comparison and Utilization Guide for Generative AI Automation Items","author":"komatsuquestetra","date":"2025-09-08","format":false,"excerpt":"We will explain the features of AI Auto-steps and how to use them.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/08\/ai-service-comparison-v2.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=149583"}],"version-history":[{"count":29,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149583\/revisions"}],"predecessor-version":[{"id":183645,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/149583\/revisions\/183645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/149944"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=149583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=149583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=149583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}