{"id":7080,"date":"2023-04-03T19:29:05","date_gmt":"2023-04-03T11:29:05","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=7080"},"modified":"2023-04-03T19:32:46","modified_gmt":"2023-04-03T11:32:46","slug":"%e5%a6%82%e4%bd%95%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2%e4%b8%80%e4%b8%aa%e7%a7%81%e6%9c%89%e7%9a%84-chatgpt-%e7%bb%99%e4%bd%a0%e7%9a%84%e5%a5%bd%e5%8f%8b%e4%bd%bf%e7%94%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=7080","title":{"rendered":"\u5982\u4f55\u5feb\u901f\u90e8\u7f72\u4e00\u4e2a\u79c1\u6709\u7684 ChatGPT \u7ed9\u4f60\u7684\u597d\u53cb\u4f7f\u7528\uff1f"},"content":{"rendered":"\n<p>\u5f53\u4f60\u901a\u8fc7\u300a<a href=\"https:\/\/vip.fxxkpython.com\/?p=7063\">\u5982\u4f55\u83b7\u53d6\u4e00\u4e2a ChatGPT Plus \u4e13\u5c5e\u8d26\u53f7<\/a>\u300b\u83b7\u53d6\u5230\u4e86\u4e00\u4e2a ChatGPT \u8d26\u53f7\u540e\uff0c\u90a3\u4e48\u53ef\u73a9\u6027\u5c31\u4e00\u4e0b\u5b50\u6709\u4e86\uff0c\u4e00\u6765\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728 <a href=\"https:\/\/chat.openai.com\/\">ChatGPT<\/a> \u4e2d\u5404\u79cd\u63d0\u95ee\uff0c\u8c03\u6559\uff08\u540e\u9762\u7ec6\u8bf4\u5982\u4f55\u8c03\u6559\u5b83\uff09\uff0c\u4e8c\u6765\u4f60\u8fd8\u53ef\u4ee5\u62ff\u5230 ChatGPT \u7684 API\uff0c\u4ece\u800c\u5236\u9020\u5c5e\u4e8e\u81ea\u5df1\u7684\u4ea7\u54c1\uff0c\u60f3\u60f3\u5c31\u5f88\u7f8e\u597d\u3002<\/p>\n\n\n\n<p>\uff08\u53e6\u5916\u8bf4\u4e00\u53e5\uff0c\u5c31\u5728\u8fd9\u4e24\u5929\uff0c\u5b98\u65b9\u5c01\u4e86\u5f88\u591a ChatGPT \u8d26\u53f7\uff0c\u6709\u7684\u662f\u767b\u9646\u4e0d\u4e86\uff0c\u6709\u7684\u662f API \u7ed9\u5c01\u4e86\uff0c\u5177\u4f53\u539f\u56e0\u4e0d\u8be6\uff0c\u4f46\u662f\u6211\u5728\u4e0a\u7bc7\u8bf4\u4e86\uff0c\u5c3d\u91cf\u81ea\u5df1\u6309\u7167\u6211\u7684\u6559\u7a0b\u53bb\u6ce8\u518c\u4e00\u4e2a\u5c5e\u4e8e\u81ea\u5df1\u7684\u4e13\u5c5e\u8d26\u53f7\uff0c\u8fd9\u6837\u5b89\u5168\u6027\u66f4\u9ad8\u4e00\u4e9b\u3002\uff09<\/p>\n\n\n\n<p>\u4e8b\u5b9e\u4e0a\uff0c\u5df2\u7ecf\u6709\u670b\u53cb\u8feb\u4e0d\u53ca\u5f85\u60f3\u8981\u81ea\u5df1\u5f04\u4e00\u4e2a\u79c1\u6709\u7684 ChatGPT \u7ed9\u81ea\u5df1\u8eab\u8fb9\u7684\u670b\u53cb\u4eec\u4f53\u9a8c\u4e86\u3002\u90a3\u4e48\u4eca\u5929\u5c0f\u5e05b \u5c31\u6765\u544a\u8bc9\u4f60\uff0c\u5982\u4f55\u5feb\u901f\u7684\u53bb\u90e8\u7f72\u4e00\u4e2a\u79c1\u6709\u7684 ChatGPT \u7ed9\u4f60\u7684\u597d\u53cb\u4eec\u4f53\u9a8c\u4f53\u9a8c\u3002<\/p>\n\n\n\n<h2>\u5148\u628a\u4f60\u7684 API_Key \u62ff\u4e86<\/h2>\n\n\n\n<p>\u6253\u5f00\u4f60\u7684\u4ee3\u7406\uff0c\u7136\u540e\u70b9\u51fb\u8fdb\u5165 <a href=\"https:\/\/platform.openai.com\/account\/api-keys\">OpenAI API<\/a>\uff0c\u5982\u679c\u6ca1\u6709\u767b\u9646\u5c31\u70b9\u51fb\u300cLog in\u300d\u767b\u9646\uff0c\u7136\u540e\u70b9\u51fb\u300cCreate new secret key\u300d\u6765\u751f\u6210\u4e00\u4e2a\u4e13\u5c5e\u7684 API_key\uff0c\u628a\u5b83\u590d\u5236\u4e0b\u6765\uff0c\u4e0d\u8981\u7ed9\u4eba\u77e5\u9053\u54e6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"849\" height=\"772\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0a\u534812.50.39.png\" alt=\"\" class=\"wp-image-7081\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0a\u534812.50.39.png 849w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0a\u534812.50.39-300x273.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0a\u534812.50.39-768x698.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0a\u534812.50.39-769x699.png 769w\" sizes=\"(max-width: 849px) 100vw, 849px\" \/><\/figure>\n\n\n\n<p>\u90a3\u4e48\u6709\u4e86 key \u5c31\u53ef\u4ee5\u6109\u5feb\u7684\u64cd\u4f5c\u4e86\u3002<\/p>\n\n\n\n<h2>\u4e00\u952e\u90e8\u7f72 ChatGPT<\/h2>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u8bbf\u95ee<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D7080\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u8fd9\u6837\u5c31\u90e8\u7f72\u597d\u4e86\uff0c\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8bbf\u95ee\u4f60\u7684\u670d\u52a1 IP \u548c\u7aef\u53e3\u5373\u53ef\u4f7f\u7528\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"714\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-1024x714.png\" alt=\"\" class=\"wp-image-7100\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-1024x714.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-300x209.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-768x536.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-1536x1071.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-2048x1429.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/\u622a\u5c4f2023-04-03-\u4e0b\u53487.17.40-769x536.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"498\" height=\"1024\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-498x1024.jpeg\" alt=\"\" class=\"wp-image-7101\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-498x1024.jpeg 498w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-146x300.jpeg 146w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-768x1580.jpeg 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-747x1536.jpeg 747w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-995x2048.jpeg 995w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281-769x1582.jpeg 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2023\/04\/WechatIMG281.jpeg 1170w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/figure><\/div>\n\n\n<h3>\u4f7f\u7528 npm \u65b9\u5f0f\u90e8\u7f72\u3010\u4e0d\u63a8\u8350\u3011<\/h3>\n\n\n\n<h4>\u628a\u9879\u76ee clone \u4e0b\u6765<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D7080\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u4fdd\u5b58\u9000\u51fa\u540e\u4f7f\u7528\uff1a<\/p>\n\n\n\n<p>npm run dev<\/p>\n\n\n\n<p>\u5373\u53ef\u5f00\u542f\u670d\u52a1\u3002<\/p>\n\n\n\n<h2>\u6700\u540e<\/h2>\n\n\n\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u81ea\u5df1\u90e8\u7f72\u7684\u7f51\u7ad9\u5982\u679c\u592a\u591a\u4eba\u4f7f\u7528\u53ef\u80fd\u4f1a\u88ab ban \u6389\uff0c\u800c\u4e14\u6700\u8fd1\u5b98\u65b9\u4e5f\u9891\u9891\u5c01\u6389\u4e00\u4e9b\u8d26\u53f7\uff0c\u6240\u4ee5\u6700\u597d\u8fd8\u662f\u5c0f\u89c4\u6a21\u7ed9\u81ea\u5df1\u7684\u81f3\u4eb2\u81f3\u7231\u8fdb\u884c\u4f53\u9a8c\u4e3a\u597d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4f60\u901a\u8fc7\u300a\u5982\u4f55\u83b7\u53d6\u4e00\u4e2a ChatGPT Plus \u4e13\u5c5e\u8d26\u53f7\u300b\u83b7\u53d6\u5230\u4e86\u4e00\u4e2a ChatGPT \u8d26\u53f7\u540e\uff0c\u90a3\u4e48\u53ef\u73a9\u6027\u5c31\u4e00\u4e0b\u5b50\u6709\u4e86\uff0c\u4e00\u6765\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728 ChatGPT \u4e2d\u5404\u79cd\u63d0\u95ee\uff0c\u8c03\u6559\uff08\u540e\u9762\u7ec6\u8bf4\u5982\u4f55\u8c03\u6559\u5b83\uff09\uff0c\u4e8c\u6765\u4f60\u8fd8\u53ef\u4ee5\u62ff\u5230 ChatGPT \u7684 API\uff0c\u4ece\u800c\u5236\u9020&hellip;<\/p>\n","protected":false},"author":1,"featured_media":7100,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[644],"tags":[643,653],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7080"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7080"}],"version-history":[{"count":3,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7080\/revisions"}],"predecessor-version":[{"id":7180,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7080\/revisions\/7180"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/7100"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}