{"id":9154,"date":"2023-08-16T10:00:49","date_gmt":"2023-08-16T01:00:49","guid":{"rendered":"https:\/\/bocek.co.jp\/media\/?p=9154"},"modified":"2023-08-16T10:00:51","modified_gmt":"2023-08-16T01:00:51","slug":"chatgpt%e3%81%ae%e3%83%97%e3%83%ad%e3%83%b3%e3%83%97%e3%83%88%e3%81%ab%e5%a4%89%e6%95%b0%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e5%8a%b9%e7%8e%87%e8%89%af%e3%81%8f%e5%9b%9e%e7%ad%94%e3%82%92%e5%be%97","status":"publish","type":"post","link":"https:\/\/taskhub.jp\/magazine\/exercise\/prompt-engineer-exercise\/9154\/","title":{"rendered":"ChatGPT\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u4f7f\u3063\u3066\u52b9\u7387\u826f\u304f\u56de\u7b54\u3092\u5f97\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\uff01"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>AI\u306e\u9818\u57df\u306b\u304a\u3044\u3066\u3001<strong>\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u300c\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306eAI\u3078\u306e\u6307\u793a\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/strong>\u6614\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u60c5\u5831\u3092\u30ad\u30e3\u30c3\u30c1\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3057\u305f\uff08Windows\u3067\u898b\u3089\u308c\u308b\u300c&gt;\u300d\u306a\u3069\uff09\u3002<\/p>\n\n\n\n<p><strong><mark style=\"background-color:#fee8ab\" class=\"has-inline-color\">ChatGPT\u3067\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u3001\u300cChatGPT\u3078\u306e\u8981\u6c42\u3084\u554f\u3044\u304b\u3051\u300d<\/mark><\/strong>\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001ChatGPT\u3068\u306e\u3084\u308a\u53d6\u308a\u306e\u969b\u306b\u3001\u30c1\u30e3\u30c3\u30c8\u753b\u9762\u306b\u5165\u529b\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u304c\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<p>ChatGPT\u3092\u7528\u3044\u308b\u969b\u306e\u5bfe\u8a71\u3067\u3001<strong><mark style=\"background-color:#fee8ab\" class=\"has-inline-color\">\u4f7f\u308f\u308c\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u8cea\u306b\u3088\u308a\u3001\u5f97\u3089\u308c\u308b\u5fdc\u7b54\u306f\u5927\u304d\u304f\u7570\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/mark><\/strong>ChatGPT\u306b\u5165\u529b\u3059\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u3001\u56de\u7b54\u306e\u8cea\u3092\u5411\u4e0a\u3055\u305b\u308b\u4e0a\u3067\u5927\u5207\u306a\u8981\u7d20\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u73fe\u5728\u69d8\u3005\u306a\u624b\u6cd5\u304c\u8003\u6848\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u5165\u308c\u3066ChatGPT\u306b\u8cea\u554f\u3059\u308b<\/h2>\n\n\n\n<p>ChatGPT\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u5165\u308c\u308b\u306b\u306f\u3001<strong><mark style=\"background-color:#fee8ab\" class=\"has-inline-color\">\u300c{ }\u300d\u3084\u300c\u201d \u201d\u300d\u306a\u3069\u8a18\u53f7\u3067\u56f2\u3046\u3053\u3068\u3067\u3001\u4ed6\u306e\u30c6\u30ad\u30b9\u30c8\u3068\u5dee\u5225\u5316\u3057\u307e\u3057\u3087\u3046\u3002<\/mark><\/strong><\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u5165\u308c\u3066ChatGPT\u306b\u8cea\u554f\u3057\u305f\u4f8b\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f8b\u2460\uff1a\u5909\u6570\u30921\u3064\u5165\u308c\u3066ChatGPT\u306b\u8cea\u554f\u3059\u308b<\/h3>\n\n\n\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{{\u30c6\u30fc\u30de}}\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p>ChatGPT\u306e\u56de\u7b54\uff08GPT-4\uff09:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u305f\u3060\u3057\u3001\u5177\u4f53\u7684\u306a\u30c6\u30fc\u30de\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u3069\u306e\u30c6\u30fc\u30de\u306b\u3064\u3044\u3066\u89e3\u8aac\u3059\u308b\u304b\u306e\u60c5\u5831\u3092\u6559\u3048\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u304b\uff1f\n\n\u4f8b\u3048\u3070\u300c\u5b87\u5b99\u300d\u3084\u300c\u65e5\u672c\u306e\u6b74\u53f2\u300d\u306a\u3069\u3001\u5177\u4f53\u7684\u306a\u30c6\u30fc\u30de\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u3092\u57fa\u306b\u8a73\u3057\u3044\u89e3\u8aac\u3092\u884c\u3044\u307e\u3059\u3002<\/code><\/pre>\n\n\n\n<p>\u30c6\u30fc\u30de\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u56de\u7b54\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002{{\u30c6\u30fc\u30de}}\u304c\u5909\u6570\u3067\u3042\u308b\u3053\u3068\u3092\u7406\u89e3\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5165\u529b\u6587\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{{\u30c6\u30fc\u30de}}\uff1a\u6a5f\u68b0\u5b66\u7fd2<\/code><\/pre>\n\n\n\n<p>ChatGPT\u306e\u56de\u7b54\uff08GPT-4\uff09:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u6a5f\u68b0\u5b66\u7fd2\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3044\u305f\u3057\u307e\u3059\u3002\n\n\u6a5f\u68b0\u5b66\u7fd2 (Machine Learning)\n\n1.\u5b9a\u7fa9:\n\u6a5f\u68b0\u5b66\u7fd2\u306f\u3001\u4eba\u9593\u304c\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u969b\u306e\u6307\u793a\u3092\u660e\u793a\u7684\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30c7\u30fc\u30bf\u304b\u3089\u5b66\u7fd2\u3059\u308b\u3053\u3068\u3067\u305d\u306e\u30bf\u30b9\u30af\u3092\u9054\u6210\u3059\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3084\u30e2\u30c7\u30eb\u306e\u7814\u7a76\u3067\u3059\u3002\n2.\u30bf\u30a4\u30d7:\n\u30fb\u6559\u5e2b\u3042\u308a\u5b66\u7fd2: \u30e9\u30d9\u30eb\u4ed8\u304d\u306e\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u3002\u76ee\u7684\u5909\u6570\u3092\u4e88\u6e2c\u3059\u308b\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n\u30fb\u6559\u5e2b\u306a\u3057\u5b66\u7fd2: \u30e9\u30d9\u30eb\u306e\u306a\u3044\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u3001\u30c7\u30fc\u30bf\u306e\u69cb\u9020\u3084\u30d1\u30bf\u30fc\u30f3\u3092\u898b\u3064\u3051\u51fa\u3057\u307e\u3059\u3002\n\u30fb\u5f37\u5316\u5b66\u7fd2: \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u74b0\u5883\u3068\u76f8\u4e92\u4f5c\u7528\u3057\u306a\u304c\u3089\u6700\u9069\u306a\u884c\u52d5\u3092\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u3002\n3.\u5fdc\u7528\u4f8b:\n\u30fb\u753b\u50cf\u8a8d\u8b58\n\u30fb\u81ea\u7136\u8a00\u8a9e\u51e6\u7406\n\u30fb\u4e88\u6e2c\u30e2\u30c7\u30ea\u30f3\u30b0\n\u30fb\u63a8\u85a6\u30b7\u30b9\u30c6\u30e0\n4.\u4e3b\u306a\u624b\u6cd5:\n\u30fb\u7dda\u5f62\u56de\u5e30: \u9023\u7d9a\u3057\u305f\u5024\u3092\u4e88\u6e2c\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3002\n\u30fb\u6c7a\u5b9a\u6728: \u30c7\u30fc\u30bf\u3092\u5206\u985e\u3059\u308b\u305f\u3081\u306e\u968e\u5c64\u7684\u306a\u65b9\u6cd5\u3002\n\u30fb\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af: \u8907\u6570\u306e\u5c64\u304b\u3089\u306a\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u4f7f\u7528\u3057\u3066\u3001\u975e\u7dda\u5f62\u306e\u95a2\u4fc2\u3084\u8907\u96d1\u306a\u30d1\u30bf\u30fc\u30f3\u3092\u5b66\u7fd2\u3057\u307e\u3059\u3002\n\u30fb\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0: \u985e\u4f3c\u306e\u30c7\u30fc\u30bf\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3002\n5.\u8ab2\u984c:\n\u30fb\u904e\u5b66\u7fd2: \u30e2\u30c7\u30eb\u304c\u8a13\u7df4\u30c7\u30fc\u30bf\u306b\u904e\u5ea6\u306b\u9069\u5408\u3057\u3066\u3057\u307e\u3044\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u3046\u307e\u304f\u6a5f\u80fd\u3057\u306a\u3044\u73fe\u8c61\u3002\n\u30fb\u30c7\u30fc\u30bf\u306e\u504f\u308a: \u8a13\u7df4\u30c7\u30fc\u30bf\u304c\u504f\u3063\u3066\u3044\u308b\u3068\u3001\u30e2\u30c7\u30eb\u3082\u305d\u306e\u504f\u308a\u3092\u5b66\u7fd2\u3057\u3066\u3057\u307e\u3046\u3002\n\u30fb\u8a08\u7b97\u30b3\u30b9\u30c8: \u8907\u96d1\u306a\u30e2\u30c7\u30eb\u306f\u5927\u91cf\u306e\u8a08\u7b97\u8cc7\u6e90\u3092\u5fc5\u8981\u3068\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002\n\n\u6a5f\u68b0\u5b66\u7fd2\u306f\u3001\u30c7\u30fc\u30bf\u304b\u3089\u81ea\u52d5\u7684\u306b\u30d1\u30bf\u30fc\u30f3\u3084\u77e5\u8b58\u3092\u5b66\u7fd2\u3057\u3001\u305d\u308c\u3092\u7528\u3044\u3066\u4e88\u6e2c\u3084\u5224\u65ad\u3092\u884c\u3046\u6280\u8853\u3067\u3059\u3002\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u3001\u6559\u5e2b\u306a\u3057\u5b66\u7fd2\u3001\u5f37\u5316\u5b66\u7fd2\u306a\u3069\u306e\u30bf\u30a4\u30d7\u304c\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u30c7\u30fc\u30bf\u3092\u6271\u3044\u307e\u3059\u3002\u73fe\u4ee3\u306e\u591a\u304f\u306e\u6280\u8853\u3001\u7279\u306bAI\u6280\u8853\u306e\u80cc\u5f8c\u306b\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u306e\u624b\u6cd5\u3084\u7406\u8ad6\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/code><\/pre>\n\n\n\n<p>\u6307\u5b9a\u3057\u305f\u30c6\u30fc\u30de\uff08\u6a5f\u68b0\u5b66\u7fd2\uff09\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002\u4ed6\u306e\u30c6\u30fc\u30de\u306b\u3064\u3044\u3066\u805e\u304d\u305f\u3044\u3068\u304d\u3082\u3001<strong>\u300c{{\u30c6\u30fc\u30de}}\uff1a\u25cb\u25cb\u300d\u3068\u3044\u3063\u305f\u3088\u3046\u306b\u5165\u529b\u3059\u308b\u3060\u3051\u3067ChatGPT\u306b\u56de\u7b54\u3057\u3066\u3082\u3089\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f8b\u2461\uff1a\u5909\u6570\u3092\u8907\u6570\u5165\u308c\u3066ChatGPT\u306b\u8cea\u554f\u3059\u308b<\/h3>\n\n\n\n<p>\u6b21\u306b\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u8907\u6570\u500b\u5165\u308c\u3066\u3001ChatGPT\u306b\u8cea\u554f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u3042\u306a\u305f\u306f\u512a\u79c0\u306a\u30c4\u30a2\u30fc\u30d7\u30e9\u30f3\u30ca\u30fc\u3067\u3059\u3002\n{{\u5834\u6240}}\u5468\u8fba\u306e\u304a\u3059\u3059\u3081\u306e{{\u30b8\u30e3\u30f3\u30eb}}\u3092{{\u51fa\u529b\u500b\u6570}}\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u7c21\u5358\u306a\u8aac\u660e\u3092\u76db\u308a\u8fbc\u3093\u3067\u3001\u7b87\u6761\u66f8\u304d\u3067\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p>ChatGPT\u306e\u56de\u7b54\uff08GPT-4\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u5177\u4f53\u7684\u306a\u5834\u6240\u3001\u30b8\u30e3\u30f3\u30eb\u3001\u51fa\u529b\u500b\u6570\u3092\u5165\u529b\u3057\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u3001\u305d\u308c\u306b\u57fa\u3065\u3044\u3066\u304a\u3059\u3059\u3081\u60c5\u5831\u3092\u63d0\u4f9b\u3044\u305f\u3057\u307e\u3059\u3002\n\u4f8b\uff1a\n- \u91d1\u95a3\u5bfa: \u4eac\u90fd\u306e\u5317\u90e8\u306b\u4f4d\u7f6e\u3057\u3001\u9bae\u3084\u304b\u306a\u91d1\u7b94\u3067\u8986\u308f\u308c\u305f\u4e8c\u5c64\u306e\u5bfa\u9662\u3002\u7f8e\u3057\u3044\u65e5\u672c\u5ead\u5712\u3068\u3068\u3082\u306b\u3001\u56db\u5b63\u6298\u3005\u306e\u98a8\u666f\u3092\u697d\u3057\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n- \u6e05\u6c34\u5bfa: \u4eac\u90fd\u306e\u6771\u5c71\u5730\u533a\u306b\u3042\u308b\u3001\u89b3\u5149\u5ba2\u306b\u4eba\u6c17\u306e\u5bfa\u9662\u3002\u5927\u821e\u53f0\u304b\u3089\u306e\u773a\u3081\u304c\u7d76\u666f\u3067\u3001\u8fd1\u304f\u306e\u304a\u8336\u5c4b\u3067\u62b9\u8336\u3092\u697d\u3057\u3080\u306e\u3082\u304a\u3059\u3059\u3081\u3002\n- \u9280\u95a3\u5bfa: \u4eac\u90fd\u306e\u6771\u90e8\u306b\u3042\u308b\u3001\u9280\u3067\u8986\u308f\u308c\u305f\u3053\u3068\u306f\u306a\u3044\u3082\u306e\u306e\u3001\u8349\u5eb5\u98a8\u306e\u7f8e\u3057\u3044\u5bfa\u9662\u3002\u7802\u306e\u5ead\u5712\u304c\u7279\u5fb4\u7684\u3067\u3001\u9759\u5bc2\u306a\u96f0\u56f2\u6c17\u3092\u5473\u308f\u3048\u307e\u3059\u3002\n\n\u5177\u4f53\u7684\u306a\u8981\u671b\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p>\u8907\u6570\u500b\u306e\u5909\u6570\u3092\u5165\u308c\u305f\u5834\u5408\u3082\u3001\u305d\u308c\u305e\u308c\u306e\u5909\u6570\u306e\u610f\u5473\u3092\u304d\u3061\u3093\u3068\u7406\u89e3\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u4e01\u5be7\u306b\u4f8b\u3082\u540c\u6642\u306b\u793a\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u5165\u529b\u306b\u306f\u3001\u5148\u307b\u3069\u3088\u308a\u3082\u96d1\u306a\u5f62\u5f0f\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5165\u529b\u6587\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u672d\u5e4c\u3001\u30b9\u30a4\u30fc\u30c4\u3001\uff15\n<\/code><\/pre>\n\n\n\n<p>ChatGPT\u306e\u56de\u7b54\uff08GPT-4\uff09:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u672d\u5e4c\u5468\u8fba\u306e\u304a\u3059\u3059\u3081\u306e\u30b9\u30a4\u30fc\u30c4\u30925\u3064\u3001\u7c21\u5358\u306a\u8aac\u660e\u3068\u3068\u3082\u306b\u7b87\u6761\u66f8\u304d\u3067\u51fa\u529b\u3057\u307e\u3059\u3002\n\n\u767d\u3044\u604b\u4eba\u30d1\u30fc\u30af: \u5317\u6d77\u9053\u3067\u6709\u540d\u306a\u30b9\u30a4\u30fc\u30c4\u300c\u767d\u3044\u604b\u4eba\u300d\u306e\u30c6\u30fc\u30de\u30d1\u30fc\u30af\u3002\u5de5\u5834\u898b\u5b66\u306e\u5f8c\u306b\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u767d\u3044\u604b\u4eba\u3092\u4f5c\u308b\u4f53\u9a13\u3082\u3067\u304d\u307e\u3059\u3002\n\n\u30eb\u30bf\u30aa: \u30b7\u30e7\u30b3\u30e9\u30c6\u30a3\u30a8\u30fc\u30eb\u3068\u3057\u3066\u540d\u9ad8\u3044\u3002\u7279\u306b\u300c\u30c9\u30a5\u30fc\u30d6\u30eb\u30d5\u30ed\u30de\u30fc\u30b8\u30e5\u300d\u306f\u3001\u6fc3\u539a\u306a\u30c1\u30fc\u30ba\u3068\u30d5\u30ec\u30c3\u30b7\u30e5\u306a\u5473\u308f\u3044\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u7d76\u54c1\u3067\u3059\u3002\n\n\u304d\u3093\u3068\u3068: \u5317\u6d77\u9053\u7523\u306e\u3042\u305a\u304d\u3092\u4f7f\u7528\u3057\u305f\u548c\u98a8\u306e\u30b9\u30a4\u30fc\u30c4\u3002\u7279\u306b\u300c\u3042\u305a\u304d\u306e\u30df\u30eb\u30d5\u30a3\u30fc\u30e6\u300d\u306f\u3001\u5c64\u306b\u306a\u3063\u305f\u30d1\u30a4\u751f\u5730\u3068\u3042\u305a\u304d\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002\n\n\u3059\u307f\u308c: \u672d\u5e4c\u3067\u4eba\u6c17\u306e\u30bd\u30d5\u30c8\u30af\u30ea\u30fc\u30e0\u5e97\u3002\u7279\u306b\u300c\u672d\u5e4c\u5927\u901a\u516c\u5712\u300d\u306e\u5e97\u8217\u306f\u3001\u666f\u8272\u3092\u697d\u3057\u307f\u306a\u304c\u3089\u7f8e\u5473\u3057\u3044\u30bd\u30d5\u30c8\u30af\u30ea\u30fc\u30e0\u3092\u5473\u308f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n\n\u30da\u30ea\u30ab\u30f3: \u9577\u3044\u6b74\u53f2\u3092\u6301\u3064\u6d0b\u83d3\u5b50\u5e97\u3002\u3053\u3061\u3089\u306e\u300c\u30b7\u30e5\u30fc\u30af\u30ea\u30fc\u30e0\u300d\u306f\u3001\u5916\u5074\u306f\u30b5\u30af\u30b5\u30af\u3001\u4e2d\u306f\u30af\u30ea\u30fc\u30df\u30fc\u306a\u30af\u30ea\u30fc\u30e0\u304c\u8a70\u307e\u3063\u3066\u304a\u308a\u3001\u4e00\u5ea6\u98df\u3079\u305f\u3089\u5fd8\u308c\u3089\u308c\u306a\u3044\u5473\u308f\u3044\u3067\u3059\u3002\n\n\u672d\u5e4c\u306f\u7f8e\u5473\u3057\u3044\u30b9\u30a4\u30fc\u30c4\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u3001\u3053\u308c\u3089\u306e\u304a\u5e97\u306f\u305d\u306e\u4e00\u90e8\u306b\u904e\u304e\u307e\u305b\u3093\u304c\u3001\u8a2a\u554f\u6642\u306b\u306f\u305c\u3072\u8db3\u3092\u904b\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p><strong>\u5404\u5909\u6570\u3092\u8aad\u70b9\u3067\u533a\u5207\u3063\u3066ChatGPT\u306b\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3001\u6307\u5b9a\u3057\u305f\u5834\u6240\u30fb\u30b8\u30e3\u30f3\u30eb\u30fb\u500b\u6570\u3092\u6b63\u3057\u304f\u8aad\u307f\u53d6\u3063\u3066\u56de\u7b54\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/strong>\u3053\u306e\u3088\u3046\u306b\u3001\u6700\u521d\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5909\u6570\u3092\u5165\u308c\u3066\u5de5\u592b\u3059\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u306b\u56de\u7b54\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5909\u6570\u3092\u5165\u308c\u305f\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u52b9\u679c\u7684\u306b\u4f7f\u3046\u65b9\u6cd5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460\u81ea\u8eab\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u7d44\u307f\u8fbc\u3080<\/h3>\n\n\n\n<p>Open AI\u306eAPI\u3092\u4f7f\u3046\u3053\u3068\u3067GPT\u3092\u81ea\u8eab\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7c21\u5358\u306a\u4f8b\u3068\u3057\u3066\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import openai\nimport os\n\nopenai.api_key = <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">{API\u30ad\u30fc\u3092\u5165\u529b}<\/mark><\/strong>\ndef generate_company_description(company_name):\n    response = openai.ChatCompletion.create(\n        model=\"gpt-3.5-turbo\",\n        messages=&#091;\n            {\n                \"role\": \"system\",\n                \"content\": \"\u3042\u306a\u305f\u306f\u591a\u304f\u306e\u4f01\u696d\u306b\u3064\u3044\u3066\u77e5\u8b58\u304c\u3042\u308b\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\u56de\u7b54\u306f\u65e5\u672c\u8a9e\u3067\u51fa\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002\"\n            },\n            {\n                \"role\": \"user\",\n                \"content\": f\"{company_name}\u306e\u4e8b\u696d\u5185\u5bb9\u306b\u3064\u3044\u3066\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\"\n            }\n        ],\n        max_tokens=200\n    )\n\n    return response.choices&#091;0].message&#091;'content']\n\ncompany_name = input(\"\u4f01\u696d\u540d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \")\ndescription = generate_company_description(company_name)\nprint(description)<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4f01\u696d\u540d\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/taskhub.jp\/magazine\/wp-content\/themes\/the-thor\/img\/dummy.gif\" data-layzr=\"https:\/\/bocek.co.jp\/media\/wp-content\/uploads\/2023\/08\/image-141.png\" alt=\"\" class=\"wp-image-9157\"\/><\/figure>\n\n\n\n<p>\u3057\u3070\u3089\u304f\u5f85\u3064\u3068\u3001GPT\u304c\u5165\u529b\u3057\u305f\u4f01\u696d\u306e\u4e8b\u696d\u5185\u5bb9\u3092\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/taskhub.jp\/magazine\/wp-content\/themes\/the-thor\/img\/dummy.gif\" data-layzr=\"https:\/\/bocek.co.jp\/media\/wp-content\/uploads\/2023\/08\/image-142.png\" alt=\"\" class=\"wp-image-9158\"\/><\/figure>\n\n\n\n<p>\u5225\u306e\u4f01\u696d\u306e\u4e8b\u696d\u5185\u5bb9\u3092\u51fa\u529b\u3059\u308b\u969b\u3082\u3001\u4f01\u696d\u540d\u3092\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3059\u3002API\u3092\u4f7f\u3063\u3066GPT\u3092\u81ea\u8eab\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u5909\u6570\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u52b9\u679c\u7684\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n<h3 class=\"wp-block-heading\">\u2461\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u300cChatbot UI\u300d\u306e\u6a5f\u80fd\u3092\u4f7f\u3046<\/h3>\n\n\n\n<p><strong><mark style=\"background-color:#fee8ab\" class=\"has-inline-color\"><a href=\"https:\/\/github.com\/mckaywrigley\/chatbot-ui\">Chatbot UI<\/a>\u306f\u3001ChatGPT\u306eUI\u3092\u518d\u73fe\u3057\u305f\u3001\u72ec\u81ea\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3059\u3002<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/taskhub.jp\/magazine\/wp-content\/themes\/the-thor\/img\/dummy.gif\" data-layzr=\"https:\/\/bocek.co.jp\/media\/wp-content\/uploads\/2023\/07\/image-316.png\" alt=\"\" class=\"wp-image-8293\"\/><\/figure>\n\n\n\n<p>Chatbot UI\u3067\u306f<strong><mark style=\"background-color:#fee8ab\" class=\"has-inline-color\">\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4fdd\u5b58\u3057\u3066\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/mark><\/strong>\u307e\u305f\u3001\u305d\u306e\u969b\u306b\u5909\u6570\u3092\u6c7a\u3081\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u306b\u56de\u7b54\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/taskhub.jp\/magazine\/wp-content\/themes\/the-thor\/img\/dummy.gif\" data-layzr=\"https:\/\/bocek.co.jp\/media\/wp-content\/uploads\/2023\/07\/image-330.png\" alt=\"\" class=\"wp-image-8310\"\/><\/figure>\n\n\n\n<p>\u5909\u6570\u306b\u306f\u3001software_name=\u300cpremire pro\u300d\u3001goal\u306b\u306f\u300c\u52d5\u753b\u3092\u7de8\u96c6\u3057\u3066Youtube\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u300d\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/taskhub.jp\/magazine\/wp-content\/themes\/the-thor\/img\/dummy.gif\" data-layzr=\"https:\/\/bocek.co.jp\/media\/wp-content\/uploads\/2023\/07\/image-332.png\" alt=\"\" class=\"wp-image-8312\"\/><\/figure>\n\n\n\n<p>Chatbot UI\u3067\u306f\u3088\u304f\u4f7f\u3046\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4fdd\u5b58\u3057\u3066\u3001\u5909\u6570\u306e\u307f\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u306b\u56de\u7b54\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>Chatbot UI\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u306f\uff1f AI\u306e\u9818\u57df\u306b\u304a\u3044\u3066\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u300c\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306eAI\u3078\u306e\u6307\u793a\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u6614\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u60c5\u5831\u3092\u30ad\u30e3\u30c3\u30c1\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u610f [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":9204,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":""},"categories":[56],"tags":[],"_links":{"self":[{"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/posts\/9154"}],"collection":[{"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/comments?post=9154"}],"version-history":[{"count":7,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/posts\/9154\/revisions"}],"predecessor-version":[{"id":9205,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/posts\/9154\/revisions\/9205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/media\/9204"}],"wp:attachment":[{"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/media?parent=9154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/categories?post=9154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taskhub.jp\/magazine\/wp-json\/wp\/v2\/tags?post=9154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}