{"id":36848,"date":"2025-01-19T19:00:24","date_gmt":"2025-01-19T11:00:24","guid":{"rendered":"https:\/\/17aitech.com\/?p=36848"},"modified":"2025-01-19T19:00:24","modified_gmt":"2025-01-19T11:00:24","slug":"%e5%90%b4%e6%81%a9%e8%be%be%e5%87%ba%e6%89%8b%ef%bc%8c%e5%bc%80%e6%ba%90%e6%9c%80%e6%96%b0python%e5%8c%85%ef%bc%8c%e4%b8%80%e4%b8%aa%e6%8e%a5%e5%8f%a3%e8%b0%83%e7%94%a8openai%e7%ad%89%e6%a8%a1","status":"publish","type":"post","link":"https:\/\/17aitech.com\/?p=36848","title":{"rendered":"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b"},"content":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2024-11-26-5\" target=\"_blank\">\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b<\/a><\/p>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"35\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\n<p>\u5728\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u4e0e\u591a\u4e2a\u63d0\u4f9b\u5546\u96c6\u6210\u5f88\u9ebb\u70e6\uff0c\u73b0\u5728 aisuite \u7ed9\u89e3\u51b3\u4e86\u3002<\/p>\n<\/section>\n<\/section>\n<\/blockquote>\n<p>\u7528\u76f8\u540c\u7684\u4ee3\u7801\u65b9\u5f0f\u8c03\u7528 OpenAI\u3001Anthropic\u3001Google \u7b49\u53d1\u5e03\u7684\u5927\u6a21\u578b\uff0c\u8fd8\u80fd\u5b9e\u73b0\u4fbf\u6377\u7684\u6a21\u578b\u5207\u6362\u548c\u5bf9\u6bd4\u6d4b\u8bd5\u3002<\/p>\n<p>\u521a\u521a\uff0cAI \u8457\u540d\u5b66\u8005\u3001\u65af\u5766\u798f\u5927\u5b66\u6559\u6388\u5434\u6069\u8fbe\u6700\u65b0\u5f00\u6e90\u9879\u76ee\u5b9e\u73b0\u4e86\u3002<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png\"><\/a><\/p>\n<p>\u5434\u6069\u8fbe\u5728\u63a8\u6587\u4e2d\u5ba3\u5e03\u4e86\u8fd9\u4e00\u597d\u6d88\u606f\u5f00\u6e90\u65b0\u7684 Python \u5305\uff1aaisuite\uff01<\/p>\n<p>\u8fd9\u4e2a\u5de5\u5177\u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u8f7b\u677e\u4f7f\u7528\u6765\u81ea\u591a\u4e2a\u63d0\u4f9b\u5546\u7684\u5927\u578b\u8bed\u8a00\u6a21\u578b\u3002<\/p>\n<p>\u5728\u8c08\u5230\u4e3a\u4f55\u6784\u5efa\u8fd9\u4e2a\u9879\u76ee\u65f6\uff0c\u5434\u6069\u8fbe\u8868\u793a\u6784\u5efa\u5e94\u7528\u65f6\uff0c\u53d1\u73b0\u4e0e\u591a\u4e2a\u63d0\u4f9b\u5546\u96c6\u6210\u975e\u5e38\u9ebb\u70e6\u3002aisuite \u6b63\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u800c\u8bde\u751f\u7684\uff0c\u7528\u6237\u53ea\u9700\u901a\u8fc7\u66f4\u6539\u4e00\u4e2a\u5b57\u7b26\u4e32\uff08\u5982 openai:gpt-4o\u3001anthropic:claude-3-5-sonnet-20241022\u3001ollama:llama3.1:8b \u7b49\uff09\uff0c\u5373\u53ef\u9009\u62e9\u4e0d\u540c\u63d0\u4f9b\u5546\u7684\u6a21\u578b\u3002<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-60deee0b22a3769c20e332691d9b9e72.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-60deee0b22a3769c20e332691d9b9e72.png\"><\/a><\/p>\n<p>\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/andrewyng\/aisuite<\/p>\n<p>\u9879\u76ee\u4e00\u4e0a\u7ebf\uff0c\u5927\u5bb6\u7eb7\u7eb7\u8868\u793a\u300c\u8fd9\u5bf9\u5f00\u53d1\u4eba\u5458\u6765\u8bf4\u975e\u5e38\u6709\u7528\u3002\u300d<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-67d8f0824e001d8797fb3f567ee16100.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-67d8f0824e001d8797fb3f567ee16100.png\"><\/a><\/p>\n<p>\u300c\u8d85\u7ea7\u65b9\u4fbf\uff01\u7b80\u5316\u96c6\u6210\u603b\u662f\u6709\u76ca\u7684\uff0c\u975e\u5e38\u597d\u7684\u7814\u7a76\uff01\u300d<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-4512e8113b322d65f409b4cc85487942.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-4512e8113b322d65f409b4cc85487942.png\"><\/a><\/p>\n<p><strong>\u7edf\u4e00\u63a5\u53e3\u8bbe\u8ba1\uff0c\u652f\u6301\u591a\u4e2a AI \u63d0\u4f9b\u5546\u7684\u6a21\u578b<\/strong><\/p>\n<p>aisuite \u4f7f\u5f00\u53d1\u8005\u80fd\u591f\u901a\u8fc7\u6807\u51c6\u5316\u7684\u63a5\u53e3\u8f7b\u677e\u4f7f\u7528\u591a\u4e2a LLM\u3002\u5176\u63a5\u53e3\u4e0e OpenAI \u7684\u7c7b\u4f3c\uff0caisuite \u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u4e0e\u6700\u6d41\u884c\u7684 LLM \u4ea4\u4e92\u5e76\u6bd4\u8f83\u7ed3\u679c\u3002<\/p>\n<p>aisuite \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5305\u88c5\u5668\uff0c\u5b83\u57fa\u4e8e Python \u5ba2\u6237\u7aef\u5e93\u6784\u5efa\uff0c\u5141\u8bb8\u7528\u6237\u5728\u4e0d\u4fee\u6539\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\uff0c\u8f7b\u677e\u5207\u6362\u5e76\u6d4b\u8bd5\u6765\u81ea\u4e0d\u540c LLM \u63d0\u4f9b\u5546\u7684\u54cd\u5e94\u3002<\/p>\n<p>\u76ee\u524d\uff0c\u8fd9\u4e2a\u9879\u76ee\u4e3b\u8981\u96c6\u4e2d\u5728\u804a\u5929\u8865\u5168\u529f\u80fd\uff0c\u672a\u6765\u5c06\u6269\u5c55\u5230\u66f4\u591a\u4f7f\u7528\u573a\u666f\u3002<\/p>\n<p>\u5f53\u524d\uff0caisuite \u652f\u6301\u7684\u63d0\u4f9b\u5546\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\n<section>OpenAI<\/section>\n<\/li>\n<li>\n<section>Anthropic<\/section>\n<\/li>\n<li>\n<section>Azure<\/section>\n<\/li>\n<li>\n<section>Google<\/section>\n<\/li>\n<li>\n<section>AWS<\/section>\n<\/li>\n<li>\n<section>Groq<\/section>\n<\/li>\n<li>\n<section>Mistral<\/section>\n<\/li>\n<li>\n<section>HuggingFace\u00a0<\/section>\n<\/li>\n<li>\n<section>Ollama<\/section>\n<\/li>\n<\/ul>\n<p>\u4e3a\u4e86\u786e\u4fdd\u7a33\u5b9a\u6027\uff0caisuite \u4f7f\u7528 HTTP \u7aef\u70b9\u6216 SDK \u6765\u4e0e\u63d0\u4f9b\u5546\u8fdb\u884c\u8c03\u7528\u3002<\/p>\n<p><strong>\u5b89\u88c5<\/strong><\/p>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u6709\u591a\u79cd\u9009\u62e9\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u53ea\u5b89\u88c5\u57fa\u7840\u5305\uff0c\u800c\u4e0d\u5b89\u88c5\u4efb\u4f55\u63d0\u4f9b\u5546\u7684 SDK\u3002<\/p>\n<section>\n<pre data-lang=\"nginx\"><p><code>pip install aisuite<\/code><\/p><\/pre>\n<\/section>\n<p>\u5e26 Anthropic \u652f\u6301\u7684\u5b89\u88c5\u65b9\u5f0f<\/p>\n<section>\n<pre data-lang=\"nginx\"><p><code>pip install 'aisuite [anthropic]'<\/code><\/p><\/pre>\n<\/section>\n<p>\u4e0b\u9762\u662f\u5c06\u5b89\u88c5\u6240\u6709\u7279\u5b9a\u4e8e\u63d0\u4f9b\u5546\u7684\u5e93\u3002<\/p>\n<section>\n<pre data-lang=\"nginx\"><p><code>pip install 'aisuite [all]'<\/code><\/p><\/pre>\n<\/section>\n<p><strong>\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5f00\u59cb\u4f7f\u7528\u65f6\uff0c\u4f60\u9700\u8981\u4e3a\u6253\u7b97\u4f7f\u7528\u7684\u63d0\u4f9b\u5546\u83b7\u53d6 API \u5bc6\u94a5\u3002API \u5bc6\u94a5\u53ef\u4ee5\u4f5c\u4e3a\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\uff0c\u5177\u4f53\u7684\u4f7f\u7528\u65b9\u5f0f\u53ef\u4ee5\u53c2\u8003 aisuite \u7684 examples \u6587\u4ef6\u5939\u3002<\/p>\n<p>\u5982\u679c\u5927\u5bb6\u8fd8\u4e0d\u662f\u5f88\u660e\u767d\uff0c\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7b80\u77ed\u7684\u793a\u4f8b\u5c55\u793a\uff0c\u5373\u5982\u4f55\u4f7f\u7528 aisuite \u751f\u6210\u6765\u81ea GPT-4o \u548c Claude-3-5-Sonnet \u7684\u804a\u5929\u8865\u5168\u54cd\u5e94\u3002<\/p>\n<p>\u5148\u8bbe\u7f6e API \u5bc6\u94a5\uff1a<\/p>\n<section>\n<pre data-lang=\"javascript\"><p><code>export OPENAI_API_KEY=\"your-openai-api-key\"<\/code><\/p><p><code>export ANTHROPIC_API_KEY=\"your-anthropic-api-key\"<\/code><\/p><\/pre>\n<\/section>\n<p>\u4f7f\u7528 Python \u5ba2\u6237\u7aef\uff1a<\/p>\n<section>\n<pre data-lang=\"http\"><p><code>import aisuite as ai<\/code><\/p><p><code>client = ai.Client ()<\/code><code>\r\n<\/code><code>\r\n<\/code><code>models = [\"openai:gpt-4o\", \"anthropic:claude-3-5-sonnet-20240620\"]<\/code><code>\r\n<\/code><code>\r\n<\/code><code>messages = [<\/code><\/p><p><code>    {\"role\": \"system\", \"content\": \"Respond in Pirate English.\"},<\/code><\/p><p><code>    {\"role\": \"user\", \"content\": \"Tell me a joke.\"},<\/code><\/p><p><code>]<\/code><code>\r\n<\/code><code>\r\n<\/code><code>for model in models:<\/code><\/p><p><code>    response = client.chat.completions.create (<\/code><\/p><p><code>        model=model,<\/code><\/p><p><code>        messages=messages,<\/code><\/p><p><code>        temperature=0.75<\/code><\/p><p><code>    )<\/code><\/p><p><code>\u00a0 \u00a0 print (response.choices [0].message.content)<\/code><\/p><\/pre>\n<\/section>\n<p>\u60f3\u8981\u5c1d\u8bd5\u7684\u8bfb\u8005\u53ef\u4ee5\u8ddf\u7740\u539f\u9879\u76ee\u8fdb\u884c\u914d\u7f6e\u3002\u5982\u4eca\uff0c\u6211\u4eec\u8eab\u5904\u5927\u6a21\u578b\u65f6\u4ee3\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\uff0c\u7528\u4e00\u4e2a\u7edf\u4e00\u7684\u63a5\u53e3\u5c31\u80fd\u8c03\u7528\u5404\u79cd\u5927\u6a21\u578b\uff0c\u8fd9\u7ed9\u5f00\u53d1\u8005\u4eec\u8282\u7701\u4e86\u5927\u91cf\u7684\u65f6\u95f4\u6210\u672c\u3002<\/p>\n<p>\u6211\u4eec\u671f\u5f85\u8fd9\u79cd\u5b9e\u7528\u7684\u5f00\u6e90\u9879\u76ee\u8d8a\u6765\u8d8a\u591a\uff0c\u5982\u679c\u4f60\u6709\u597d\u7684\u9879\u76ee\u63a8\u8350\uff0c\u6b22\u8fce\u5927\u5bb6\u8bc4\u8bba\u533a\u7559\u8a00\u3002<\/p>\n<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2024-11-26-5\" target=\"_blank\">\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0P [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[27],"tags":[68],"class_list":["post-36848","post","type-post","status-publish","format-standard","hentry","category-news","tag-68"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b - \u4e00\u8d77AI\u6280\u672f<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/17aitech.com\/?p=36848\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848\"},\"author\":{\"name\":\"AI\u5c0f\u52a9\u624b\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\"},\"headline\":\"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b\",\"datePublished\":\"2025-01-19T11:00:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848\"},\"wordCount\":65,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/frc-eefdb1683f799fed87994e2cbfacaee6.png\",\"keywords\":[\"\u5927\u6a21\u578b\"],\"articleSection\":[\"\u884c\u4e1a\u8d44\u8baf\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/17aitech.com\\\/?p=36848#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848\",\"url\":\"https:\\\/\\\/17aitech.com\\\/?p=36848\",\"name\":\"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b - \u4e00\u8d77AI\u6280\u672f\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/frc-eefdb1683f799fed87994e2cbfacaee6.png\",\"datePublished\":\"2025-01-19T11:00:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/17aitech.com\\\/?p=36848\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#primaryimage\",\"url\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/frc-eefdb1683f799fed87994e2cbfacaee6.png\",\"contentUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/frc-eefdb1683f799fed87994e2cbfacaee6.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=36848#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/17aitech.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#website\",\"url\":\"https:\\\/\\\/17aitech.com\\\/\",\"name\":\"\u4e00\u8d77AI\u6280\u672f\",\"description\":\"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca\",\"alternateName\":\"\u4e00\u8d77AI\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/17aitech.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\",\"name\":\"AI\u5c0f\u52a9\u624b\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"url\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"contentUrl\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"caption\":\"AI\u5c0f\u52a9\u624b\"},\"description\":\"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e\",\"url\":\"https:\\\/\\\/17aitech.com\\\/?page_id=33738&user=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b - \u4e00\u8d77AI\u6280\u672f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/17aitech.com\/?p=36848","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/17aitech.com\/?p=36848#article","isPartOf":{"@id":"https:\/\/17aitech.com\/?p=36848"},"author":{"name":"AI\u5c0f\u52a9\u624b","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"headline":"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b","datePublished":"2025-01-19T11:00:24+00:00","mainEntityOfPage":{"@id":"https:\/\/17aitech.com\/?p=36848"},"wordCount":65,"commentCount":0,"image":{"@id":"https:\/\/17aitech.com\/?p=36848#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png","keywords":["\u5927\u6a21\u578b"],"articleSection":["\u884c\u4e1a\u8d44\u8baf"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/17aitech.com\/?p=36848#respond"]}]},{"@type":"WebPage","@id":"https:\/\/17aitech.com\/?p=36848","url":"https:\/\/17aitech.com\/?p=36848","name":"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b - \u4e00\u8d77AI\u6280\u672f","isPartOf":{"@id":"https:\/\/17aitech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/17aitech.com\/?p=36848#primaryimage"},"image":{"@id":"https:\/\/17aitech.com\/?p=36848#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png","datePublished":"2025-01-19T11:00:24+00:00","author":{"@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"breadcrumb":{"@id":"https:\/\/17aitech.com\/?p=36848#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/17aitech.com\/?p=36848"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/?p=36848#primaryimage","url":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png","contentUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/11\/frc-eefdb1683f799fed87994e2cbfacaee6.png"},{"@type":"BreadcrumbList","@id":"https:\/\/17aitech.com\/?p=36848#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/17aitech.com\/"},{"@type":"ListItem","position":2,"name":"\u5434\u6069\u8fbe\u51fa\u624b\uff0c\u5f00\u6e90\u6700\u65b0Python\u5305\uff0c\u4e00\u4e2a\u63a5\u53e3\u8c03\u7528OpenAI\u7b49\u6a21\u578b"}]},{"@type":"WebSite","@id":"https:\/\/17aitech.com\/#website","url":"https:\/\/17aitech.com\/","name":"\u4e00\u8d77AI\u6280\u672f","description":"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca","alternateName":"\u4e00\u8d77AI\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/17aitech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d","name":"AI\u5c0f\u52a9\u624b","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","url":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","contentUrl":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","caption":"AI\u5c0f\u52a9\u624b"},"description":"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e","url":"https:\/\/17aitech.com\/?page_id=33738&user=3"}]}},"_links":{"self":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/36848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36848"}],"version-history":[{"count":0,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/36848\/revisions"}],"wp:attachment":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}