{"id":7941,"date":"2023-07-12T09:45:55","date_gmt":"2023-07-12T00:45:55","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=7941"},"modified":"2023-07-14T10:03:05","modified_gmt":"2023-07-14T01:03:05","slug":"post-7941","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=7941","title":{"rendered":"GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff01"},"content":{"rendered":"\n<p>GPT-4\u306eAPI\u304c2023\u5e747\u67086\u65e5\u3088\u308a\u4e00\u822c\u516c\u958b\u3055\u308c\u3066\u3001\u8ab0\u3067\u3082\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Google Apps Script(GAS)\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067GPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u9805\u76ee\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\uff01\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3042\u308a\u3011\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/AnvYYz-0eSE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4\u306eAPI\u304c\u8ab0\u3067\u3082\u5229\u7528\u53ef\u80fd\u306b<\/h2>\n\n\n\n<p>2023\u5e747\u67086\u65e5\u306bOpenAI\u304cGPT-4\u306eAPI\u3092\u8ab0\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u4e00\u822c\u516c\u958b\u3059\u308b\u3068\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u767a\u8868\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-1024x544.jpg\" alt=\"OpenAI\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u3067GPT-4\u306eAPI\u3092\u4e00\u90e8\u30e6\u30fc\u30b6\u30fc\u306e\u307f\u3067\u306a\u304f\u3001\u5168\u3066\u306e\u6709\u6599\u30e6\u30fc\u30b6\u30fc\u306b\u958b\u653e\u3059\u308b\u30682023\u5e747\u67086\u65e5\u306b\u767a\u8868\" class=\"wp-image-7920\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-1024x544.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-300x159.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-768x408.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-530x281.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-565x300.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-710x377.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001-725x385.jpg 725w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_001.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>GPT-4\u306f\u6709\u6599\u7248\u306eChatGPT Plus\u3067\u3057\u304b\u5229\u7528\u3067\u304d\u305a\u3001API\u306f\u30a6\u30a7\u30a4\u30c8\u30ea\u30b9\u30c8\u767b\u9332\u5f8c\u3001\u62db\u5f85\u30e1\u30fc\u30eb\u304c\u5c4a\u3044\u305f\u30e6\u30fc\u30b6\u30fc\u3057\u304b\u4f7f\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>ChatGPT\u3088\u308a\u3082\u9ad8\u7cbe\u5ea6\u306e\u751f\u6210AI\u3067\u3042\u308bGPT-4\u306eAPI\u304c\u8ab0\u3067\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u591a\u304f\u30e6\u30fc\u30b6\u30fc\u304cAPI\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u898b\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u2193GPT-4\u306eAPI\u4e00\u822c\u516c\u958b\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u8a73\u7d30\u3092\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Tbf1kod3OV\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=7919\">GPT-4\u306eAPI\u304c7\u67086\u65e5\u3088\u308a\u8ab0\u3067\u3082\u5229\u7528\u53ef\u80fd\u3068\u4e00\u822c\u516c\u958b\uff01\u30a6\u30a7\u30a4\u30c8\u30ea\u30b9\u30c8\u4e0d\u8981\u306b<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GPT-4\u306eAPI\u304c7\u67086\u65e5\u3088\u308a\u8ab0\u3067\u3082\u5229\u7528\u53ef\u80fd\u3068\u4e00\u822c\u516c\u958b\uff01\u30a6\u30a7\u30a4\u30c8\u30ea\u30b9\u30c8\u4e0d\u8981\u306b&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=7919&#038;embed=true#?secret=5OGznBvGW4#?secret=Tbf1kod3OV\" data-secret=\"Tbf1kod3OV\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4\u306eAPI\u5229\u7528\u306b\u306fGAS\u304c\u304a\u3059\u3059\u3081<\/h2>\n\n\n\n<p>GPT-4\u306eAPI\u3092\u5229\u7528\u65b9\u6cd5\u3068\u3057\u3066\u306f\u30ed\u30fc\u30b3\u30fc\u30c9\u3084\u30ce\u30fc\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306e\u5229\u7528\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3051\u308bGPT-4\u306eAPI\u4f7f\u7528\u4e8b\u4f8b\u3067\u306f\u3001Python\u304c\u6700\u3082\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u30aa\u30b9\u30b9\u30e1\u3057\u305f\u3044\u306e\u306fGoogle Apps Script(GAS)\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"424\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001.jpg\" alt=\"Google Apps Script(GAS)\u306f\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u306e\u7121\u6599\u3067\u4f7f\u3048\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u30b5\u30fc\u30d3\u30b9\u3067\u3001\u696d\u52d9\u6539\u5584\u3084\u696d\u52d9\u81ea\u52d5\u5316\u306b\u6d3b\u7528\" class=\"wp-image-7942\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-300x159.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-768x407.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-530x281.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-565x299.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-710x376.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_001-725x384.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Google Apps Script(GAS)\u306f\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3067\u958b\u767a\u74b0\u5883\u3092\u6574\u3048\u305a\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306bGoogle\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3084Google\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u3044\u3063\u305fGoogle\u7cfb\u30b5\u30fc\u30d3\u30b9\u3068\u9023\u643a\u3057\u3066\u3001\u5165\u529b\u30d7\u30ed\u30f3\u30d7\u30c8\u3084\u751f\u6210\u7d50\u679c\u306e\u4fdd\u5b58\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n\n\n<p>Python\u3067\u3082Google Colab(Colaboratory\uff09\u3092\u4f7f\u3048\u3070\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067GPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"408\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002.jpg\" alt=\"\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u305b\u305a\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u3059\u3050\u306bPython\u304c\u4f7f\u3048\u308bGoogle Colab(Colaboratory)\" class=\"wp-image-7943\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-768x392.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_002-725x370.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u751f\u6210\u7d50\u679c\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u306e\u306f\u3072\u3068\u624b\u9593\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3046\u3057\u305f\u70b9\u3067GPT-4\u306eAPI\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u624b\u8efd\u306bAPI\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u3067\u304d\u308b\u70b9\u306b\u52a0\u3048\u3001\u5b9f\u884c\u7d50\u679c\u3082\u4fdd\u5b58\u3057\u3084\u3059\u3044Google Apps Script(GAS)\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u305aOpenAI\u306eAPI\u767b\u9332\u3068API\u30ad\u30fc\u306e\u767a\u884c<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306bGPT-4\u306eAPI\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u306b\u306f\u3001\u958b\u767a\u5143\u3067\u3042\u308bOpenAI\u306eAPI\u306b\u5bfe\u3057\u3066\u5229\u7528\u767b\u9332\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u767b\u9332\u5f8c\u306bAPI\u30ad\u30fc\u3092\u767a\u884c\u3059\u308c\u3070\u3001GPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067OpenAI\u306eAPI\u5229\u7528\u767b\u9332\u3068API\u30ad\u30fc\u767a\u884c\u624b\u9806\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"SXeq9nQxZK\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=6988\">\u30102023\u5e74\u7248\u3011OpenAI\u306eAPI\u30ad\u30fc\u767a\u884c\u30fb\u53d6\u5f97\u624b\u9806\uff01ChatGPT\u3084GPT-4\u3001DALL-E3\u3092API\u7d4c\u7531\u3067\u5229\u7528\u53ef\u80fd<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30102023\u5e74\u7248\u3011OpenAI\u306eAPI\u30ad\u30fc\u767a\u884c\u30fb\u53d6\u5f97\u624b\u9806\uff01ChatGPT\u3084GPT-4\u3001DALL-E3\u3092API\u7d4c\u7531\u3067\u5229\u7528\u53ef\u80fd&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=6988&#038;embed=true#?secret=GITrIpIVcc#?secret=SXeq9nQxZK\" data-secret=\"SXeq9nQxZK\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u307e\u3060OpenAI\u306eAPI\u3092\u5229\u7528\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u4eba\u306f\u3001\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u308b\u624b\u9806\u306b\u5f93\u3063\u3066API\u5229\u7528\u767b\u9332\u3068\u30ad\u30fc\u767a\u884c\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4\u306eAPI\u304c\u4f7f\u3048\u308b\u304b\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n\n\n\n<p>OpenAI\u306eAPI\u5229\u7528\u767b\u9332\u306a\u3089\u3073\u306bAPI\u30ad\u30fc\u767a\u884c\u304c\u3067\u304d\u305f\u3089\u3001\u5b9f\u969b\u306bGoogle Apps Script(GAS)\u3067GPT-4\u306eAPI\u3092\u5b9f\u884c\u3067\u304d\u308b\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001GPT-4\u306eAPI\u304c\u767b\u9332\u3057\u305fOpenAI\u306eAPI\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u5229\u7528\u53ef\u80fd\u304b\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u306e\u3082\u3001GPT-4\u306eAPI\u306f2023\u5e747\u67086\u65e5\u304b\u3089\u4e00\u822c\u516c\u958b\u3057\u305f\u3068OpenAI\u304c\u767a\u8868\u3057\u3066\u3044\u308b\u3082\u306e\u306e\u3001\u307e\u3060\u5229\u7528\u3067\u304d\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u304c\u591a\u304f\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001GPT-4\u306eAPI\u304c\u5229\u7528\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>GPT-4\u306eAPI\u304c\u5229\u7528\u53ef\u80fd\u304b\u8abf\u3079\u308b\u65b9\u6cd5\u306fPlayGround\u3067\u3059\u3002<\/p>\n\n\n\n<p>Chat\u306ePlayGround\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30e2\u30c7\u30eb\u306e\u9078\u629e\u304c\u3067\u304d\u308b\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"408\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004.jpg\" alt=\"GPT-4\u304c\u5229\u7528\u53ef\u80fd\u306aAPI\u30e6\u30fc\u30b6\u30fc\u306e\u5834\u5408\u3001\u30e2\u30c7\u30eb\u306bGPT-4\u304c\u8868\u793a\" class=\"wp-image-7923\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-768x392.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_004-725x370.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u30e2\u30c7\u30eb\u9078\u629e\u306b\u300cgpt4\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u3001GPT-4\u306eAPI\u304c\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001gpt-4\u304cPlayGround\u306e\u30e2\u30c7\u30eb\u306b\u8868\u793a\u3055\u308c\u305a\u3001gpt-3.5-turbo\u306e\u307f\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"408\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003.jpg\" alt=\"OpenAI\u306eChatGPT(GPT-4)\u306e\u30d7\u30ec\u30a4\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u306eChat\u3067\u306e\u30e2\u30c7\u30eb\u8868\u793a\u306bGPT-4\u304c\u5b58\u5728\u305b\u305a\" class=\"wp-image-7922\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-768x392.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230709_auto_003-725x370.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>GPT-4\u306eAPI\u304c\u5229\u7528\u4e0d\u53ef\u80fd\u306a\u306e\u3067\u3001\u958b\u653e\u3055\u308c\u308b\u307e\u3067\u3082\u3046\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067GPT-4\u306eAPI\u3092\u4f7f\u3046\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>GPT-4\u306eAPI\u304c\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u304cPlayGround\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3089\u3001Google Apps Script(GAS)\u3067API\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3044\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306bGoogle Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u3063\u3066\u3001API\u30ad\u30fc\u306e\u8a2d\u5b9a\u624b\u9806\u3084\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"528\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-1024x528.jpg\" alt=\"OpenAI\u306eAPI\u3067GPT-4\u306e\u30e2\u30c7\u30eb\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3057\u3066\u751f\u6210\u7d50\u679c\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308bGoogle Apps Script(GAS)\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-7946\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-1024x528.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-300x155.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-768x396.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-530x273.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-565x291.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-710x366.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005-725x374.jpg 725w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_005.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">function requestGpt4Completion() {\n  \/\/\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u8a2d\u5b9a\u3057\u305fOpenAI\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97\n  const apiKey = PropertiesService.getScriptProperties().getProperty('APIKEY');\n  \/\/GPT-4\u306eAPI\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\n  const apiUrl = 'https:\/\/api.openai.com\/v1\/chat\/completions';\n  \/\/GPT-4\u306b\u6295\u3052\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5b9a\u7fa9(\u30e6\u30fc\u30b6\u30fc\u30ed\u30fc\u30eb\u306e\u6295\u7a3f\u6587\u306e\u307f)\n  const messages = [{'role': 'user', 'content': 'Google Apps Script\u306b\u3088\u308b\u696d\u52d9\u6539\u5584\u4e8b\u4f8b\u3068\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002'}];\n  \/\/OpenAI\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u30d8\u30c3\u30c0\u30fc\u60c5\u5831\u3092\u8a2d\u5b9a\n  const headers = {\n    'Authorization':'Bearer '+ apiKey,\n    'Content-type': 'application\/json',\n    'X-Slack-No-Retry': 1\n  };\n  \/\/GPT-4\u306e\u30e2\u30c7\u30eb\u3084\u30c8\u30fc\u30af\u30f3\u4e0a\u9650\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u8a2d\u5b9a\n  const options = {\n    'muteHttpExceptions' : true,\n    'headers': headers, \n    'method': 'POST',\n    'payload': JSON.stringify({\n      'model': 'gpt-4',\n      'max_tokens' : 2048,\n      'temperature' : 0.9,\n      'messages': messages})\n  };\n  \/\/OpenAI\u306eGPT-4\u306bAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u308a\u3001\u7d50\u679c\u3092\u5909\u6570\u306b\u683c\u7d0d\n  const response = JSON.parse(UrlFetchApp.fetch(apiUrl, options).getContentText());\n  \/\/GPT-4\u306eAPI\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30ed\u30b0\u51fa\u529b\n  console.log(response.choices[0].message.content);\n}<\/code><\/pre>\n\n\n\n<p>GAS\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u5bb9\u306f\u3001ChatGPT\u3092GAS\u3067\u5b9f\u884c\u3059\u308b\u3068\u304d\u3068\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<p>OpenAI\u306eAPI\u30ad\u30fc\u306f\u30b3\u30fc\u30c9\u4e0a\u306b\u76f4\u66f8\u304d\u3059\u308b\u306e\u306f\u3088\u304f\u306a\u3044\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u8a2d\u5b9a\u3057\u3066\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"440\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_006.jpg\" alt=\"GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306f\u3001OpenAI\u306eAPI\u30ad\u30fc\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\" class=\"wp-image-7948\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_006.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_006-300x165.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_006-768x422.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>OpenAI\u306eChat\u6a5f\u80fd\u306eAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u306a\u308bURL\u3092\u6307\u5b9a\u3057\u3001GPT-4\u306b\u9001\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u4eca\u56de\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u30e6\u30fc\u30b6\u30fc\u30ed\u30fc\u30eb\u304b\u3089\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u307f\u9001\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>API\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u30fc\u306b\u52a0\u3048\u3066\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u304c\u3001\u305d\u3053\u3067\u300cmodel\u300d\u306b\u300cgpt-4\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u901a\u5e38\u306eGPT-4(8K\u7248)\u306f8000\u30c8\u30fc\u30af\u30f3\u307e\u3067\u6271\u3048\u308b\u306e\u3067\u3001max_tokens\u3082\u5927\u304d\u3081\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306bUrlFetchApp.fetch\u3067\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u5f15\u6570\u306b\u3059\u308c\u3070\u3001GPT-4\u306eAPI\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>GPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308bGAS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5b9f\u884c\u30ed\u30b0\u306b\u5fdc\u7b54\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-1024x533.jpg\" alt=\"Google Apps Script(GAS)\u3067GPT-4\u306eAPI\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u305f\u7d50\u679c\u3001\u304b\u306a\u308a\u9577\u6587\u3067\u8a73\u3057\u3044\u5185\u5bb9\u3092\u751f\u6210\" class=\"wp-image-7945\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-1024x533.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-300x156.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-768x400.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-530x276.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-565x294.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-710x370.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004-725x378.jpg 725w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2023\/07\/20230712_auto_004.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>GAS\u306e\u696d\u52d9\u6539\u5584\u4e8b\u4f8b\u3068\u305d\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8981\u6c42\u3057\u305f\u3068\u3053\u308d\u30013\u3064\u306e\u696d\u52d9\u6539\u5584\u4e8b\u4f8b\u306e\u6982\u8981\u3068\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092GPT-4\u304c\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">Google Apps Script(GAS)\u306f\u3001G Suite\u306e\u5404\u7a2e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08Gmail\u3001Google\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306a\u3069\uff09\u3092\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u3001GAS\u3092\u6d3b\u7528\u3057\u305f\u696d\u52d9\u6539\u5584\u4e8b\u4f8b\u3068\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u793a\u3057\u307e\u3059\u3002\n\n1. **Gmail\u3068\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u9023\u643a**\n\n    \u4e8b\u4f8b\uff1a\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u306e\u81ea\u52d5\u6574\u7406\u30fb\u5206\u985e\n\n    Gmail\u304b\u3089\u7279\u5b9a\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u542b\u307e\u308c\u308b\u30e1\u30fc\u30eb\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u60c5\u5831\u3092Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u81ea\u52d5\u7684\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u306e\u5185\u5bb9\u3092\u4e00\u89a7\u5316\u3057\u3001\u305d\u308c\u306b\u57fa\u3065\u304f\u5206\u6790\u3084\u5bfe\u5fdc\u306e\u52b9\u7387\u5316\u3092\u56f3\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n\n    \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a\n    \n```javascript\n    function extractFromGmail() {\n      var threads = GmailApp.search('subject:\u554f\u3044\u5408\u308f\u305b from:(example@example.com)');\n      var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();\n\n      for (var i = 0; i &lt; threads.length; i++) {\n        var messages = threads[i].getMessages();\n        for (var j = 0; j &lt; messages.length; j++) {\n          sheet.appendRow([messages[j].getDate(), messages[j].getBody()]);\n        }\n      }\n    }\n```\n2. **\u5b9a\u671f\u7684\u306a\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u306e\u81ea\u52d5\u5316**\n\n    \u4e8b\u4f8b\uff1a\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u3001\u5b9a\u671f\u7684\u306a\u30ec\u30dd\u30fc\u30c8\u3092Google\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u4f5c\u6210\n\n    \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u3001\u305d\u308c\u3092\u3082\u3068\u306b\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3001Google\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u51fa\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u3092\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u4f5c\u696d\u306e\u81ea\u52d5\u5316\u304c\u53ef\u80fd\u3067\u3059\u3002\n\n    \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a\n    \n```javascript\n    function createReport() {\n      var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();\n      var data = sheet.getDataRange().getValues();\n      var doc = DocumentApp.create('Report');\n      var body = doc.getBody();\n\n      for (var i = 0; i &lt; data.length; i++) {\n        body.appendParagraph(data[i][0] + ': ' + data[i][1]);\n      }\n    }\n```\n3. **\u81ea\u52d5\u30ea\u30de\u30a4\u30f3\u30c0\u30fc\u6a5f\u80fd**\n\n    \u4e8b\u4f8b\uff1a\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u4e0a\u306e\u671f\u9650\u60c5\u5831\u304b\u3089\u81ea\u52d5\u3067\u30ea\u30de\u30a4\u30f3\u30c0\u30fc\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\n\n    \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u4e0a\u306b\u8a18\u8f09\u3055\u308c\u305f\u671f\u9650\u60c5\u5831\u3092\u3082\u3068\u306b\u3001\u671f\u9650\u65e5\u306e\u6570\u65e5\u524d\u306b\u306a\u3063\u305f\u3089\u81ea\u52d5\u3067\u30ea\u30de\u30a4\u30f3\u30c0\u30fc\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\n\n    \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a\n\n```javascript\n    function sendReminder() {\n      var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();\n      var data = sheet.getDataRange().getValues();\n      var today = new Date();\n\n      for (var i = 0; i &lt; data.length; i++) {\n        var deadline = new Date(data[i][0]);\n        var daysLeft = Math.floor((deadline - today) \/ (1000 * 60 * 60 * 24));\n\n        if (daysLeft == 3) {\n          MailApp.sendEmail({\n            to: 'example@example.com',\n            subject: 'Deadline reminder',\n            body: 'You have ' + daysLeft + ' days left until the deadline for ' + data[i][1],\n          });\n        }\n      }\n    }\n```\n\u3053\u308c\u3089\u306e\u4e8b\u4f8b\u306f\u6bd4\u8f03\u7684\u30b7\u30f3\u30d7\u30eb\u306a\u3082\u306e\u3067\u3059\u304c\u3001Google Apps Script\u306f\u975e\u5e38\u306b\u67d4\u8edf\u3067\u3042\u308a\u3001\u8907\u96d1\u306a\u696d\u52d9\u6d41\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/code><\/pre>\n\n\n\n<p>\u5909\u6570\u306e\u5b9a\u7fa9\u304cvar\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u5c11\u3057\u53e4\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u304c\u3001\u3059\u3050\u306b\u5b9f\u7528\u53ef\u80fd\u306aGAS\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6587\u8108\u306b\u6cbf\u3063\u305f\u56de\u7b54\u3092GPT-4\u304b\u3089\u5f97\u308b\u306b\u306f<\/h2>\n\n\n\n<p>\u306a\u304a\u3001GPT-4\u306eAPI\u306b\u3064\u3044\u3066\u3082\u3001ChatGPT\u3068\u540c\u3058\u3088\u3046\u306b\u6587\u8108\u306b\u6cbf\u3063\u305f\u51fa\u529b\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>ChatGPT\u306eAPI\u3092Google Apps Script(GAS)\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u305f\u8a18\u4e8b\u3067\u3001\u904e\u53bb\u306e\u3084\u308a\u53d6\u308a\u3092\u542b\u3081\u308b\u3084\u308a\u65b9\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"GFrJPDfsHK\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=7438\">GAS\u3067ChatGPT\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u65b9\u6cd5\uff01\u6587\u8108\u306b\u6cbf\u3063\u305f\u5fdc\u7b54\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GAS\u3067ChatGPT\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u65b9\u6cd5\uff01\u6587\u8108\u306b\u6cbf\u3063\u305f\u5fdc\u7b54\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=7438&#038;embed=true#?secret=b521wqHojJ#?secret=GFrJPDfsHK\" data-secret=\"GFrJPDfsHK\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u524d\u8ff0\u306eGPT-4\u306eAPI\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30ed\u30fc\u30eb1\u3064\u306e\u307f\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u306b\u904e\u53bb\u306e\u30e6\u30fc\u30b6\u30fc\u30ed\u30fc\u30eb\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3084GPT-4\u306e\u5fdc\u7b54\u7d50\u679c\u3067\u3042\u308b\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u52a0\u3048\u308b\u3053\u3068\u3067\u3001\u6587\u8108\u306b\u6cbf\u3063\u305f\u751f\u6210\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u904e\u53bb\u306e\u3084\u308a\u53d6\u308a\u3092\u591a\u304f\u542b\u3081\u308b\u3068\u3001\u5165\u529b\u30c8\u30fc\u30af\u30f3\u6570\u304c\u5897\u5927\u3057\u3001API\u5229\u7528\u6599\u304c\u9ad8\u984d\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u203bGPT-4\u306eAPI\u5229\u7528\u6599\u91d1\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"LOYLlWrIPs\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=7931\">GPT-4\u306eAPI\u306e\u6599\u91d1\u306f\u3044\u304f\u3089\uff1f8K\u306832K\u7248\u306e\u8cbb\u7528\u306e\u9055\u3044\u3084ChatGPT\u6bd4\u8f03\u3082<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GPT-4\u306eAPI\u306e\u6599\u91d1\u306f\u3044\u304f\u3089\uff1f8K\u306832K\u7248\u306e\u8cbb\u7528\u306e\u9055\u3044\u3084ChatGPT\u6bd4\u8f03\u3082&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=7931&#038;embed=true#?secret=FYuTI5feuk#?secret=LOYLlWrIPs\" data-secret=\"LOYLlWrIPs\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001\u4e00\u822c\u516c\u958b\u3055\u308c\u305fGPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>GPT-4\u306eAPI\u304c\u8ab0\u3067\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u624b\u8efd\u306bAPI\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306fGoogle Apps Script(GAS)\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p>OpenAI\u306eAPI\u5229\u7528\u767b\u9332\u3057\u3001API\u30ad\u30fc\u3092\u767a\u884c\u3059\u308c\u3070\u3001\u958b\u767a\u74b0\u5883\u7b49\u306f\u4e0d\u8981\u3067GPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3092GAS\u3067\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001GPT-4\u306eAPI\u306f\u307e\u3060\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u3088\u3063\u3066\u306f\u958b\u653e\u3055\u308c\u3066\u3044\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001OpenAI\u306e\u30d7\u30ec\u30a4\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u3001GPT-4\u306e\u30e2\u30c7\u30eb\u304c\u9078\u629e\u53ef\u80fd\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>GPT-4\u306fChatGPT\u3088\u308a\u3082\u9ad8\u6027\u80fd\u306a\u306e\u3067\u3001\u8272\u3005\u306a\u7528\u9014\u3067\u5229\u7528\u304c\u898b\u8fbc\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305c\u3072Google Apps Script(GAS)\u3092\u6d3b\u7528\u3057\u3066\u3001GPT-4\u306e\u4fbf\u5229\u306a\u81ea\u52d5\u5316\u4e8b\u4f8b\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001GPT-4\u306eAPI\u306f\u5229\u7528\u6599\u91d1\u304cChatGPT\u3088\u308a\u3082\u304b\u306a\u308a\u9ad8\u4fa1\u306a\u306e\u3067\u3001\u5b9f\u884c\u3057\u3059\u304e\u306b\u306f\u6ce8\u610f\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GPT-4\u306eAPI\u304c2023\u5e747\u67086\u65e5\u3088\u308a\u4e00\u822c\u516c\u958b\u3055\u308c\u3066\u3001\u8ab0\u3067\u3082\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u305d\u3053\u3067GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 Google Apps Scr [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7945,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2,1265],"tags":[14,1181,1215],"class_list":["post-7941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-gas","category-ai","tag-gas","tag-gpt-4","tag-gpt-4-api"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7941"}],"version-history":[{"count":4,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7941\/revisions"}],"predecessor-version":[{"id":7951,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7941\/revisions\/7951"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/7945"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}