{"id":353,"date":"2023-09-09T00:10:47","date_gmt":"2023-09-08T16:10:47","guid":{"rendered":"https:\/\/www.yiyuanlt.cn\/?p=353"},"modified":"2023-09-09T00:10:47","modified_gmt":"2023-09-08T16:10:47","slug":"%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2chatgpt%e5%a4%9a%e7%a7%8d%e6%96%b9%e6%b3%95%e9%83%a8%e7%bd%b2pandora","status":"publish","type":"post","link":"https:\/\/www.yiyuanlt.cn\/index.php\/2023\/09\/09\/%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2chatgpt%e5%a4%9a%e7%a7%8d%e6%96%b9%e6%b3%95%e9%83%a8%e7%bd%b2pandora\/","title":{"rendered":"\u672c\u5730\u90e8\u7f72ChatGPT,\u591a\u79cd\u65b9\u6cd5\u90e8\u7f72Pandora"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Pandora\u7b80\u4ecb<\/strong>Pandora\u4e0d\u6127\u662f\u8fd9\u4e09\u4e2a\u6708\u4ee5\u6765\u6700\u4e3a\u7a81\u51fa\u7684\u9879\u76ee\u4e4b\u4e00\uff0c\u5b83\u5b8c\u7f8e\u89e3\u51b3\u4e86ChatGPT\u4f7f\u7528\u4e2d\u7ecf\u5e38\u9047\u5230\u7684\u79cd\u79cd\u95ee\u9898\uff0c\u800c\u4e14\u90e8\u7f72\u662f\u76f8\u5f53\u7b80\u5355\uff0c\u65b9\u4fbf\u3002<br>\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/www.kxdao.net\/study_linkkiller-link.html?url=https%3A%2F%2Fgithub.com%2Fpengzhile%2Fpandora\" rel=\"noreferrer noopener\" target=\"_blank\" rel=\"nofollow\" >https:\/\/github.com\/pengzhile\/pandora<\/a><br>\u53e6\u5916\uff0c\u4eca\u5929\uff085.28\uff09GPT\u518d\u4e00\u6b21\u5927\u8303\u56f4\u98ce\u63a7\uff0c\u8fd9\u4f3c\u4e4e\u4e0esentry.io\u6709\u4e00\u5b9a\u7684\u5173\u8054\u6027\uff0cPandora\u4e5f\u53ef\u4ee5\u907f\u514d\u5c01\u53f7\u7684\u95ee\u9898\uff0c\u5f53\u7136\u4f60\u5982\u679c\u7528\u5168\u5c40\u6a21\u5f0f\u95ee\u9898\u4e0d\u5927\u3002<br><strong>Pandora\u80fd\u505a\u4ec0\u4e48<\/strong><br>\u4e00\u3001\u672c\u5730\u90e8\u7f72ChatGPT\uff0cPandora\u7ed5\u8fc7 Cloudflare\uff0c\u53ef\u4ee5\u628aChatGPT\u90e8\u7f72\u5728\u81ea\u5df1\u7684\u7535\u8111\u4e0a\uff0c\u4f7f\u7528127.0.0.1\u5373\u53ef\u4f7f\u7528\u5b98\u65b9\u7684GPT\uff08\u4ec5\u9700\u767b\u9646\u4e00\u6b21\uff0c\u5373\u53ef\u6b63\u5e38\u4f7f\u752814\u5929\u5de6\u53f3\uff09\uff1b<br>\u4e8c\u3001\u670d\u52a1\u5668\u90e8\u7f72ChatGPT\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u540c\u6837\u7684\u65b9\u6cd5\uff0c\u5c06Pandora\u7a0b\u5e8f\u5b89\u88c5\u5728vps\u4e0a\uff0c\u751a\u81f3\u53ef\u4ee5\u4f7f\u7528\u81ea\u5df1\u7684\u57df\u540d\uff0c\u65e0\u9700\u79d1\u5da8\u4ee7\u7f51\u5373\u53ef\u4f7f\u7528\uff0c\u4e0d\u5fc5\u62c5\u5fc3IP\u95ee\u9898\uff1b<br>\u4e09\u3001\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Pandora\uff0c\u7528\u591a\u79cd\u65b9\u5f0f\u4f7f\u7528GPT\uff0c\u4f8b\u5982\u547d\u4ee4\u884c\u6a21\u5f0f\uff0cweb\u6a21\u5f0f\uff0c\u5176\u4e2dweb\u9875\u9762\u4f7f\u7528\u65b9\u6cd5\u4e0e\u5b98\u7f51\u4e00\u81f4\uff0c\u8fd8\u80fd\u4fdd\u5b58\u8bb0\u5f55\uff0c\u975e\u5e38\u5b8c\u7f8e\u3002<br><strong>Pandora\u90e8\u7f72\u65b9\u6cd5<\/strong><br><strong>\u4e00\u3001\u90e8\u7f72\u5728\u672c\u5730\u7535\u8111\u4e0a<\/strong><strong>\u65e0\u8bba\u662fwindows\u3001macOS\u6216\u8005linux\u7cfb\u7edf\uff0c\u90fd\u53ef\u4ee5\u7528\u4e09\u4e2a\u6b65\u9aa4\u628aPandora\u90e8\u7f72\u5230\u672c\u5730\uff1a<\/strong><br>1\u3001\u5b89\u88c5docker\u5e76\u542f\u52a8\uff0c\u5230<a href=\"https:\/\/www.kxdao.net\/study_linkkiller-link.html?url=https%3A%2F%2Fwww.docker.com%2Fget-started\" rel=\"noreferrer noopener\" target=\"_blank\" rel=\"nofollow\" >https:\/\/www.docker.com\/get-started<\/a>&nbsp;\u4e0b\u8f7ddocker\uff1b\u5b89\u88c5\u540e\u542f\u52a8\uff1b<br>2\u3001\u547d\u4ee4\u884c\u6267\u884c\uff1adocker pull pengzhile\/pandoradocker run&nbsp;&nbsp;-e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:8899 -p 8899:8899 -d pengzhile\/pandora<br>3\u3001\u672c\u5730\u6d4f\u89c8\u5668\u8bbf\u95ee 127.0.0.1:8899 \u5373\u53ef\u8bbf\u95ee\uff0c\u76f4\u63a5\u767b\u9646\u6216\u8005\u4f7f\u7528Access Token\uff0c\u7136\u540e\u5c31\u80fd\u591f\u6b63\u5e38\u7684\u4f7f\u7528GPT\u4e86\u3002<br>4\u3001\u83b7\u5f97Access Token\u7684\u5730\u5740\uff1a<a href=\"https:\/\/www.kxdao.net\/study_linkkiller-link.html?url=http%3A%2F%2Fchat.openai.com%2Fapi%2Fauth%2Fsession\" rel=\"noreferrer noopener\" target=\"_blank\" rel=\"nofollow\" >http:\/\/chat.openai.com\/api\/auth\/session<\/a><br>\u7f3a\u70b9\uff1a\u767b\u9646\u6216\u8005\u83b7\u53d6Token\u4e00\u6837\u9700\u8981\u5916\u7f51\uff1b<br><strong>\u4e8c\u3001\u90e8\u7f72\u5728vps\u4e0a<\/strong><strong>\u5f3a\u8c03\uff1a<\/strong><strong>\u5728vps\u90e8\u7f72Pandora\u8bf7\u4f7f\u7528\u56fd\u5916\u4e3b\u673a\uff0c\u8fd9\u6837\u65e0\u8bba\u662f\u7535\u8111\u8fd8\u662f\u624b\u673a\u90fd\u53ef\u4ee5\u4f7f\u7528GPT\u4e86<\/strong><br>1\u3001\u5b89\u88c5docker\u73af\u5883\uff08ubuntu\u7cfb\u7edf\uff09apt update &amp;&amp; apt install docker.io -y<br>2\u3001\u62c9\u53d6\u955c\u50cfdocker pull pengzhile\/pandora<br>3\u3001\u542f\u52a8\u5bb9\u5668\uff081\uff09\u547d\u4ee4\u884c\u6a21\u5f0f\uff1adocker run -it --rm pengzhile\/pandora\uff082\uff09web\u6a21\u5f0fdocker run&nbsp;&nbsp;-e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:8899 -p 8899:8899 -d pengzhile\/pandora<br>\u7528\u8fd9\u79cd\u65b9\u6cd5\u642d\u5efa\uff0c\u6d41\u7545\u4f7f\u7528GPT\uff0c\u4efb\u4f55\u7ec8\u7aef\u7684\u6d4f\u89c8\u5668\u5747\u53ef\u4f7f\u7528\uff0c\u5b89\u5168\u3001\u65b9\u4fbf\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u603b\u7ed3<\/strong><br><strong>Pandora\u4e0d\u6127\u662f\u4e00\u4e2a\u4f18\u79c0\u7684\u9879\u76ee\uff0c\u9664\u4e86docker\u5b89\u88c5\uff0c\u8fd8\u53ef\u4ee5pip\uff0c\u89e3\u51b3\u4e86GPT\u4f7f\u7528\u4e0a\u7684\u8bf8\u591a\u95ee\u9898\uff0c\u800c\u4e14\u901f\u5ea6\u6bd4\u5b98\u7f51\u8fd8\u5feb\uff0c\u503c\u5f97\u70b9\u8d5e\uff01<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pandora\u7b80\u4ecbPandora\u4e0d\u6127\u662f\u8fd9\u4e09\u4e2a\u6708\u4ee5\u6765\u6700\u4e3a\u7a81\u51fa\u7684\u9879\u76ee\u4e4b\u4e00\uff0c\u5b83\u5b8c\u7f8e\u89e3\u51b3\u4e86ChatGPT\u4f7f\u7528\u4e2d\u7ecf\u5e38\u9047\u5230\u7684\u79cd\u79cd\u95ee\u9898\uff0c\u800c\u4e14\u90e8\u7f72 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-sort"],"_links":{"self":[{"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":1,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yiyuanlt.cn\/index.php\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}