{"id":8801,"date":"2024-06-25T18:21:52","date_gmt":"2024-06-25T09:21:52","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=8801"},"modified":"2024-07-03T21:49:46","modified_gmt":"2024-07-03T12:49:46","slug":"post-8801","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=8801","title":{"rendered":"GAS\u3067GPT-4o\u306eAPI\u306e\u5229\u7528\u65b9\u6cd5\uff01\u753b\u50cf\u542b\u3080\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u5165\u529b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9"},"content":{"rendered":"\n<p>OpenAI\u304c2024\u5e745\u6708\u306b\u767a\u8868\u3057\u305fGPT-4\u306e\u5f8c\u7d99\u30e2\u30c7\u30eb\u3067\u3042\u308bGPT-4o\u306f\u97f3\u58f0\u306b\u3082\u5bfe\u5fdc\u3057\u305f\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u306a\u751f\u6210AI\u3067\u3059\u3002<\/p>\n\n\n\n<p>GPT-4o\u306fChatGPT\u306e\u30a2\u30d7\u30ea\u304b\u3089\u5b9f\u884c\u3059\u308b\u4ee5\u5916\u306bAPI\u3082\u7528\u610f\u3055\u308c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u7d4c\u7531\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001Google Apps Script(GAS)\u3067GPT-4o\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u89e3\u8aac\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=\"GAS\u3067GPT-4o\u306eAPI\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u89e3\u8aac\u3010\u30b3\u30d4\u30da\u3067OK\u3011\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/mDrQGdnudL0?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\">2024\u5e745\u6708\u306bGPT-4o\u304c\u767b\u5834<\/h2>\n\n\n\n<p>2024\u5e745\u670813\u65e5(\u73fe\u5730\u6642\u9593)\u306bOpenAI\u304c\u767a\u8868\u3057\u305f\u65b0\u3057\u3044\u30e2\u30c7\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"433\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009.jpg\" alt=\"2024\u5e745\u670813\u65e5\u306bOpenAI\u793e\u306f\u97f3\u58f0\u5165\u529b\u306b\u3082\u5bfe\u5fdc\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u30fb\u753b\u50cf\u30fb\u97f3\u58f0\u306e\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u306a\u751f\u6210AI\u3067\u3042\u308b\u300cGPT-4o\u300d\u3092\u767a\u8868\" class=\"wp-image-8810\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-300x162.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-768x416.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-530x287.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-565x306.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-710x384.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_009-725x392.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>GPT-4o\u306f\u30c6\u30ad\u30b9\u30c8\u3001\u97f3\u58f0\u3001\u753b\u50cf\u3092\u7d71\u5408\u7684\u306b\u51e6\u7406\u53ef\u80fd\u306a\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30ebAI\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u307e\u3067ChatGPT\u306f\u97f3\u58f0\u5165\u529b\u3082\u53ef\u80fd\u3067\u3057\u305f\u304c\u3001Whisper\u3068\u547c\u3070\u308c\u308b\u5225\u306e\u97f3\u58f0\u8a8d\u8b58\u7528\u30e2\u30c7\u30eb\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001GPT-4o\u306b\u306a\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u3068\u753b\u50cf\u306b\u52a0\u3048\u3066\u3001\u97f3\u58f0\u3082\u51e6\u7406\u3067\u304d\u308b\u30e2\u30c7\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4o\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u5fdc\u7b54\u901f\u5ea6<\/h2>\n\n\n\n<p>GPT-4o\u306f\u3053\u308c\u307e\u3067\u306eGPT-4\u306b\u6bd4\u3079\u308b\u3068\u5fdc\u7b54\u901f\u5ea6\u304c\u683c\u6bb5\u306b\u5411\u4e0a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>ChatGPT\u3088\u308a\u3082\u9ad8\u7cbe\u5ea6\u306a\u5fdc\u7b54\u3092\u3059\u308bGPT-4\u306f\u751f\u6210\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u304c\u30cd\u30c3\u30af\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001GPT-4o\u3067\u306fGPT-4\u3068\u6bd4\u8f03\u3059\u308b\u3068\u3001\u5287\u7684\u306b\u51e6\u7406\u901f\u5ea6\u304c\u901f\u304f\u306a\u308a\u3001\u3042\u3063\u3068\u3044\u3046\u9593\u306b\u5fdc\u7b54\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>GPT-4o\u306e\u9ad8\u901f\u5316\u30e2\u30c7\u30eb\u306b\u3088\u3063\u3066\u4f4e\u9045\u5ef6\u3067\u97f3\u58f0\u3082\u751f\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u97f3\u58f0\u3067\u306e\u751f\u6210AI\u3068\u306e\u3084\u308a\u3068\u308a\u3067\u3082\u3001\u81ea\u7136\u306a\u3084\u308a\u3068\u308a\u304c\u3067\u304d\u308b\u307b\u3069\u3068OpenAI\u306f\u30a2\u30d4\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4o\u304cAPI\u3067\u3082\u5229\u7528\u53ef\u80fd<\/h2>\n\n\n\n<p>OpenAI\u304c2024\u5e745\u6708\u306b\u767a\u8868\u3057\u305fGPT-4o\u306fAPI\u3068\u3057\u3066\u3082\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>API\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001GPT-4o\u3092\u81ea\u793e\u30b5\u30fc\u30d3\u30b9\u3084\u30a2\u30d7\u30ea\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306bGPT-4o\u306eAPI\u5229\u7528\u6599\u91d1\u306f\u304b\u306a\u308a\u5b89\u4fa1\u3067\u3001GPT-4\u3088\u308a\u30821\u30c8\u30fc\u30af\u30f3\u3042\u305f\u308a\u306e\u5229\u7528\u6599\u3082\u5b89\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"412\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006.jpg\" alt=\"GPT-4o\u3068GPT-4\u3068ChatGPT(GPT-3.5-Turbo)\u306e\u6599\u91d1\u6bd4\u8f03\u3067GPT-4\u3088\u308a\u3082GPT-4o\u304c50%\u5b89\u3044\" class=\"wp-image-8807\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-300x155.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-768x396.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-530x273.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-565x291.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-710x366.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_006-725x373.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u4f4e\u30b3\u30b9\u30c8\u3067\u9ad8\u6027\u80fd\u306a\u751f\u6210AI\u3092\u6d3b\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u203b\u305f\u3060\u3057\u3001GPT-4o\u306eAPI\u3067\u306f\u5f37\u307f\u3067\u3042\u308b\u97f3\u58f0\u5165\u529b\u306f\u73fe\u6642\u70b9\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067GPT-4o\u306eAPI\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>Google Apps Script(GAS)\u3067GPT-4o\u306eAPI\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u57fa\u672c\u7684\u306a\u65b9\u6cd5\u306f2023\u5e74\u306b\u767b\u5834\u3057\u305fGPT-4\u3068\u540c\u3058\u3088\u3046\u306bAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u5b9f\u73fe\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u203bGPT-4\u306eAPI\u3092GAS\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\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-google-apps-script-gas-sikuli wp-block-embed-autoworker-google-apps-script-gas-sikuli\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"PyYj9bScWx\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=7941\">GPT-4\u306eAPI\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff01<\/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\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff01&#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=7941&#038;embed=true#?secret=PH4Ux5HpBW#?secret=PyYj9bScWx\" data-secret=\"PyYj9bScWx\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u524d\u8ff0\u3057\u305f\u901a\u308a\u3001GPT-4o\u306eAPI\u3067\u306f\u5165\u529b\u306f\u30c6\u30ad\u30b9\u30c8\u3068\u753b\u50cf\u306e\u307f\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u97f3\u58f0\u306b\u306f\u672a\u5bfe\u5fdc\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001\u4eca\u56de\u306fGPT-4o\u306b\u30d7\u30ed\u30f3\u30d7\u30c8(\u30c6\u30ad\u30b9\u30c8)\u306e\u307f\u9001\u308b\u3084\u308a\u65b9\u3068\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\uff0b\u753b\u50cf\u3092\u9001\u308b\u3084\u308a\u65b9\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4o\u306eAPI\u30ad\u30fc\u767a\u884c\u65b9\u6cd5<\/h2>\n\n\n\n<p>GPT-4o\u3092API\u7d4c\u7531\u3067\u5229\u7528\u3059\u308b\u306b\u306f\u3001OpenAI\u306eAPI\u306e\u5229\u7528\u767b\u9332\u3092\u884c\u3044\u3001API\u30ad\u30fc\u3092\u767a\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>GPT-4o\u306eAPI\u30ad\u30fc\u767a\u884c\u65b9\u6cd5\u306fChatGPT\u3084GPT-4\u3068\u540c\u69d8\u3067\u3001\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u5229\u7528\u767b\u9332\u3068API\u30ad\u30fc\u767a\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker-google-apps-script-gas-sikuli wp-block-embed-autoworker-google-apps-script-gas-sikuli\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"DEYD5TPUMv\"><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=k406DfvooW#?secret=DEYD5TPUMv\" data-secret=\"DEYD5TPUMv\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306e\u624b\u9806\u3092\u53c2\u8003\u306b\u307e\u305a\u3001OpenAI\u306eAPI\u30ad\u30fc\u3092\u767a\u884c\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4o\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u307f\u9001\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>Google Apps Script(GAS)\u3067GPT-4o\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9001\u308a\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>GAS\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u3001GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306bGPT-4o\u306eAPI\u30ad\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"459\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003.jpg\" alt=\"GPT-4o\u306eAPI\u3092Google Apps Script(GAS)\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u304d\u308b\u3088\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306bAPI\u30ad\u30fc\u3092\u8a2d\u5b9a\" class=\"wp-image-8804\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-300x172.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-768x441.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-530x304.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-565x324.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-710x407.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_003-725x416.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u5de6\u30e1\u30cb\u30e5\u30fc\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u304b\u3089\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306b\u300cAPIKEY\uff1a&#8221;OpenAI\u306eAPI\u30ad\u30fc&#8221;\u300d\u3092\u8ffd\u52a0\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>GPT-4o\u3092API\u7d4c\u7531\u3067\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5165\u529b\u3057\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u51fa\u529b\u3059\u308bGAS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">function requestGptCompletion() {\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  \/\/OpenAI\u306eAPI\u3067\u5229\u7528\u3059\u308b\u30e2\u30c7\u30eb\u3092\u9078\u629e\u3059\u308b(gpt-3.5-turbo, gpt-4, gpt-4o)\n  const model = 'gpt-4o';\n  \/\/GPT\u306eAPI\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\n  const apiUrl = 'https:\/\/api.openai.com\/v1\/chat\/completions';\n  \/\/GPT\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': 'GPT-4o\u3078\u306e\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8'}];\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\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': model,\n      'max_tokens' : 2048,\n      'temperature' : 0.9,\n      'messages': messages})\n  };\n  \/\/OpenAI\u306eGPT\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<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"472\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001.jpg\" alt=\"Google Apps Script(GAS)\u3067GPT-4o\u306b\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u307f\u5165\u529b\u3057\u3066\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-8802\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-300x177.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-768x453.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-530x313.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-565x333.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-710x419.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_001-725x428.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e2\u884c\u76ee\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u8ffd\u52a0\u3057\u305fAPI\u30ad\u30fc\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5f8cAPI\u3067\u5229\u7528\u3059\u308b\u30e2\u30c7\u30eb\u3068\u3057\u3066GPT-4o\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u300cgpt-4o\u300d\u3092\u300cgpt-3.5-turbo\u300d\u3084\u300cgpt-4\u300d\u306b\u66f8\u304d\u63db\u3048\u308b\u3068\u4f7f\u7528\u3059\u308b\u30e2\u30c7\u30eb\u306e\u5207\u308a\u66ff\u3048\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>9\u884c\u76ee\u3067GPT-4o\u306b\u5165\u529b\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3067GPT-4o\u306b\u81ea\u7531\u306b\u8cea\u554f\u3084\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001user\u30ed\u30fc\u30eb\u3084assistant\u30ed\u30fc\u30eb\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3001\u904e\u53bb\u306e\u3084\u308a\u53d6\u308a\u30fb\u6587\u8108\u306b\u5247\u3057\u305f\u5fdc\u7b54\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>API\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3084\u306f\u524d\u6bb5\u3067\u7d39\u4ecb\u3057\u305fGAS\u306b\u3088\u308bGPT-4\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u540c\u3058\u306a\u306e\u3067\u3001\u8a73\u7d30\u306a\u8aac\u660e\u306f\u305d\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>GAS\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u95a2\u6570\u3067\u3042\u308b\u300crequestGptCompletion\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5b9f\u884c\u30ed\u30b0\u306bGPT-4o\u306e\u5fdc\u7b54\u7d50\u679c\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"419\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002.jpg\" alt=\"Google Apps Script(GAS)\u3067GPT-4o\u306b\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u307f\u5165\u529b\u3057\u3066\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001GPT-4o\u304b\u3089\u306e\u751f\u6210AI\u306e\u751f\u6210\u7d50\u679c\u304c\u5b9f\u884c\u30ed\u30b0\u306b\u51fa\u529b\" class=\"wp-image-8803\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-300x157.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-768x402.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-530x278.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-565x296.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-710x372.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_002-725x380.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306bGAS\u3092\u4f7f\u3063\u3066GPT-4o\u306bAPI\u7d4c\u7531\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u5fdc\u7b54\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u6307\u793a\u3057\u305f\u5185\u5bb9\u306b\u5fdc\u3058\u3066\u3001GPT-4o\u306fAPI\u3067\u3082\u9ad8\u7cbe\u5ea6\u306a\u5fdc\u7b54\u3092\u9ad8\u901f\u306b\u51fa\u529b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GPT-4o\u306b\u30d7\u30ed\u30f3\u30d7\u30c8+\u753b\u50cf\u3092\u9001\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>\u7d9a\u3044\u3066GPT-4o\u306eAPI\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u306a\u304f\u3001\u753b\u50cf\u3082\u4e00\u7dd2\u306b\u9001\u308bGoogle Apps Script(GAS)\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u304cGAS\u3067GPT-4o\u306b\u753b\u50cf\u3068\u30c6\u30ad\u30b9\u30c8\u3092API\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">function requestImageGptCompletion() {\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  \/\/OpenAI\u306eAPI\u3067\u5229\u7528\u3059\u308b\u30e2\u30c7\u30eb\u306fgpt-4o\u304bgpt-4-turbo\n  const model = 'gpt-4o';\n  \/\/GPT-4o\u306eAPI\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\n  const apiUrl = 'https:\/\/api.openai.com\/v1\/chat\/completions';\n  \/\/GPT-4o\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 message = 'GPT-4o\u3078\u306e\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8';\n  \/\/GPT-4o\u306b\u6295\u3052\u308b\u753b\u50cfURL\u3092\u8a2d\u5b9a\u3059\u308b\n  const image = '\u753b\u50cfURL';\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-4o\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': model,\n      'max_tokens' : 2048,\n      'temperature' : 0.9,\n      \"messages\": [{\n        \"role\": \"user\",\n        \"content\": [\n          {\n            \"type\": \"text\",\n            \"text\": message\n          },\n          {\n            \"type\": \"image_url\",\n            \"image_url\": {\n              \"url\": image\n            }\n          }\n        ]\n      }],\n      })\n  };\n  \/\/OpenAI\u306eGPT-4o\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-4o\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<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"732\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004.jpg\" alt=\"Google Apps Script(GAS)\u3067GPT-4o\u306b\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u52a0\u3048\u3066\u753b\u50cf\u3082\u5165\u529b\u3057\u3066\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-8805\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-300x183.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-1024x625.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-768x468.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-530x323.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-565x345.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-710x433.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_004-725x442.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u524d\u6bb5\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u307f\u9001\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u6539\u826f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u753b\u50cfURL\u3092\u9001\u3063\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u5f0f\u3067\u300111\u884c\u76ee\u306b\u753b\u50cfURL\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u753b\u50cf\u30ea\u30af\u30a8\u30b9\u30c8\u306fURL\u3067\u6307\u5b9a\u3059\u308b\u4ed6\u306b\u753b\u50cfBASE-64\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u3066\u9001\u308b\u3084\u308a\u65b9\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u3067\u8a66\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>API\u306b\u9001\u308b\u969b\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u90e8\u5206(27~41\u884c\u76ee)\u3067messages\u306e\u4e2d\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u306b\u52a0\u3048\u3066\u3001\u753b\u50cfURL\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u3084\u753b\u50cfURL\u3092\u8a2d\u5b9a\u3057\u3066\u300crequestImageGptCompletion\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u753b\u50cf\u3068\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3059\u308b\u5fdc\u7b54\u7d50\u679c\u304c\u30ed\u30b0\u51fa\u529b\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"403\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005.jpg\" alt=\"Google Apps Script(GAS)\u3067GPT-4o\u306b\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u52a0\u3048\u3066\u753b\u50cf\u3082\u5165\u529b\u3057\u3066\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\u3067\u3001\u6dfb\u4ed8\u3057\u305f\u30c1\u30e9\u30b7\u753b\u50cf\u304b\u3089\u304a\u8cb7\u3044\u5f97\u306a\u5546\u54c1\u3068\u4fa1\u683c\u3092\u65e5\u4ed8\u3054\u3068\u306b\u89e3\u6790\u3057\u3066\u5fdc\u7b54\" class=\"wp-image-8806\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-300x151.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-768x387.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-530x267.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-565x285.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-710x358.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_005-725x365.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u4eca\u56de\u306f\u30c1\u30e9\u30b7\u753b\u50cf\u3068\u7279\u58f2\u54c1\u3092\u8aad\u307f\u53d6\u308b\u6307\u793a\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9001\u3063\u305f\u3068\u3053\u308d\u3001\u30c1\u30e9\u30b7\u753b\u50cf\u3092\u89e3\u6790\u3057\u3066\u5185\u5bb9\u3092\u8aad\u307f\u53d6\u3063\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-thumb725\"><img loading=\"lazy\" decoding=\"async\" width=\"513\" height=\"725\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-513x725.jpg\" alt=\"GPT-4o\u306eAPI\u3067\u753b\u50cf\u89e3\u6790\u3057\u305f\u30b9\u30fc\u30d1\u30fc\u30de\u30fc\u30b1\u30c3\u30c8\u306e\u30c1\u30e9\u30b7\" class=\"wp-image-8809\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-513x725.jpg 513w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-212x300.jpg 212w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-375x530.jpg 375w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-400x565.jpg 400w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008-502x710.jpg 502w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2024\/06\/20240625_auto_008.jpg 566w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/figure>\n\n\n\n<p>\u30b9\u30fc\u30d1\u30fc\u30de\u30fc\u30b1\u30c3\u30c8\u306e\u7279\u58f2\u60c5\u5831\u306e\u30c1\u30e9\u30b7\u3067\u3059\u304c\u3001\u65e5\u4ed8\u3054\u3068\u306e\u304a\u8cb7\u3044\u5f97\u5546\u54c1\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u90e8\u8aa4\u3063\u305f\u5546\u54c1\u3092\u51fa\u529b\u3057\u3066\u3044\u308b\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u304d\u3061\u3093\u3068\u30c1\u30e9\u30b7\u306e\u5185\u5bb9\u3092\u8aad\u307f\u53d6\u3063\u3066\u534a\u5206\u4ee5\u4e0a\u6b63\u3057\u304f\u5546\u54c1\u3068\u4fa1\u683c\u3092\u8a8d\u8b58\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c1\u30e9\u30b7\u306fOCR\u3060\u3051\u3060\u3068\u60c5\u5831\u91cf\u304c\u591a\u3044\u305f\u3081\u5546\u54c1\u3068\u4fa1\u683c\u306e\u5bfe\u5fdc\u95a2\u4fc2\u306e\u89e3\u6790\u304c\u96e3\u3057\u3044\u3067\u3059\u304c\u3001GPT-4o\u3092\u6d3b\u7528\u3059\u308c\u3070\u30c1\u30e9\u30b7\u304b\u3089\u304a\u8cb7\u3044\u5f97\u5546\u54c1\u306e\u62bd\u51fa\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\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\u30012024\u5e745\u6708\u306b\u767a\u8868\u3055\u308c\u305fOpenAI\u306e\u65b0\u3057\u3044\u30e2\u30c7\u30ebGPT-4o\u306eAPI\u3092Google Apps Script(GAS)\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u307e\u3067\u306eChatGPT\u3084GPT-4\u3068\u540c\u3058\u3088\u3046\u306b\u3001GPT-4o\u3082API\u7d4c\u7531\u3067\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9001\u308a\u3001\u5fdc\u7b54\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>GPT-4\u306b\u6bd4\u3079\u3001\u5fdc\u7b54\u901f\u5ea6\u306f\u304b\u306a\u308a\u5411\u4e0a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u52a0\u3048\u3066\u753b\u50cf\u3082\u4e00\u7dd2\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u3001\u753b\u50cf\u306e\u5185\u5bb9\u3092\u89e3\u6790\u3057\u3066\u3082\u3089\u3046\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>GPT-4o\u306b\u3088\u3063\u3066OpenAI\u306e\u751f\u6210AI\u306f\u307e\u3059\u307e\u3059\u9032\u5316\u3057\u3066\u3044\u308b\u306e\u3067\u3001API\u7d4c\u7531\u3067GPT-4o\u3092\u4f7f\u3063\u3066\u8272\u3005\u306a\u30b5\u30fc\u30d3\u30b9\u3084\u30a2\u30d7\u30ea\u306b\u6d3b\u7528\u3057\u3066\u307f\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenAI\u304c2024\u5e745\u6708\u306b\u767a\u8868\u3057\u305fGPT-4\u306e\u5f8c\u7d99\u30e2\u30c7\u30eb\u3067\u3042\u308bGPT-4o\u306f\u97f3\u58f0\u306b\u3082\u5bfe\u5fdc\u3057\u305f\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u306a\u751f\u6210AI\u3067\u3059\u3002 GPT-4o\u306fChatGPT\u306e\u30a2\u30d7\u30ea\u304b\u3089\u5b9f\u884c\u3059\u308b\u4ee5\u5916\u306bAPI\u3082\u7528\u610f\u3055\u308c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u7d4c\u7531\u3067\u5b9f\u884c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8808,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[14,1350,1351,1213],"class_list":["post-8801","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-gas","tag-gas","tag-gpt-4o","tag-gpt-4o-api","tag-1213"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8801","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=8801"}],"version-history":[{"count":5,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8801\/revisions"}],"predecessor-version":[{"id":8846,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8801\/revisions\/8846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/8808"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}