{"id":1,"date":"2023-07-12T10:36:10","date_gmt":"2023-07-12T02:36:10","guid":{"rendered":"http:\/\/guozining.cn\/?p=1"},"modified":"2023-07-25T10:38:53","modified_gmt":"2023-07-25T02:38:53","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/guozining.cn\/index.php\/2023\/07\/12\/hello-world\/","title":{"rendered":"\u672c\u5730\u642d\u5efaChatGPT! \u65e0\u9700API\u3001 \u514d\u7ffb\u5899\u4f7f\u7528\u7eaf\u6b63OpenAI\u7684\u5168\u90e8\u529f\u80fd\uff0c\u5b8c\u5168\u514d\u8d39\uff01"},"content":{"rendered":"\n<p>1.\u4e0b\u8f7d\u5e76\u5b89\u88c5Docker \u3010<a href=\"https:\/\/www.docker.com\/\">\u5b98\u7f51\u4e0b\u8f7d<\/a>\u3011<\/p>\n\n\n\n<p>2.\u4f7f\u7528\u5f00\u6e90\u9879\u76ee\uff1a\u6f58\u591a\u62c9 (Pandora) \u3010<a href=\"https:\/\/github.com\/pengzhile\/pandora\">github<\/a>\u3011<\/p>\n\n\n\n<p>3.\u4e00\u952e\u5b89\u88c5\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull pengzhile\/pandora<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run  -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:8899 -p 8899:8899 -d pengzhile\/pandora<\/code><\/pre>\n\n\n\n<p>4.\u83b7\u53d6\u81ea\u5df1\u7684 Access TOKEN\uff1a<a href=\"http:\/\/chat.openai.com\/api\/auth\/session\">http:\/\/chat.openai.com\/api\/auth\/session<\/a><\/p>\n\n\n\n<p>5.\u8bbf\u95ee\u672c\u5730\u94fe\u63a5\uff1ahttp:\/\/127.0.0.1:8899 \u5373\u53ef\u641e\u5b9a\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u4e0b\u8f7d\u5e76\u5b89\u88c5Docker \u3010\u5b98\u7f51\u4e0b\u8f7d\u3011 2.\u4f7f\u7528\u5f00\u6e90\u9879\u76ee\uff1a\u6f58\u591a\u62c9 (Pandora) \u3010github\u3011 3. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[11,8,9,10,12,13],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-chat-bot","tag-ai","tag-chat-bot","tag-chatgpt","tag-claude","tag-12","tag-13"],"_links":{"self":[{"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":1,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guozining.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}