{"id":143466,"date":"2023-03-08T14:14:44","date_gmt":"2023-03-08T05:14:44","guid":{"rendered":"https:\/\/support.questetra.com\/?p=143466"},"modified":"2023-03-20T17:31:31","modified_gmt":"2023-03-20T08:31:31","slug":"openai-chat-interact-with-parameters-2023","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-interact-with-parameters-2023\/","title":{"rendered":"OpenAI: Chat, \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71"},"content":{"rendered":"\n<div style=\"text-align: center; background: #FFFF66; margin: 1em; padding: 1em;\">\n<h3><span class=\"material-icons\">warning<\/span> PAGE UPDATED<\/h3>\n<a href=\"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-interact-with-parameters-202303\/\">https:\/\/support.questetra.com\/ja\/addons\/openai-chat-interact-with-parameters-202303\/<\/a>\n<\/div>\n\n\n\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ffccff;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: Chat, \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71<\/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:#ffccff;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\/addons\/openai-chat-interact-with-parameters-2023\/\">OpenAI: Chat, Interact with Parameters<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#fff0ff;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)\">OpenAI API (ChatGPT) \u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3057\u307e\u3059\u3002\u4f1a\u8a71\u5c65\u6b74\u3092\u3075\u307e\u3048\u305f\u518d\u8cea\u554f\u3084\u9ad8\u5ea6\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ed8\u3051\u305f\u6307\u793a\uff08PROMPT\uff09\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u3001\u4e0a\u4f4d\uff05\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3001\u518d\u51fa\u73fe\u7981\u6b62\u5ea6\u3001\u983b\u51fa\u7981\u6b62\u5ea6\u3001Logit\u30d0\u30a4\u30a2\u30b9\u306a\u3069\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u3055\u308c\u308b\u30e2\u30c7\u30ebID\u306f &#8220;gpt-3.5-turbo&#8221; \u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABclJREFUWEfN\nV3tQlFUU\/12esiCwrCIhKugiL0VAUASc8pEZmI2K5Wu3MRtDK5Wm0RlndAEbK2VEa\/JRYQZkmu9I\na\/KVvBQfgOKKDwhwDUXQXcTl4QK3uRd2XdhvgbFm6P73fd895\/zOOb\/z+Aj6+JDe2nfflSBqtMds\n2kYngdBgAJ4AEbfLUzWAClBSSCzIWTstDle9n9DQG909Ahj4vcJNZ4k1hCCOAv16qbSJUuy0bsUX\nNYsTH3Qn0y0AcZoijhKaDBD73hg2vUO1hJJP1PLEnebkzQJwSk\/YTkCXvZjhzlIUZEedLGG5kC5B\nAE7p6\/cSkPn\/hXG9Dgr6U50saUFXnSYAevL8Q78IvD08EEMdnKFra8PVx\/exveQ8TleV9ohXKBKd\nALTnHDuENDlY2yI1ag4mu0tR3ViPwkdVcLLphzEuL8ECBPv+ugoLQnC59m9kqkrwVNcsCIhQLDPm\nhAEAZ7sVLTVHuM1h0ZB7j8WxSiU+vnicG3AXOWJj6HTEDPGFFbEwGNQ8a0Tq7Uv4tOiMAAiqtW4h\nUn11GAA4pylSQLCqqwTzfIV\/BN6RjsWDxnrEnNzDja8KiMJyvwkQ29ohr7oSm4vPIae6AjOG+GF1\n4MvwdpRge8kFbCg6LVAc2KqRJ8azDxwAbzIi+qhrnU9198bG0NcgdZSAgCC9tABppQXYFBaNQBc3\nXFdXcwMs\/+yuSqvBrboa+DgNRGpULBysbfBeziFcrr3XCQQBmuwaiIQ1Kw5AnJGwiFKabnxLr2Sw\nvSMOlhdj3vAxOFKpRO7DSiiCpmDPnSvYVHwOMmkIlvuGw8d5IOp1zZwLG4rO8Kgt9RmPFGU2tilz\nTaJACJGpFyVkcADOaYpUELxrfEsRPBVLfcZh18183HpSi+SwaA7gYo0KH\/lH4PNrf0IuHYtgiTuO\nq25y4rH3YQM8cE9bx58XjgjG7tuXsPHqWaE07NbIE5e0A0hfXwAQ1t8N59AUGaT9JVicfQDeTgMM\nABgP4nzD0UYp7jyphcRWBArwUmTEYxGJD4iCZ38xmltbOFChCAC0UCNLCtEDePx8sLRjODpVzlk+\n+bdvOcv1EWAA5NIQbC7O4gYZSTeFvY5Yz9G4oXnIOZFfo8JnodMR6zkKRytvYFneEaFqUGtkSS4d\nABTMiU7nqwlvcsOrL55AU2sLtoW\/wWufNZ7ZnqOw8sIvyHpQzmXWjpmEt7wCOYDIQcNwuEKJ+PxM\n7J+0AEESd3yQdwynqu6YgNDIEolZAMxI8rgY3K6rwcoLmfCwd8K6oCnwd3ZFbZMWcXlHOgGY6xXI\nQbEKYSc882usDIhEfMBEfHMrX5AHRgDWm6SAKdkVORtzvUajol6NFGUOL0OWY9YD2PlSmQt\/sSuv\nEK3uGQdlDGDRiGAkhrzKU2VKRGqcAlMS6nng5+SKhlYdj4Cyo+5ZjndGzMJ0j5G4+1SD8w\/vImLQ\nMJMIbBk3g6dr7ZXfsbesqEsKjEkoUIZ6AF4OLliSc5BHgnlqY2GFR81aWBNL\/FhWiC3KHKwKiOQk\nXGGUgqTC09gyPgZVDfWYeeoH09lA8bwMhRoRA8D6\/\/wRQUguzsJWZQ5CB3jwEnuiaza02A0h0xA9\nxBd3n6qx8Nw+ZLw8D4NFjtxbdo\/xR4iAnRqRuVbMDH4XNQe2llZQFJzEz+XXuGJWeuuCJhsickJ1\nE+sK\/uBlu3tiLFxsRXw+sE7ZtQ0zeZNWzJuRmWHEiMTY72xrx\/PNmoubqD8fxXpO6HeBHRGzMHOo\nH5KvZyPlerZA7Xe8ol2GEXvd3Thmnq0JfIW3WXsrGzja2PLxe6C8GBllhZygS0aGYYLrUORWV0KW\ntd\/sPgCYGccMRHcLibE7UYM8kRQyjU9Ey449oLFFh19VJYZdwZz7ZhcSvUBPK5mxYjYxR4vd8Kyt\nFWful3XjdbtUjyvZcxB9uJS+SCTMs82853qZ\/++PiR5hn\/6aGYe2z35Oe8rvv\/3+D7A\/zj\/ftsWS\nAAAAAElFTkSuQmCC\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-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\">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: #C3C3C3;\">AuthzConfU<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U: HTTP\u8a8d\u8a3c\u8a2d\u5b9a\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08Secret API Key \uff20\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff09<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">StrConfA0<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A0: \u30ec\u30b9\u30dd\u30f3\u30b9\u8005\u306e\u5f79\u5272\uff08SYSTEM Role\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfPro1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Pro1: \u521d\u56de\u306e\u6307\u793a\u6587\uff08PROMPT\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfCom1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Com1: \u521d\u56de\u6307\u793a\u6587\u306e\u56de\u7b54\u6587\uff08COMPLETION\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfPro2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Pro2: \uff12\u56de\u76ee\u306e\u6307\u793a\u6587\uff08PROMPT\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfCom2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Com2: \u7b2c\uff12\u6307\u793a\u6587\u306e\u56de\u7b54\u6587\uff08COMPLETION\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfPro3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Pro3: \uff13\u56de\u76ee\u306e\u6307\u793a\u6587\uff08PROMPT\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfCom3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Com3: \u7b2c\uff13\u6307\u793a\u6587\u306e\u56de\u7b54\u6587\uff08COMPLETION\uff09\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfA1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: \u30ea\u30af\u30a8\u30b9\u30c8 PROMPT \u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfA2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A2: \u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u3001\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\uff05\u3001\u518d\u51fa\u73fe\u7981\u6b62\u5ea6\u3001\u983b\u51fa\u7981\u6b62\u5ea6\uff09\u30924\u884c\u306b\u5206\u3051\u3066\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfA3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A3: Logit\u30d0\u30a4\u30a2\u30b9\uff08TokenID \u3068 \u30d0\u30a4\u30a2\u30b9\u5024\u306e\u30da\u30a2\uff09\u3092\u5404\u884c\u306b\u5206\u3051\u3066\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<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: #C3C3C3;\">StrConfA4<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A4: \u30ec\u30b9\u30dd\u30f3\u30b9\u6570\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044 (default 1)<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: #C3C3C3;\">StrConfA5<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A5: \u30ec\u30b9\u30dd\u30f3\u30b9\u30c8\u30fc\u30af\u30f3\u306e\u8a31\u5bb9\u91cf\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044 (default 2048)<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: #C3C3C3;\">StrConfA6<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A6: \u4e2d\u65ad\u6587\u5b57\u3092\u5404\u884c\u306b\u5206\u3051\u3066\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044 (eg &#8220;.&#8221; &#8220;\u3002&#8221;)<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: #C3C3C3;\">StrConfB1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B1: \u30ec\u30b9\u30dd\u30f3\u30b9 COMPLETION \u304c\u683c\u7d0d\u3055\u308c\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\uff08\u6587\u5b57\u5217\u578b\u30c7\u30fc\u30bf\u9805\u76ee\uff09\u3092\u5404\u884c\u306b\u5206\u3051\u3066\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<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: #C3C3C3;\">SelectConfB2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B2: \u30ec\u30b9\u30dd\u30f3\u30b9 Json \u5168\u4f53\u3092\u683c\u7d0d\u3057\u305f\u3044\u5834\u5408\u3001\u6587\u5b57\u5217\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">SelectConfC1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: PROMPT \u30c8\u30fc\u30af\u30f3\u6570\u304c\u683c\u7d0d\u3055\u308c\u308b\u6570\u5024\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">SelectConfC2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: COMPLETION \u30c8\u30fc\u30af\u30f3\u6570\u304c\u683c\u7d0d\u3055\u308c\u308b\u6570\u5024\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">SelectConfC3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: \u5408\u8a08\u30c8\u30fc\u30af\u30f3\u6570\u304c\u683c\u7d0d\u3055\u308c\u308b\u6570\u5024\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<\/dd>\n\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><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting = configs.get      ( &quot;AuthzConfU&quot; );   \/\/\/ REQUIRED\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\n\nconst strSystemRole   = configs.get      ( &quot;StrConfA0&quot; );    \/\/ NotRequired\nconst strLogPro1      = configs.get      ( &quot;StrConfPro1&quot; );  \/\/ NotRequired\nconst strLogCom1      = configs.get      ( &quot;StrConfCom1&quot; );  \/\/ NotRequired\nconst strLogPro2      = configs.get      ( &quot;StrConfPro2&quot; );  \/\/ NotRequired\nconst strLogCom2      = configs.get      ( &quot;StrConfCom2&quot; );  \/\/ NotRequired\nconst strLogPro3      = configs.get      ( &quot;StrConfPro3&quot; );  \/\/ NotRequired\nconst strLogCom3      = configs.get      ( &quot;StrConfCom3&quot; );  \/\/ NotRequired\nconst strPrompt       = configs.get      ( &quot;StrConfA1&quot; );    \/\/\/ REQUIRED\n  if( strPrompt     === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1:Prompt} MUST NOT be empty \\n&quot; );\n  }\n\nconst strParams       = configs.get      ( &quot;StrConfA2&quot; );    \/\/ NotRequired\nconst arrParams       = strParams !== &quot;&quot; ? strParams.split(&quot;\\n&quot;) : null;\nconst numTemperature  = isNaN(parseFloat(arrParams?.[0])) ? 1 : parseFloat( arrParams[0] );\nconst numTopP         = isNaN(parseFloat(arrParams?.[1])) ? 1 : parseFloat( arrParams[1] );\nconst numPresPenalty  = isNaN(parseFloat(arrParams?.[2])) ? 0 : parseFloat( arrParams[2] );\nconst numFreqPenalty  = isNaN(parseFloat(arrParams?.[3])) ? 0 : parseFloat( arrParams[3] );\n\/\/ const jsonLogitBias   = arrParams?.[4] ? JSON.stringify( arrParams[4] ) : null;\n  \/\/ Number(undefined)     \/\/ NaN\n  \/\/ Number(null)          \/\/ 0 \u2606\n  \/\/ Number(&#39;100a&#39;)        \/\/ NaN\n  \/\/ parseFloat(undefined) \/\/ NaN\n  \/\/ parseFloat(null)      \/\/ NaN\n\nconst strBias         = configs.get      ( &quot;StrConfA3&quot; );    \/\/ NotRequired\nconst arrBias         = strBias !== &quot;&quot; ? strBias.split(&quot;\\n&quot;) : null;\nconst strChoises      = configs.get      ( &quot;StrConfA4&quot; );    \/\/ NotRequired\nconst numChoises      = isNaN(parseInt(strChoises,10)) ? 1 : parseInt(strChoises,10);\nconst strLimit        = configs.get      ( &quot;StrConfA5&quot; );    \/\/ NotRequired\nconst numLimit        = isNaN(parseInt(strLimit,10)) ? 2048 : parseInt(strLimit,10);\nconst strStops        = configs.get      ( &quot;StrConfA6&quot; );    \/\/ NotRequired\nconst arrStops        = strStops !== &quot;&quot; ? strStops.split(&quot;\\n&quot;) : null;\nconst strQfields      = configs.get      ( &quot;StrConfB1&quot; );    \/\/ NotRequired\nconst arrQfields      = strQfields !== &quot;&quot; ? strQfields.split(&quot;\\n&quot;) : null;\n\nconst strPocketResponseJson     = configs.getObject( &quot;SelectConfB2&quot; ); \/\/ NotRequired\nconst numPocketPromptTokens     = configs.getObject( &quot;SelectConfC1&quot; ); \/\/ NotRequired\nconst numPocketCompletionTokens = configs.getObject( &quot;SelectConfC2&quot; ); \/\/ NotRequired\nconst numPocketTotalTokens      = configs.getObject( &quot;SelectConfC3&quot; ); \/\/ NotRequired\n\n\n\n\/\/\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\/\/\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\n\/\/\/\/ OpenAI API &gt; Documentation &gt; API REFERENCE &gt; CHAT\n\/\/\/\/ https:\/\/platform.openai.com\/docs\/api-reference\/chat\n\n\/\/\/ prepare json\nlet strJson = {};\n    strJson.model = &quot;gpt-3.5-turbo&quot;;\n    strJson.messages = [];\n    if ( strSystemRole !==&quot;&quot; ) {\n      let objSystemRole = {};\n          objSystemRole.role = &quot;system&quot;;\n          objSystemRole.content = strSystemRole;\n      strJson.messages.push ( objSystemRole );\n    }\n    if ( strLogPro1 !==&quot;&quot; && strLogCom1 !==&quot;&quot; ) {\n      let objLogPro = {};\n          objLogPro.role = &quot;user&quot;;\n          objLogPro.content = strLogPro1;\n      strJson.messages.push ( objLogPro );\n      let objLogCom = {};\n          objLogCom.role = &quot;assistant&quot;;\n          objLogCom.content = strLogCom1;\n      strJson.messages.push ( objLogCom );\n    }\n    if ( strLogPro2 !==&quot;&quot; && strLogCom2 !==&quot;&quot; ) {\n      let objLogPro = {};\n          objLogPro.role = &quot;user&quot;;\n          objLogPro.content = strLogPro2;\n      strJson.messages.push ( objLogPro );\n      let objLogCom = {};\n          objLogCom.role = &quot;assistant&quot;;\n          objLogCom.content = strLogCom2;\n      strJson.messages.push ( objLogCom );\n    }\n    if ( strLogPro3 !==&quot;&quot; && strLogCom3 !==&quot;&quot; ) {\n      let objLogPro = {};\n          objLogPro.role = &quot;user&quot;;\n          objLogPro.content = strLogPro3;\n      strJson.messages.push ( objLogPro );\n      let objLogCom = {};\n          objLogCom.role = &quot;assistant&quot;;\n          objLogCom.content = strLogCom3;\n      strJson.messages.push ( objLogCom );\n    }\n\n    let objNewMsg = {};\n        objNewMsg.role = &quot;user&quot;;\n        objNewMsg.content = strPrompt;\n    strJson.messages.push ( objNewMsg );\n\n    if ( arrParams?.[0] !==&quot;&quot; ) {\n      strJson.temperature       = numTemperature;\n    }\n    if ( arrParams?.[1] !==&quot;&quot; ) {\n      strJson.top_p             = numTopP;\n    }\n    if ( arrParams?.[2] !==&quot;&quot; ) {\n      strJson.presence_penalty  = numPresPenalty;\n    }\n    if ( arrParams?.[3] !==&quot;&quot; ) {\n      strJson.frequency_penalty = numFreqPenalty;\n    }\n\n    strJson.n          = numChoises;\n    strJson.max_tokens = numLimit;\n    strJson.user       = &quot;m&quot; + processInstance.getProcessModelInfoId().toString();\n    if ( arrStops !== null ){\n      strJson.stop = [];\n      for ( let i = 0; i &lt; arrStops.length; i++ ){\n        if ( arrStops[i] === &quot;- - -&quot; ){\n          strJson.stop.push ( &quot;\\n&quot; );\n        }else{\n          strJson.stop.push ( arrStops[i] );\n        }\n      }\n    }\n    if ( arrBias !== null ){\n      strJson.logit_bias = {};\n      for ( let i = 0; i &lt; arrBias.length; i++ ){\n        let arrNumParts = arrBias[i].match( \/-?\\d+\/g ); \/\/ numbers (including with minus signs)\n        if (arrNumParts.length &gt;= 2) {\n          strJson.logit_bias[arrNumParts[0]] = Number(arrNumParts[1]);\n        }\n      }\n    }\n\n\/* engine.log( JSON.stringify( strJson ) ); \/\/ debug\n{\n  &quot;model&quot;:&quot;gpt-3.5-turbo&quot;,\n  &quot;messages&quot;:[{\n      &quot;role&quot;:&quot;system&quot;,\n      &quot;content&quot;:&quot;Start with &#39;&gt;&gt;&gt;&#39;. End with &#39;&lt;&lt;&lt;&#39;.&quot;\n    },{\n      &quot;role&quot;:&quot;user&quot;,\n      &quot;content&quot;:&quot;What destinations do you recommend?&quot;\n    },{\n      &quot;role&quot;:&quot;assistant&quot;,&quot;content&quot;:&quot;&gt;&gt;&gt; As an AI language model ... interests and budget. &lt;&lt;&lt;\n    &quot;},{\n      &quot;role&quot;:&quot;user&quot;,&quot;content&quot;:&quot;What other Japanese destinations ...  the 4?&quot;\n    }\n  ],\n  &quot;top_p&quot;:0.8,\n  &quot;presence_penalty&quot;:0.1,\n  &quot;frequency_penalty&quot;:0.1,\n  &quot;n&quot;:3,\n  &quot;max_tokens&quot;:200,\n  &quot;user&quot;:&quot;m2933&quot;,\n  &quot;logit_bias&quot;:{\n    &quot;52&quot;:2,\n    &quot;14053&quot;:10,\n    &quot;16504&quot;:5\n  }\n}\n*\/\n\n\/\/\/ prepare request1\nlet request1Uri = &quot;https:\/\/api.openai.com\/v1\/chat\/completions&quot;;\nlet request1 = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1 = request1.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    request1 = request1.body( JSON.stringify( strJson ), &quot;application\/json&quot; );\n\n\/\/\/ try request1\nconst response1     = request1.post( request1Uri ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest1 Start: &quot; + request1Uri );\nconst response1Code = response1.getStatusCode() + &quot;&quot;; \/\/ JavaNum to string\nconst response1Body = response1.getResponseAsString();\nengine.log( &quot; AutomatedTask ApiResponse1 Status: &quot; + response1Code );\nif( response1Code !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response1Code + &quot;\\n&quot; + response1Body + &quot;\\n&quot; );\n}\n\n\n\/\/\/ parse response1\n\/* engine.log( response1Body ); \/\/ debug\n{\n  &quot;id&quot;:&quot;chatcmpl-6rcsicnNlNV13EhppZVSXAuB8DLDy&quot;,\n  &quot;object&quot;:&quot;chat.completion&quot;,\n  &quot;created&quot;:1678238864,\n  &quot;model&quot;:&quot;gpt-3.5-turbo-0301&quot;,\n  &quot;usage&quot;:{\n    &quot;prompt_tokens&quot;:150,\n    &quot;completion_tokens&quot;:560,\n    &quot;total_tokens&quot;:710\n  },\n  &quot;choices&quot;:[{\n    &quot;message&quot;:{\n      &quot;role&quot;:&quot;assistant&quot;,\n      &quot;content&quot;:&quot;&gt;&gt;&gt; Japan is a beautiful ... to visit in Japan. &lt;&lt;&lt;&quot;\n    },\n    &quot;finish_reason&quot;:&quot;stop&quot;,\n    &quot;index&quot;:0\n  },{\n    &quot;message&quot;:{\n      &quot;role&quot;:&quot;assistant&quot;,\n      &quot;content&quot;:&quot;&gt;&gt;&gt; Japan has many beautiful ... many amazing destinations Japan has to offer. &lt;&lt;&lt;&quot;\n    },\n    &quot;finish_reason&quot;:&quot;stop&quot;,\n    &quot;index&quot;:1\n  },{\n    &quot;message&quot;:{\n      &quot;role&quot;:&quot;assistant&quot;,\n      &quot;content&quot;:&quot;&gt;&gt;&gt; There are many other ... festivals, and local cuisine.\\n\\nEach of these&quot;\n  },\n  &quot;finish_reason&quot;:&quot;length&quot;,\n  &quot;index&quot;:2\n  }]\n}\n*\/\nconst response1Obj = JSON.parse( response1Body );\n\n\n\/\/\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\n\nif( strPocketResponseJson !== null ){\n  engine.setData( strPocketResponseJson, response1Body );\n}\n\nfor ( let i = 0; i &lt; response1Obj.choices.length; i++ ) {\n  if( engine.findDataDefinitionByVarName ( arrQfields?.[i] ) !== null ){\n    engine.setDataByVarName( arrQfields[i], \n                  response1Obj.choices[i].message.content ?? &quot;&quot;\n                );\n  }\n}\n\nif( numPocketPromptTokens !== null ){\n  engine.setData( numPocketPromptTokens, new java.math.BigDecimal(\n                  response1Obj.usage.prompt_tokens ?? 0\n                ));\n}\nif( numPocketCompletionTokens !== null ){\n  engine.setData( numPocketCompletionTokens, new java.math.BigDecimal(\n                  response1Obj.usage.completion_tokens ?? 0\n                ));\n}\nif( numPocketTotalTokens !== null ){\n  engine.setData( numPocketTotalTokens, new java.math.BigDecimal(\n                  response1Obj.usage.total_tokens ?? 0\n                ));\n}\n\/\/ &quot;??&quot;: Nullish coalescing operator (ES11)\n\/\/ https:\/\/developer.mozilla.org\/docs\/Web\/JavaScript\/Reference\/Operators\/Nullish_coalescing\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n\/*\nNotes:\n- About &quot;OpenAI API&quot;\n    - https:\/\/platform.openai.com\/docs\/introduction\/overview\n    - The OpenAI API can be applied to virtually any task that involves understanding or generating natural language or code.\n    - For example, if you give the API the prompt, &quot;Write a tagline for an ice cream shop&quot;,\n    - it will return a completion like &quot;We serve up smiles with every scoop!&quot;\n- If you place this &quot;Addon Automated Step&quot; on the Workflow diagram, \n    - a response will be retrieved automatically when the token reaches the automated step.\n    - A request prompt is automatically sent to the OpenAI API server. (REST API communication)\n    - The response text sent back from the OpenAI API server is automatically parsed.\n    - For example, the auto-step obtaining &quot;advice from AI&quot; can be integrated into business processes.\n- API key is required to use the OpenAI API.\n    - Obtain the API key to be used in advance.\n    - Set the &quot;Secret API Key&quot; as the communication token.\uff3bHTTP Authz Settings] &gt; [Token Fixed Value]\n- This Automatied Step is fully upward compatible with &quot;OpenAI: Chat, Start&quot;.\n    - The same requests as in &quot;OpenAI: Chat, Start&quot; are possible.\n    - https:\/\/support.questetra.com\/addons\/openai-chat-start-2023\/\n- Contextual requests are possible.\n    - The oldest instruction should be set to &quot;1st PROMPT&quot;.\n    - The response to that directive should be set to &quot;1st COMPLETION&quot;.\n    - A history that does not contain both a PROMPT and a COMPLETION will be invalid.\n    - Sets of PROMPT and COMPLETION can be registered up to three times.\n- It is not necessary to set all parameters.\n    - Parameter values can be tried in the Playground.\n    - https:\/\/platform.openai.com\/playground?mode=chat\n    - The settable range may differ.\n- Parameter 1st line: Sampling temperature (TEMPERATURE)\n    - range:&quot;[0,2]&quot;, default: &quot;1&quot;\n    - &quot;Higher values like 0.8 will make the output more random&quot;\n    - Sets the randomness level (creativity).\n    - For fact-finding or tabulation, set to zero.\n- Parameter 2nd line: Sampling % (top_p)\n    - range:&quot;(0,1]&quot;, default: &quot;1&quot;\n    - &quot;the model considers the results of the tokens with top_p probability mass&quot;\n    - Sets the top percentage of word tokens to be considered.\n    - It is not recommended to set both &quot;sampling temperature&quot;. (as of 202303)\n- Parameter 3rd line: Presence_penalty\n    - range:&quot;[-2,2]&quot;, default: &quot;0&quot;\n- Parameter 4th line: Frequency_penalty\n    - range:&quot;[-2,2]&quot;, default: &quot;0&quot;\n- Logit bias: Token adjustment (logit_bias)\n    - range:&quot;[-100,100]&quot;\n    - eg: &quot;16504 10&quot;\n    - eg: &quot;14053 10&quot;\n    - eg: &quot;17013 -5&quot;\n        - 16504(Japan), 14053(USA), 2937(US), 52(U), 13(.), 50(S), 41187(united) 17013(United)\n    - &quot;values like -100 should result in a ban selection of the relevant token.&quot;\n    - You can ban or overuse certain word Tokens.\n        - https:\/\/platform.openai.com\/tokenizer\n- High temperatures (&quot;&gt;1&quot;) and high biases (&quot;&gt;10&quot;) may induce 500 errors and timeouts.\n    - Determine by trial and error in the light of your work what values are appropriate.\n\nAPPENDIX\n- The SYSTEM Role setting is used to set the role as the text author.\n    - e.g. &quot;End with &#39;&lt;&lt;&lt;&#39;&quot;\n    - e.g. &quot;Start with &#39;&gt;&gt;&gt;&#39;. End with &#39;&lt;&lt;&lt;&#39;.&quot;\n    - e.g. &quot;You are a creative Questetra employee.&quot;\n    - e.g. &quot;You are a helpful assistant.&quot;\n        - https:\/\/platform.openai.com\/docs\/guides\/chat\/introduction\n- The number of responses that can be set is up to 128.\n- Interrupted words can be set up to four (invalid after the fifth line)\n    - If set `\\t` or other characters, they will be escaped.\n    - To set a newline code (`\\n`), set `- - -`. (experimental)\n        - The response will always be a single line.\n        - It always results in a 500 error. (as of 202303)\n- Large amount of allowable response sentences to be generated may exceed the system limit.\n    - Generation will be aborted if the allowable amount is reached.\n        - `&quot;finish_reason&quot;:&quot;length&quot;,`\n        - If a large number is set for &quot;Number of Responses,&quot; the response is more likely to be interrupted.\n    - Model usage limit: 4096 (total number of tokens)\n        - Set smaller than 4096 minus the expected length of the PROMPT tokens.\n    - For English, one word or symbol often counts as one token.\n        - For average English, it is about 1 token for 4 characters.\n        - In Japanese, a single character may be divided into multiple tokens.\n        - In the case of average Japanese, a single character is about one token.\n    - You can check the approximate number of word tokens at tokenizer.\n        - https:\/\/platform.openai.com\/tokenizer\n- In settings that refer to numeric type data, be careful not to mix in digit separators.\n    - The formatting function `#sformat` is useful. (Java String.format)\n    - e.g. `#{#sformat(&quot;%1.1f&quot;, #q_numeric)}` (rounded to one decimal place)\n    - &quot;R2272: Output of Strings via EL&quot;\n        - https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024292872-R2272-Output-of-Strings-via-EL-syntax\n- Headers for developers belonging to multiple organizations are not yet supported (as of 202303).\n    - `OpenAI-Organization`.\n- Note that the workflow app ID is automatically assigned to the `user` parameter of the OpenAI API. (experimental)\n    - `processInstance.getProcessModelInfoId()`\n\nNotes-ja:\n- &quot;OpenAI API&quot; \u3068\u306f\n    - https:\/\/platform.openai.com\/docs\/introduction\/overview\n    - OpenAI API \u306f\u3001\u81ea\u7136\u8a00\u8a9e\u3084\u30b3\u30fc\u30c9\u3092\u7406\u89e3\u3057\u3001\u81ea\u7136\u8a00\u8a9e\u3084\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u3042\u3089\u3086\u308b\u4ed5\u4e8b\u306b\u9069\u7528\u53ef\u80fd\u3067\u3059\u3002\n    - \u305f\u3068\u3048\u3070\u3001\u300c\u30a2\u30a4\u30b9\u30af\u30ea\u30fc\u30e0\u5c4b\u306e\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u3092\u66f8\u3044\u3066\u300d\u3068\u3044\u3046\u30d7\u30ed\u30f3\u30d7\u30c8\uff08Prompt\uff09\u3092\u4e0e\u3048\u308b\u3068\u3001\n    - \u300c\u5168\u3066\u306e\u30b9\u30af\u30fc\u30d7\u3092\u7b11\u9854\u3067\uff01\u300d\u3068\u3044\u3063\u305f\u5fdc\u7b54\uff08Completion\uff09\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002 (Questetra\u793e\u306e\u610f\u8a33)\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306b\u914d\u7f6e\u3059\u308c\u3070\u3001\u6848\u4ef6\u304c\u5230\u9054\u3059\u308b\u5ea6\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\n    - OpenAI API \u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u6587\u304c\u81ea\u52d5\u7684\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\uff08REST API\u901a\u4fe1\uff09\n    - OpenAI API \u30b5\u30fc\u30d0\u304b\u3089\u8fd4\u4fe1\u3055\u308c\u305f\u30ec\u30b9\u30dd\u30f3\u30b9\u6587\u304c\u81ea\u52d5\u7684\u306b\u30d1\u30fc\u30b9\uff08\u89e3\u6790\uff09\u3055\u308c\u307e\u3059\u3002\n    - \u305f\u3068\u3048\u3070\u3001\u300cAI\u304b\u3089\u306e\u52a9\u8a00\u300d\u3092\u81ea\u52d5\u7684\u306b\u53d6\u5f97\u3059\u308b\u5de5\u7a0b\u3092\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\n- OpenAI API \u306e\u5229\u7528\u306b\u306f API key \u304c\u5fc5\u8981\u3067\u3059\u3002\n    - \u3042\u3089\u304b\u3058\u3081 API Key \u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\n    - &quot;Secret API Key&quot; \u3092\u901a\u4fe1\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff3bHTTP \u8a8d\u8a3c\u8a2d\u5b9a\uff3d\uff1e\uff3b\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff3d\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u306f\u300eOpenAI: Chat, \u958b\u59cb\u300f\u306e\u5b8c\u5168\u4e0a\u4f4d\u4e92\u63db\u3067\u3059\u3002\n    - \u3059\u306a\u308f\u3061\u300eOpenAI: Chat, \u958b\u59cb\u300f\u3068\u540c\u3058\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u53ef\u80fd\u3067\u3059\u3002\n    - https:\/\/support.questetra.com\/ja\/addons\/openai-chat-start-2023\/\n- \u6587\u8108\u3092\u4f7f\u3063\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002\n    - \u3082\u3063\u3068\u3082\u53e4\u3044\u6307\u793a\u306f\u300e\u521d\u56de\u6307\u793a\u6587\u300f\uff081st PROMPT\uff09\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - \u305d\u306e\u6307\u793a\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u300e\u521d\u56de\u6307\u793a\u6587\u306e\u56de\u7b54\u6587\u300f\uff081st COMPLETION\uff09\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - \u6307\u793a\u6587\uff08PROMPT\uff09\u3068\u56de\u7b54\u6587\uff08COMPLETION\uff09\u304c\u30bb\u30c3\u30c8\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u5c65\u6b74\u306f\u7121\u52b9\u3068\u306a\u308a\u307e\u3059\u3002\n    - \u6307\u793a\u6587\uff08PROMPT\uff09\u3068\u56de\u7b54\u6587\uff08COMPLETION\uff09\u306e\u30bb\u30c3\u30c8\u306f3\u56de\u5206\u307e\u3067\u767b\u9332\u3067\u304d\u307e\u3059\u3002\n- \u3059\u3079\u3066\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n    - \u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u306f\u3001Playground \u306b\u3066\u8a66\u884c\u3067\u304d\u307e\u3059\u3002\n    - https:\/\/platform.openai.com\/playground?mode=chat\n    - \u8a2d\u5b9a\u53ef\u80fd\u7bc4\u56f2\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\n- \u30d1\u30e9\u30e1\u30fc\u30bf1\u884c\u76ee\uff1a\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\uff08temperature\uff09\n    - range:&quot;[0,2]&quot;, default:&quot;1&quot;\n    - &quot;Higher values like 0.8 will make the output more random&quot;\n    - \u30e9\u30f3\u30c0\u30e0\u30ec\u30d9\u30eb\uff08\u5275\u9020\u6027\u5ea6\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    - \u4e8b\u5b9f\u8abf\u67fb\u3084\u96c6\u8a08\u306e\u5834\u5408\u306f\u30bc\u30ed\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n- \u30d1\u30e9\u30e1\u30fc\u30bf2\u884c\u76ee\uff1a\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\uff05\uff08top_p\uff09\n    - range:&quot;(0,1]&quot;, default:&quot;1&quot;\n    - &quot;the model considers the results of the tokens with top_p probability mass&quot;\n    - \u4e0a\u4f4d\u4f55\u30d1\u30fc\u30bb\u30f3\u30c8\u307e\u3067\u306e\u30ef\u30fc\u30c9Token\u3092\u8003\u616e\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    - \u300c\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u300d\u3068\u4e21\u65b9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\uff08202303\u73fe\u5728\uff09\n- \u30d1\u30e9\u30e1\u30fc\u30bf3\u884c\u76ee\uff1a\u518d\u73fe\u7981\u6b62\u5ea6\uff08presence_penalty\uff09\n    - range:&quot;[-2,2]&quot;, default:&quot;0&quot;\n- \u30d1\u30e9\u30e1\u30fc\u30bf4\u884c\u76ee\uff1a\u983b\u51fa\u7981\u6b62\u5ea6\uff08frequency_penalty\uff09\n    - range:&quot;[-2,2]&quot;, default:&quot;0&quot;\n- Logit\u30d0\u30a4\u30a2\u30b9\uff1a\u30ef\u30fc\u30c9Token\u8abf\u6574\uff08logit_bias\uff09\n    - range:&quot;[-100,100]&quot;\n    - eg: &quot;16504 10&quot;\n    - eg: &quot;14053 10&quot;\n    - eg: &quot;17013 -5&quot;\n        - 16504(Japan), 14053(USA), 2937(US), 52(U), 13(.), 50(S), 41187(united) 17013(United)\n    - &quot;values like -100 should result in a ban selection of the relevant token.&quot;\n    - \u7279\u5b9a\u306e\u30ef\u30fc\u30c9Token\u306b\u3064\u3044\u3066\u3001\u4f7f\u7528\u7981\u6b62\u306b\u3057\u305f\u308a\u3001\u591a\u7528\u3055\u305b\u305f\u308a\u3067\u304d\u307e\u3059\u3002\n        - https:\/\/platform.openai.com\/tokenizer\n- \u9ad8\u3044\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\uff08&quot;&gt;1&quot;\uff09\u3084\u9ad8\u3044\u30d0\u30a4\u30a2\u30b9\uff08&quot;&gt;10&quot;\uff09\u306f500\u30a8\u30e9\u30fc\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u8a98\u767a\u3057\u307e\u3059\u3002\n    - \u3069\u306e\u7a0b\u5ea6\u306e\u8a2d\u5b9a\u6570\u5024\u304c\u59a5\u5f53\u304b\u306f\u3001\u696d\u52d9\u306b\u7167\u3089\u3057\u8a66\u884c\u932f\u8aa4\u306e\u3046\u3048\u6c7a\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\nAPPENDIX-ja\n- SYSTEM\u30ed\u30fc\u30eb\u8a2d\u5b9a\u306b\u306f\u3001\u6587\u7ae0\u4f5c\u6210\u8005\u3068\u3057\u3066\u306e\u5f79\u5272\uff08\u30ed\u30fc\u30eb\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    - e.g. &quot;\u56de\u7b54\u6587\u306e\u5148\u982d\u306b\u300c\uff1c\uff1c\uff1c\u300d\u3092\u3001\u56de\u7b54\u6587\u306e\u672b\u5c3e\u306b\u300c\uff1e\uff1e\uff1e\u300d\u3092\u4ed8\u3051\u3066\u56de\u7b54\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;\n    - e.g. &quot;\u8a9e\u5c3e\u306b\u306f80%\u306e\u78ba\u7387\u3067\u300c\u77e5\u3089\u3093\u3051\u3069\u3002\u300d\u3092\u3064\u3051\u307e\u3059\u3002&quot;\n    - e.g. &quot;\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u306aQuestetra\u793e\u793e\u54e1\u3067\u3059\u3002&quot;\n    - e.g. &quot;You are a helpful assistant.&quot;\n        - https:\/\/platform.openai.com\/docs\/guides\/chat\/introduction\n- &quot;\u30ec\u30b9\u30dd\u30f3\u30b9\u6570&quot; \u3068\u3057\u3066\u30bb\u30c3\u30c8\u3067\u304d\u308b\u56de\u7b54\u6570\u8a2d\u5b9a\u306f128\u307e\u3067\u3067\u3059\u3002\n- &quot;\u4e2d\u65ad\u6587\u5b57&quot; \u3068\u3057\u3066\u30bb\u30c3\u30c8\u3067\u304d\u308b\u6587\u7bc0\u306f\uff14\u3064\u307e\u3067\u3067\u3059\u3002\uff085\u884c\u76ee\u4ee5\u964d\u306f\u7121\u52b9\uff09\n    - &quot;\u4e2d\u65ad\u6587\u5b57&quot; \u306b `\\t` \u7b49\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3055\u308c\u307e\u3059\u3002\n    - &quot;\u4e2d\u65ad\u6587\u5b57&quot; \u306b\u6539\u884c\u30b3\u30fc\u30c9\uff08`\\n`\uff09\u3092\u30bb\u30c3\u30c8\u3057\u305f\u3044\u5834\u5408\u3001`- - -` \u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff08\u8a66\u9a13\u7684\uff09\n        - \u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u5e38\u306b\u4e00\u884c\u306b\u306a\u308a\u307e\u3059\u3002\n        - \u5fc5\u305a 500 \u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff08202303\u6642\u70b9\uff09\n- \u30ec\u30b9\u30dd\u30f3\u30b9\u6587\u306e\u751f\u6210\u8a31\u5bb9\u91cf\u3092\u5927\u304d\u304f\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u30b7\u30b9\u30c6\u30e0\u5236\u9650\u3092\u8d85\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n    - \u6587\u7ae0\u306e\u9014\u4e2d\u3067\u3042\u3063\u3066\u3082\u8a31\u5bb9\u91cf\u306b\u5230\u9054\u3059\u308c\u3070\u751f\u6210\u304c\u4e2d\u65ad\u3055\u308c\u307e\u3059\u3002\n        - `&quot;finish_reason&quot;:&quot;length&quot;,`\n        - &quot;\u30ec\u30b9\u30dd\u30f3\u30b9\u6570&quot; \u306b\u5927\u304d\u306a\u6570\u5b57\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u4e2d\u65ad\u306e\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002\n    - \u5408\u8a08\u30c8\u30fc\u30af\u30f3\u6570\u306b\u306f4096\u306e\u30e2\u30c7\u30eb\u5229\u7528\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002\n        - \u6307\u793a\u6587\u306e\u9577\u3055\uff08PROMPT\u30c8\u30fc\u30af\u30f3\u6570\uff09\u306e\u60f3\u5b9a\u5024\u3092\u5f15\u3044\u305f\u5024\u3088\u308a\u5c0f\u3055\u3044\u5024\u3067\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n    - \u82f1\u8a9e\u306e\u5834\u5408\u3001\u5358\u8a9e\u3084\u8a18\u53f7\u3054\u3068\u306b1\u30c8\u30fc\u30af\u30f3\u306b\u306a\u308a\u307e\u3059\u3002\n        - \u5e73\u5747\u7684\u306a\u82f1\u8a9e\u306e\u5834\u5408\u30014\u6587\u5b57\u30671\u30c8\u30fc\u30af\u30f3\u7a0b\u5ea6\u306b\u306a\u308a\u307e\u3059\u3002\n        - \u65e5\u672c\u8a9e\u306e\u5834\u5408\u30011\u6587\u5b57\u304c\u8907\u6570\u30c8\u30fc\u30af\u30f3\u306b\u5206\u5272\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\n        - \u5e73\u5747\u7684\u306a\u65e5\u672c\u8a9e\u306e\u5834\u5408\u30011\u6587\u5b57\u30671\u30c8\u30fc\u30af\u30f3\u7a0b\u5ea6\u306b\u306a\u308a\u307e\u3059\u3002\n    - \u30ef\u30fc\u30c9\u30c8\u30fc\u30af\u30f3\u6570\u306e\u76ee\u5b89\u306f tokenizer \u306b\u3066\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\n        - https:\/\/platform.openai.com\/tokenizer\n- \u6570\u5024\u578b\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3059\u308b\u8a2d\u5b9a\u3067\u306f\u3001\u6841\u533a\u5207\u308a\u6587\u5b57\u304c\u6df7\u5165\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u95a2\u6570 `#sformat` \u3092\u4f7f\u3046\u3068\u4fbf\u5229\u3067\u3059\u3002\uff08Java String.format\uff09\n    - e.g. `#{#sformat(&quot;%1.1f&quot;, #q_numeric)}` \uff08\u5c0f\u6570\u7b2c\u4e00\u4f4d\u307e\u3067\u56db\u6368\u4e94\u5165\uff09\n    - &quot;R2272: \u6587\u5b57\u5217\u3068\u3057\u3066\u306e\u51fa\u529b&quot;\n        - https:\/\/questetra.zendesk.com\/hc\/ja\/articles\/360024292872-R2272\n- \u8907\u6570\u7d44\u7e54\u306b\u6240\u5c5e\u3059\u308b\u958b\u767a\u8005\u5411\u3051\u306e\u30d8\u30c3\u30c0\u306b\u306f\u672a\u5bfe\u5fdc\u3067\u3059\uff08202303\u6642\u70b9\uff09\n    - `OpenAI-Organization`\n- \u306a\u304a\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30eaID\u304c\u3001OpenAI API \u306e `user` \u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u81ea\u52d5\u7684\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002\uff08\u8a66\u9a13\u7684\uff09\n    - `processInstance.getProcessModelInfoId()`\n\n*\/\n\n<\/code><\/pre><\/div>\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;\">Download<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/18RZdCF78HlwF_9LwGQB5I1TfiiozEEKw\/view?usp=drivesdk\" target=\"_blank\">openai-chat-interact-with-parameters-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-03-06 (C) Questetra, Inc. (MIT License)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> \u81ea\u7531\u6539\u5909\u53ef\u80fd\u306a JavaScript (ECMAScript) \u30b3\u30fc\u30c9\u3067\u3059\u3002\u3044\u304b\u306a\u308b\u4fdd\u8a3c\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br>\n(<em><strong>\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b<\/strong><\/em>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition\u3067\u306e\u307f\u53ef\u80fd\u3067\u3059)\n<\/div><\/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>&#8220;OpenAI API&#8221; \u3068\u306f\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/platform.openai.com\/docs\/introduction\/overview\" rel=\"nofollow\">https:\/\/platform.openai.com\/docs\/introduction\/overview<\/a><\/li>\n\n\n\n<li>OpenAI API \u306f\u3001\u81ea\u7136\u8a00\u8a9e\u3084\u30b3\u30fc\u30c9\u3092\u7406\u89e3\u3057\u3001\u81ea\u7136\u8a00\u8a9e\u3084\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u3042\u3089\u3086\u308b\u4ed5\u4e8b\u306b\u9069\u7528\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li>\u305f\u3068\u3048\u3070\u3001\u300c\u30a2\u30a4\u30b9\u30af\u30ea\u30fc\u30e0\u5c4b\u306e\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u3092\u66f8\u3044\u3066\u300d\u3068\u3044\u3046\u30d7\u30ed\u30f3\u30d7\u30c8\uff08Prompt\uff09\u3092\u4e0e\u3048\u308b\u3068\u3001<\/li>\n\n\n\n<li>\u300c\u5168\u3066\u306e\u30b9\u30af\u30fc\u30d7\u3092\u7b11\u9854\u3067\uff01\u300d\u3068\u3044\u3063\u305f\u5fdc\u7b54\uff08Completion\uff09\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002 (Questetra\u793e\u306e\u610f\u8a33)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306b\u914d\u7f6e\u3059\u308c\u3070\u3001\u6848\u4ef6\u304c\u5230\u9054\u3059\u308b\u5ea6\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>OpenAI API \u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u6587\u304c\u81ea\u52d5\u7684\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\uff08REST API\u901a\u4fe1\uff09<\/li>\n\n\n\n<li>OpenAI API \u30b5\u30fc\u30d0\u304b\u3089\u8fd4\u4fe1\u3055\u308c\u305f\u30ec\u30b9\u30dd\u30f3\u30b9\u6587\u304c\u81ea\u52d5\u7684\u306b\u30d1\u30fc\u30b9\uff08\u89e3\u6790\uff09\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u305f\u3068\u3048\u3070\u3001\u300cAI\u304b\u3089\u306e\u52a9\u8a00\u300d\u3092\u81ea\u52d5\u7684\u306b\u53d6\u5f97\u3059\u308b\u5de5\u7a0b\u3092\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>OpenAI API \u306e\u5229\u7528\u306b\u306f API key \u304c\u5fc5\u8981\u3067\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u3042\u3089\u304b\u3058\u3081 API Key \u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>&#8220;Secret API Key&#8221; \u3092\u901a\u4fe1\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff3bHTTP \u8a8d\u8a3c\u8a2d\u5b9a\uff3d\uff1e\uff3b\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff3d<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u306f\u300eOpenAI: Chat, \u958b\u59cb\u300f\u306e\u5b8c\u5168\u4e0a\u4f4d\u4e92\u63db\u3067\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u3059\u306a\u308f\u3061\u300eOpenAI: Chat, \u958b\u59cb\u300f\u3068\u540c\u3058\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li><a href=\"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-start-2023\/\">https:\/\/support.questetra.com\/ja\/addons\/openai-chat-start-2023\/<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u6587\u8108\u3092\u4f7f\u3063\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u3082\u3063\u3068\u3082\u53e4\u3044\u6307\u793a\u306f\u300e\u521d\u56de\u6307\u793a\u6587\u300f\uff081st PROMPT\uff09\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u305d\u306e\u6307\u793a\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u300e\u521d\u56de\u6307\u793a\u6587\u306e\u56de\u7b54\u6587\u300f\uff081st COMPLETION\uff09\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u6307\u793a\u6587\uff08PROMPT\uff09\u3068\u56de\u7b54\u6587\uff08COMPLETION\uff09\u304c\u30bb\u30c3\u30c8\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u5c65\u6b74\u306f\u7121\u52b9\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u6307\u793a\u6587\uff08PROMPT\uff09\u3068\u56de\u7b54\u6587\uff08COMPLETION\uff09\u306e\u30bb\u30c3\u30c8\u306f3\u56de\u5206\u307e\u3067\u767b\u9332\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u3059\u3079\u3066\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n<ul class=\"wp-block-list\">\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u306f\u3001Playground \u306b\u3066\u8a66\u884c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><a href=\"https:\/\/platform.openai.com\/playground?mode=chat\" rel=\"nofollow\">https:\/\/platform.openai.com\/playground?mode=chat<\/a><\/li>\n\n\n\n<li>\u8a2d\u5b9a\u53ef\u80fd\u7bc4\u56f2\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf1\u884c\u76ee\uff1a\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\uff08temperature\uff09\n<ul class=\"wp-block-list\">\n<li>range:&#8221;[0,2]&#8221;, default:&#8221;1&#8243;<\/li>\n\n\n\n<li>&#8220;Higher values like 0.8 will make the output more random&#8221;<\/li>\n\n\n\n<li>\u30e9\u30f3\u30c0\u30e0\u30ec\u30d9\u30eb\uff08\u5275\u9020\u6027\u5ea6\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u4e8b\u5b9f\u8abf\u67fb\u3084\u96c6\u8a08\u306e\u5834\u5408\u306f\u30bc\u30ed\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf2\u884c\u76ee\uff1a\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\uff05\uff08top_p\uff09\n<ul class=\"wp-block-list\">\n<li>range:&#8221;(0,1]&#8221;, default:&#8221;1&#8243;<\/li>\n\n\n\n<li>&#8220;the model considers the results of the tokens with top_p probability mass&#8221;<\/li>\n\n\n\n<li>\u4e0a\u4f4d\u4f55\u30d1\u30fc\u30bb\u30f3\u30c8\u307e\u3067\u306e\u30ef\u30fc\u30c9Token\u3092\u8003\u616e\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u300c\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u300d\u3068\u4e21\u65b9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\uff08202303\u73fe\u5728\uff09<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf3\u884c\u76ee\uff1a\u518d\u73fe\u7981\u6b62\u5ea6\uff08presence_penalty\uff09\n<ul class=\"wp-block-list\">\n<li>range:&#8221;[-2,2]&#8221;, default:&#8221;0&#8243;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf4\u884c\u76ee\uff1a\u983b\u51fa\u7981\u6b62\u5ea6\uff08frequency_penalty\uff09\n<ul class=\"wp-block-list\">\n<li>range:&#8221;[-2,2]&#8221;, default:&#8221;0&#8243;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Logit\u30d0\u30a4\u30a2\u30b9\uff1a\u30ef\u30fc\u30c9Token\u8abf\u6574\uff08logit_bias\uff09\n<ul class=\"wp-block-list\">\n<li>range:&#8221;[-100,100]&#8221;<\/li>\n\n\n\n<li>eg: &#8220;16504 10&#8221;<\/li>\n\n\n\n<li>eg: &#8220;14053 10&#8221;<\/li>\n\n\n\n<li>eg: &#8220;17013 -5&#8221;\n<ul class=\"wp-block-list\">\n<li>16504(Japan), 14053(USA), 2937(US), 52(U), 13(.), 50(S), 41187(united) 17013(United)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&#8220;values like -100 should result in a ban selection of the relevant token.&#8221;<\/li>\n\n\n\n<li>\u7279\u5b9a\u306e\u30ef\u30fc\u30c9Token\u306b\u3064\u3044\u3066\u3001\u4f7f\u7528\u7981\u6b62\u306b\u3057\u305f\u308a\u3001\u591a\u7528\u3055\u305b\u305f\u308a\u3067\u304d\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/platform.openai.com\/tokenizer\" rel=\"nofollow\">https:\/\/platform.openai.com\/tokenizer<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u9ad8\u3044\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\uff08&#8221;&gt;1&#8243;\uff09\u3084\u9ad8\u3044\u30d0\u30a4\u30a2\u30b9\uff08&#8221;&gt;10&#8243;\uff09\u306f500\u30a8\u30e9\u30fc\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u8a98\u767a\u3057\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u3069\u306e\u7a0b\u5ea6\u306e\u8a2d\u5b9a\u6570\u5024\u304c\u59a5\u5f53\u304b\u306f\u3001\u696d\u52d9\u306b\u7167\u3089\u3057\u8a66\u884c\u932f\u8aa4\u306e\u3046\u3048\u6c7a\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/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\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"143457\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-chat-interact-with-parameters-2023-capture-ja-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" 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=\"openai-chat-interact-with-parameters-2023-capture-ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=1200%2C675&#038;ssl=1\" alt=\"OpenAI API (ChatGPT) \u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3057\u307e\u3059\u3002\u4f1a\u8a71\u5c65\u6b74\u3092\u3075\u307e\u3048\u305f\u518d\u8cea\u554f\u3084\u9ad8\u5ea6\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ed8\u3051\u305f\u6307\u793a\uff08PROMPT\uff09\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u3001\u4e0a\u4f4d\uff05\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3001\u518d\u51fa\u73fe\u7981\u6b62\u5ea6\u3001\u983b\u51fa\u7981\u6b62\u5ea6\u3001Logit\u30d0\u30a4\u30a2\u30b9\u306a\u3069\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u3055\u308c\u308b\u30e2\u30c7\u30ebID\u306f &quot;gpt-3.5-turbo&quot; \u3067\u3059\u3002\" class=\"wp-image-143457\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-medium has-custom-border is-style-rounded\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"315\" data-attachment-id=\"143451\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-chat-interact-with-parameters-2023-capture2-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" 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=\"openai-chat-interact-with-parameters-2023-capture2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?resize=560%2C315&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-143451\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture2.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-medium has-custom-border is-style-rounded\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"315\" data-attachment-id=\"143453\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-chat-interact-with-parameters-2023-config-ja-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" 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=\"openai-chat-interact-with-parameters-2023-config-ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?resize=560%2C315&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-143453\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-config-ja.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Appendix<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SYSTEM\u30ed\u30fc\u30eb\u8a2d\u5b9a\u306b\u306f\u3001\u6587\u7ae0\u4f5c\u6210\u8005\u3068\u3057\u3066\u306e\u5f79\u5272\uff08\u30ed\u30fc\u30eb\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>e.g. &#8220;\u56de\u7b54\u6587\u306e\u5148\u982d\u306b\u300c\uff1c\uff1c\uff1c\u300d\u3092\u3001\u56de\u7b54\u6587\u306e\u672b\u5c3e\u306b\u300c\uff1e\uff1e\uff1e\u300d\u3092\u4ed8\u3051\u3066\u56de\u7b54\u3057\u3066\u304f\u3060\u3055\u3044\u3002&#8221;<\/li>\n\n\n\n<li>e.g. &#8220;\u8a9e\u5c3e\u306b\u306f80%\u306e\u78ba\u7387\u3067\u300c\u77e5\u3089\u3093\u3051\u3069\u3002\u300d\u3092\u3064\u3051\u307e\u3059\u3002&#8221;<\/li>\n\n\n\n<li>e.g. &#8220;\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u306aQuestetra\u793e\u793e\u54e1\u3067\u3059\u3002&#8221;<\/li>\n\n\n\n<li>e.g. &#8220;You are a helpful assistant.&#8221;\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/platform.openai.com\/docs\/guides\/chat\/introduction\" rel=\"nofollow\">https:\/\/platform.openai.com\/docs\/guides\/chat\/introduction<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&#8220;\u30ec\u30b9\u30dd\u30f3\u30b9\u6570&#8221; \u3068\u3057\u3066\u30bb\u30c3\u30c8\u3067\u304d\u308b\u56de\u7b54\u6570\u8a2d\u5b9a\u306f128\u307e\u3067\u3067\u3059\u3002<\/li>\n\n\n\n<li>&#8220;\u4e2d\u65ad\u6587\u5b57&#8221; \u3068\u3057\u3066\u30bb\u30c3\u30c8\u3067\u304d\u308b\u6587\u7bc0\u306f\uff14\u3064\u307e\u3067\u3067\u3059\u3002\uff085\u884c\u76ee\u4ee5\u964d\u306f\u7121\u52b9\uff09\n<ul class=\"wp-block-list\">\n<li>&#8220;\u4e2d\u65ad\u6587\u5b57&#8221; \u306b <code>\\t<\/code> \u7b49\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>&#8220;\u4e2d\u65ad\u6587\u5b57&#8221; \u306b\u6539\u884c\u30b3\u30fc\u30c9\uff08<code>\\n<\/code>\uff09\u3092\u30bb\u30c3\u30c8\u3057\u305f\u3044\u5834\u5408\u3001<code>- - -<\/code> \u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff08\u8a66\u9a13\u7684\uff09\n<ul class=\"wp-block-list\">\n<li>\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u5e38\u306b\u4e00\u884c\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5fc5\u305a 500 \u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff08202303\u6642\u70b9\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30ec\u30b9\u30dd\u30f3\u30b9\u6587\u306e\u751f\u6210\u8a31\u5bb9\u91cf\u3092\u5927\u304d\u304f\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u30b7\u30b9\u30c6\u30e0\u5236\u9650\u3092\u8d85\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u6587\u7ae0\u306e\u9014\u4e2d\u3067\u3042\u3063\u3066\u3082\u8a31\u5bb9\u91cf\u306b\u5230\u9054\u3059\u308c\u3070\u751f\u6210\u304c\u4e2d\u65ad\u3055\u308c\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li><code>\"finish_reason\":\"length\",<\/code><\/li>\n\n\n\n<li>&#8220;\u30ec\u30b9\u30dd\u30f3\u30b9\u6570&#8221; \u306b\u5927\u304d\u306a\u6570\u5b57\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u4e2d\u65ad\u306e\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u5408\u8a08\u30c8\u30fc\u30af\u30f3\u6570\u306b\u306f4096\u306e\u30e2\u30c7\u30eb\u5229\u7528\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u6307\u793a\u6587\u306e\u9577\u3055\uff08PROMPT\u30c8\u30fc\u30af\u30f3\u6570\uff09\u306e\u60f3\u5b9a\u5024\u3092\u5f15\u3044\u305f\u5024\u3088\u308a\u5c0f\u3055\u3044\u5024\u3067\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u82f1\u8a9e\u306e\u5834\u5408\u3001\u5358\u8a9e\u3084\u8a18\u53f7\u3054\u3068\u306b1\u30c8\u30fc\u30af\u30f3\u306b\u306a\u308a\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u5e73\u5747\u7684\u306a\u82f1\u8a9e\u306e\u5834\u5408\u30014\u6587\u5b57\u30671\u30c8\u30fc\u30af\u30f3\u7a0b\u5ea6\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u65e5\u672c\u8a9e\u306e\u5834\u5408\u30011\u6587\u5b57\u304c\u8907\u6570\u30c8\u30fc\u30af\u30f3\u306b\u5206\u5272\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5e73\u5747\u7684\u306a\u65e5\u672c\u8a9e\u306e\u5834\u5408\u30011\u6587\u5b57\u30671\u30c8\u30fc\u30af\u30f3\u7a0b\u5ea6\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30ef\u30fc\u30c9\u30c8\u30fc\u30af\u30f3\u6570\u306e\u76ee\u5b89\u306f tokenizer \u306b\u3066\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/platform.openai.com\/tokenizer\" rel=\"nofollow\">https:\/\/platform.openai.com\/tokenizer<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u6570\u5024\u578b\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3059\u308b\u8a2d\u5b9a\u3067\u306f\u3001\u6841\u533a\u5207\u308a\u6587\u5b57\u304c\u6df7\u5165\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u95a2\u6570 <code>#sformat<\/code> \u3092\u4f7f\u3046\u3068\u4fbf\u5229\u3067\u3059\u3002\uff08Java String.format\uff09<\/li>\n\n\n\n<li>e.g. <code>#{#sformat(\"%1.1f\", #q_numeric)}<\/code> \uff08\u5c0f\u6570\u7b2c\u4e00\u4f4d\u307e\u3067\u56db\u6368\u4e94\u5165\uff09<\/li>\n\n\n\n<li>&#8220;R2272: \u6587\u5b57\u5217\u3068\u3057\u3066\u306e\u51fa\u529b&#8221;\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/questetra.zendesk.com\/hc\/ja\/articles\/360024292872-R2272\" rel=\"nofollow\">https:\/\/questetra.zendesk.com\/hc\/ja\/articles\/360024292872-R2272<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u8907\u6570\u7d44\u7e54\u306b\u6240\u5c5e\u3059\u308b\u958b\u767a\u8005\u5411\u3051\u306e\u30d8\u30c3\u30c0\u306b\u306f\u672a\u5bfe\u5fdc\u3067\u3059\uff08202303\u6642\u70b9\uff09\n<ul class=\"wp-block-list\">\n<li><code>OpenAI-Organization<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u306a\u304a\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30eaID\u304c\u3001OpenAI API \u306e <code>user<\/code> \u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u81ea\u52d5\u7684\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002\uff08\u8a66\u9a13\u7684\uff09\n<ul class=\"wp-block-list\">\n<li><code>processInstance.getProcessModelInfoId()<\/code><\/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;\">See Also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"ZvYjpRrU0X\"><a href=\"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-start-2023\/\">OpenAI: Chat, \u958b\u59cb<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;OpenAI: Chat, \u958b\u59cb&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-start-2023\/embed\/#?secret=92L0EI56ch#?secret=ZvYjpRrU0X\" data-secret=\"ZvYjpRrU0X\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>OpenAI API (ChatGPT) \u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3057\u307e\u3059\u3002\u4f1a\u8a71\u5c65\u6b74\u3092\u3075\u307e\u3048\u305f\u518d\u8cea\u554f\u3084\u9ad8\u5ea6\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ed8\u3051\u305f\u6307\u793a\uff08PROMPT\uff09\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6e29\u5ea6\u3001\u4e0a\u4f4d\uff05\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3001\u518d\u51fa\u73fe\u7981\u6b62\u5ea6\u3001\u983b\u51fa\u7981\u6b62\u5ea6\u3001Logit\u30d0\u30a4\u30a2\u30b9\u306a\u3069\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u3055\u308c\u308b\u30e2\u30c7\u30ebID\u306f &#8220;gpt-3.5-turbo&#8221; \u3067\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":143457,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_crdt_document":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","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":[169],"tags":[3430,2536],"class_list":["post-143466","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-openai-api-ja","tag-workflow-automation-ja"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.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\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/ja\/author\/imamuragenichi\/"},"uagb_comment_info":1,"uagb_excerpt":"OpenAI API (ChatGPT) \u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3057\u307e\u3059\u3002\u4f1a\u8a71\u5c65\u6b74\u3092\u3075\u307e\u3048\u305f\u518d\u8cea\u554f\u3084\u9ad8\u5ea6\u306a\u30d1\u30e9\u30e1\u30fc&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-BjY","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":181945,"url":"https:\/\/support.questetra.com\/ja\/addons\/azure-openai-service-chat-interact-with-parameters-2026\/","url_meta":{"origin":143466,"position":0},"title":"Azure OpenAI Service #Chat: \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71","author":"Tsuyoshi Kusaka","date":"2026-03-30","format":false,"excerpt":"Azure OpenAI Service \u306e API (Microsoft \u57fa\u76e4\u4e0a\u3067\u52d5\u304f ChatG\u2026","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.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\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":150661,"url":"https:\/\/support.questetra.com\/ja\/addons\/azure-openai-service-chat-interact-with-parameters\/","url_meta":{"origin":143466,"position":1},"title":"Azure OpenAI Service #Chat: \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71","author":"Tsuyoshi Kusaka","date":"2023-09-01","format":false,"excerpt":"Azure OpenAI Service \u306e API (Microsoft \u57fa\u76e4\u4e0a\u3067\u52d5\u304f ChatG\u2026","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.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\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/eyecatch-azure-openai-service-chat-interact-with-parameters-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":146199,"url":"https:\/\/support.questetra.com\/ja\/templates\/slogan-create-20230517\/","url_meta":{"origin":143466,"position":2},"title":"\u30ad\u30e3\u30c3\u30c1\u30b3\u30d4\u30fc\u4f5c\u6210\u30d7\u30ed\u30bb\u30b9, ChatGPT\u9023\u643a","author":"Tsuyoshi Kusaka","date":"2023-05-17","format":false,"excerpt":"ChatGPT\u304c\u88fd\u54c1\u30ad\u30e3\u30c3\u30c1\u30b3\u30d4\u30fc\u6848\u3092\u63d0\u6848\u3057\u3066\u304f\u308c\u308b\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002 \u6bce\u671d7\u6642\u306b\u81ea\u52d5\u958b\u59cb\u3055\u308c\u30015\u3064\u306e\u30b3\u2026","rel":"","context":"\u30ef\u30fc\u30af\u30d5\u30ed\u30fc \u30a2\u30d7\u30ea","block_context":{"text":"\u30ef\u30fc\u30af\u30d5\u30ed\u30fc \u30a2\u30d7\u30ea","link":"https:\/\/support.questetra.com\/ja\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/eyecatch-slogan-create-20230517-ja.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\/05\/eyecatch-slogan-create-20230517-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/eyecatch-slogan-create-20230517-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/eyecatch-slogan-create-20230517-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/eyecatch-slogan-create-20230517-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":143914,"url":"https:\/\/support.questetra.com\/ja\/addons\/openai-chat-interact-with-parameters-202303\/","url_meta":{"origin":143466,"position":3},"title":"OpenAI #Chat: \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71","author":"IMAMURA, Genichi","date":"2023-03-20","format":false,"excerpt":"OpenAI API (ChatGPT) \u3068\u901a\u4fe1\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8 MODEL \u306f \"gpt-4\" \u2026","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"OpenAI: Chat, \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5bfe\u8a71","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-ja.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\/03\/openai-chat-interact-with-parameters-202303-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":143460,"url":"https:\/\/support.questetra.com\/addons\/openai-chat-interact-with-parameters-2023\/","url_meta":{"origin":143466,"position":4},"title":"OpenAI: Chat, Interact with Parameters","author":"IMAMURA, Genichi","date":"2023-03-08","format":false,"excerpt":"Communicates with OpenAI API (ChatGPT). Instructio\u2026","rel":"","context":"Add-ons","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-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\/03\/openai-chat-interact-with-parameters-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":143909,"url":"https:\/\/support.questetra.com\/addons\/openai-chat-interact-with-parameters-202303\/","url_meta":{"origin":143466,"position":5},"title":"OpenAI #Chat: Interact with Parameters","author":"IMAMURA, Genichi","date":"2023-03-20","format":false,"excerpt":"Communicates with OpenAI API (ChatGPT); the defaul\u2026","rel":"","context":"Add-ons","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"OpenAI: Chat, Interact with Parameters","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-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\/03\/openai-chat-interact-with-parameters-202303-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/03\/openai-chat-interact-with-parameters-202303-capture-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/143466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/comments?post=143466"}],"version-history":[{"count":5,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/143466\/revisions"}],"predecessor-version":[{"id":143921,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/143466\/revisions\/143921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media\/143457"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media?parent=143466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/categories?post=143466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/tags?post=143466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}