{"id":92649,"date":"2026-08-10T20:32:43","date_gmt":"2026-08-10T12:32:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92649.html"},"modified":"2026-08-10T20:32:43","modified_gmt":"2026-08-10T12:32:43","slug":"agency-agents-%e6%99%ba%e8%83%bd%e4%bd%93%e7%b3%bb%e7%bb%9f%e4%bb%8e%e9%9b%b6%e6%90%ad%e5%bb%ba%e5%ae%9e%e6%88%98%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92649.html","title":{"rendered":"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357"},"content":{"rendered":"<p>\u5728\u5f00\u53d1\u590d\u6742\u5e94\u7528\u65f6&#xff0c;\u6211\u4eec\u5e38\u5e38\u9047\u5230\u5355\u4e00\u6a21\u578b\u96be\u4ee5\u517c\u987e\u5168\u5c40\u89c4\u5212\u4e0e\u7ec6\u8282\u6267\u884c\u7684\u56f0\u5883\u3002\u6709\u65f6\u5019&#xff0c;\u6a21\u578b\u64c5\u957f\u521b\u610f\u751f\u6210\u5374\u5728\u903b\u8f91\u63a8\u7406\u4e0a\u7a0d\u663e\u5403\u529b&#xff0c;\u6216\u8005\u7cbe\u4e8e\u4ee3\u7801\u7f16\u5199\u5374\u7f3a\u4e4f\u5bf9\u4e1a\u52a1\u4e0a\u4e0b\u6587\u7684\u6df1\u523b\u7406\u89e3\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u67b6\u6784\u5e94\u8fd0\u800c\u751f&#xff0c;\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u5927\u4efb\u52a1\u62c6\u89e3&#xff0c;\u7531\u591a\u4e2a\u5177\u5907\u4e0d\u540c\u4e13\u957f\u7684\u201c\u89d2\u8272\u201d\u5171\u540c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0d\u4ec5\u63d0\u5347\u4e86\u4efb\u52a1\u5904\u7406\u7684\u51c6\u786e\u7387&#xff0c;\u8fd8\u8ba9\u7cfb\u7edf\u5177\u5907\u4e86\u66f4\u5f3a\u7684\u53ef\u6269\u5c55\u6027\u548c\u5bb9\u9519\u80fd\u529b\u3002<\/p>\n<p>\u5bf9\u4e8e\u8bb8\u591a\u5f00\u53d1\u8005\u800c\u8a00&#xff0c;\u642d\u5efa\u8fd9\u6837\u4e00\u5957\u7cfb\u7edf\u5f80\u5f80\u610f\u5473\u7740\u8981\u9762\u5bf9\u7e41\u7410\u7684\u73af\u5883\u914d\u7f6e\u3001\u590d\u6742\u7684\u4f9d\u8d56\u7ba1\u7406\u4ee5\u53ca\u6666\u6da9\u7684\u901a\u4fe1\u534f\u8bae\u3002\u4f46\u5b9e\u9645\u4e0a&#xff0c;\u968f\u7740\u73b0\u4ee3\u6846\u67b6\u7684\u6210\u719f&#xff0c;\u6784\u5efa\u4e00\u4e2a\u9ad8\u6548\u7684\u591a\u667a\u80fd\u4f53\u56e2\u961f\u5df2\u7ecf\u53d8\u5f97\u76f8\u5f53\u76f4\u89c2\u3002\u672c\u6587\u5c06\u5e26\u4f60\u4ece\u96f6\u5f00\u59cb&#xff0c;\u4e00\u6b65\u6b65\u642d\u5efa\u5c5e\u4e8e\u4f60\u81ea\u5df1\u7684\u667a\u80fd\u4f53\u534f\u4f5c\u7cfb\u7edf\u3002\u65e0\u8bba\u4f60\u662f\u60f3\u81ea\u52a8\u5316\u5904\u7406\u65e5\u5e38\u6570\u636e\u62a5\u8868&#xff0c;\u8fd8\u662f\u5e0c\u671b\u6784\u5efa\u4e00\u4e2a\u80fd\u81ea\u4e3b\u5b8c\u6210\u8f6f\u4ef6\u5f00\u53d1\u6d41\u7a0b\u7684\u865a\u62df\u56e2\u961f&#xff0c;\u8fd9\u7bc7\u6587\u7ae0\u63d0\u4f9b\u7684\u5b9e\u8df5\u8def\u5f84\u90fd\u80fd\u5e2e\u4f60\u5feb\u901f\u843d\u5730\u3002\u6211\u4eec\u5c06\u8df3\u8fc7\u67af\u71e5\u7684\u7406\u8bba\u5806\u780c&#xff0c;\u76f4\u63a5\u6df1\u5165\u6838\u5fc3\u914d\u7f6e\u4e0e\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u786e\u4fdd\u4f60\u8bfb\u5b8c\u5c31\u80fd\u52a8\u624b\u8dd1\u901a\u7b2c\u4e00\u4e2a\u6848\u4f8b\u3002<\/p>\n<h3>\u2460 \u6838\u5fc3\u6982\u5ff5\u89e3\u6790\u4e0e\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/h3>\n<p>\u5728\u6b63\u5f0f\u52a8\u624b\u4e4b\u524d&#xff0c;\u6211\u4eec\u9700\u8981\u5398\u6e05\u51e0\u4e2a\u5173\u952e\u6982\u5ff5&#xff0c;\u8fd9\u6709\u52a9\u4e8e\u540e\u7eed\u7684\u7406\u89e3\u3002\u5728\u591a\u667a\u80fd\u4f53\u7cfb\u7edf\u4e2d&#xff0c;\u201c\u667a\u80fd\u4f53&#xff08;Agent&#xff09;\u201d\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u8c03\u7528\u5927\u6a21\u578b\u7684\u63a5\u53e3&#xff0c;\u5b83\u662f\u4e00\u4e2a\u62e5\u6709\u72ec\u7acb\u8bb0\u5fc6\u3001\u7279\u5b9a\u89d2\u8272\u8bbe\u5b9a\u4ee5\u53ca\u4e13\u5c5e\u5de5\u5177\u96c6\u7684\u5b9e\u4f53\u3002\u800c\u201c\u7f16\u6392\u5668&#xff08;Orchestrator&#xff09;\u201d\u6216\u201c\u7ba1\u7406\u5668\u201d\u5219\u8d1f\u8d23\u534f\u8c03\u8fd9\u4e9b\u667a\u80fd\u4f53\u4e4b\u95f4\u7684\u5bf9\u8bdd\u6d41\u8f6c&#xff0c;\u51b3\u5b9a\u4f55\u65f6\u8ba9\u54ea\u4e2a\u89d2\u8272\u4ecb\u5165&#xff0c;\u4ee5\u53ca\u5982\u4f55\u6c47\u603b\u6700\u7ec8\u7ed3\u679c\u3002\u7406\u89e3\u8fd9\u4e00\u5206\u5de5\u662f\u8bbe\u8ba1\u9ad8\u6548\u534f\u4f5c\u6d41\u7a0b\u7684\u57fa\u7840\u3002<\/p>\n<p>\u5173\u4e8e\u8fd0\u884c\u73af\u5883&#xff0c;\u4e3a\u4e86\u4fdd\u8bc1\u517c\u5bb9\u6027\u4e0e\u7a33\u5b9a\u6027&#xff0c;\u5efa\u8bae\u91c7\u7528\u9694\u79bb\u7684 Python \u73af\u5883\u3002\u76ee\u524d\u4e3b\u6d41\u7684\u591a\u667a\u80fd\u4f53\u6846\u67b6\u901a\u5e38\u8981\u6c42 Python 3.9 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 venv \u6216 conda \u6765\u521b\u5efa\u72ec\u7acb\u7a7a\u95f4&#xff0c;\u907f\u514d\u4e0e\u5176\u4ed6\u9879\u76ee\u7684\u4f9d\u8d56\u4ea7\u751f\u51b2\u7a81\u3002\u6b64\u5916&#xff0c;\u7531\u4e8e\u667a\u80fd\u4f53\u4ea4\u4e92\u6d89\u53ca\u5927\u91cf\u7684\u5f02\u6b65\u8bf7\u6c42\u5904\u7406&#xff0c;\u786e\u4fdd\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u652f\u6301\u9ad8\u6548\u7684\u5f02\u6b65 I\/O \u64cd\u4f5c\u4e5f\u662f\u5fc5\u8981\u7684\u3002\u5bf9\u4e8e Windows \u7528\u6237&#xff0c;\u5efa\u8bae\u4f7f\u7528 WSL2&#xff08;Windows Subsystem for Linux&#xff09;\u4ee5\u83b7\u5f97\u66f4\u63a5\u8fd1\u539f\u751f Linux \u7684\u5f00\u53d1\u4f53\u9a8c&#xff0c;\u4ece\u800c\u51cf\u5c11\u56e0\u8def\u5f84\u5206\u9694\u7b26\u6216 shell \u811a\u672c\u517c\u5bb9\u6027\u5e26\u6765\u7684\u6f5c\u5728\u95ee\u9898\u3002<\/p>\n<h3>\u2461 \u4f9d\u8d56\u5e93\u5b89\u88c5\u4e0e\u9879\u76ee\u5feb\u901f\u90e8\u7f72<\/h3>\n<p>\u73af\u5883\u51c6\u5907\u597d\u540e&#xff0c;\u4e0b\u4e00\u6b65\u662f\u5b89\u88c5\u6838\u5fc3\u4f9d\u8d56\u3002\u5047\u8bbe\u6211\u4eec\u4f7f\u7528\u5f53\u524d\u793e\u533a\u8f83\u4e3a\u6d41\u884c\u7684\u5f00\u6e90\u6846\u67b6\u4f5c\u4e3a\u57fa\u7840&#xff08;\u6b64\u5904\u4ee5\u901a\u7528\u7ed3\u6784\u4e3a\u4f8b&#xff0c;\u5177\u4f53\u5305\u540d\u53ef\u6839\u636e\u5b9e\u9645\u9009\u578b\u8c03\u6574&#xff09;&#xff0c;\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\u5feb\u901f\u5f15\u5165\u3002\u5728\u7ec8\u7aef\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u5373\u53ef\u5b89\u88c5\u6838\u5fc3\u5e93\u53ca\u5176\u914d\u5957\u7684 CLI \u5de5\u5177&#xff1a;<\/p>\n<p>pip <span class=\"token function\">install<\/span> multi-agent-framework<br \/>\npip <span class=\"token function\">install<\/span> python-dotenv httpx<\/p>\n<p>\u8fd9\u91cc\u989d\u5916\u5b89\u88c5\u4e86 python-dotenv \u7528\u4e8e\u5b89\u5168\u7ba1\u7406\u5bc6\u94a5&#xff0c;httpx \u5219\u7528\u4e8e\u5904\u7406\u9ad8\u6027\u80fd\u7684\u5f02\u6b65 HTTP \u8bf7\u6c42&#xff0c;\u8fd9\u5728\u667a\u80fd\u4f53\u8c03\u7528\u5916\u90e8 API \u65f6\u81f3\u5173\u91cd\u8981\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u7248\u672c\u68c0\u67e5\u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f&#xff1a;<\/p>\n<p>python <span class=\"token parameter variable\">-c<\/span> <span class=\"token string\">&#034;import multi_agent_framework; print(multi_agent_framework.__version__)&#034;<\/span><\/p>\n<p>\u5982\u679c\u8f93\u51fa\u4e86\u7248\u672c\u53f7\u4e14\u65e0\u62a5\u9519&#xff0c;\u8bf4\u660e\u57fa\u7840\u73af\u5883\u5df2\u5c31\u7eea\u3002\u63a5\u4e0b\u6765&#xff0c;\u521d\u59cb\u5316\u4e00\u4e2a\u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u3002\u63a8\u8350\u7684\u7ed3\u6784\u662f\u5c06\u914d\u7f6e\u6587\u4ef6\u3001\u6e90\u4ee3\u7801\u3001\u65e5\u5fd7\u6587\u4ef6\u548c\u6d4b\u8bd5\u6570\u636e\u5206\u5f00\u5b58\u653e\u3002\u4f8b\u5982&#xff0c;\u521b\u5efa config\/ \u5b58\u653e\u73af\u5883\u53d8\u91cf&#xff0c;src\/ \u5b58\u653e\u667a\u80fd\u4f53\u5b9a\u4e49&#xff0c;logs\/ \u5b58\u653e\u8fd0\u884c\u65e5\u5fd7\u3002\u8fd9\u79cd\u6e05\u6670\u7684\u5206\u5c42\u7ed3\u6784\u5728\u540e\u671f\u7ef4\u62a4\u548c\u591a\u667a\u80fd\u4f53\u8c03\u8bd5\u65f6\u4f1a\u5e26\u6765\u6781\u5927\u7684\u4fbf\u5229\u3002<\/p>\n<h3>\u2462 \u914d\u7f6e\u6587\u4ef6\u8be6\u89e3\u4e0e\u57fa\u7840\u53c2\u6570\u8bbe\u5b9a<\/h3>\n<p>\u914d\u7f6e\u662f\u591a\u667a\u80fd\u4f53\u7cfb\u7edf\u7684\u795e\u7ecf\u4e2d\u67a2\u3002\u5728\u4e00\u4e2a\u5178\u578b\u7684 .env \u6216 config.yaml \u6587\u4ef6\u4e2d&#xff0c;\u6211\u4eec\u9700\u8981\u5b9a\u4e49\u6a21\u578b\u63a5\u5165\u70b9\u3001\u8d85\u65f6\u7b56\u7565\u4ee5\u53ca\u5168\u5c40\u65e5\u5fd7\u7ea7\u522b\u3002\u9996\u5148&#xff0c;\u6a21\u578b\u63a5\u5165\u70b9\u662f\u5fc5\u987b\u7684&#xff0c;\u4f60\u9700\u8981\u5728\u6b64\u5904\u586b\u5165\u5408\u6cd5\u7684 API Key \u548c Endpoint \u5730\u5740\u3002\u51fa\u4e8e\u5b89\u5168\u8003\u8651&#xff0c;\u5207\u52ff\u5c06\u5bc6\u94a5\u786c\u7f16\u7801\u5728\u4ee3\u7801\u4e2d&#xff0c;\u52a1\u5fc5\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u8bfb\u53d6\u3002<\/p>\n<p>\u5176\u6b21\u662f\u5e76\u53d1\u63a7\u5236\u53c2\u6570\u3002\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u5f80\u5f80\u6d89\u53ca\u5e76\u884c\u8bf7\u6c42&#xff0c;\u5982\u679c\u4e0d\u52a0\u9650\u5236&#xff0c;\u77ac\u95f4\u7684\u9ad8\u5e76\u53d1\u53ef\u80fd\u4f1a\u89e6\u53d1 API \u670d\u52a1\u5546\u7684\u901f\u7387\u9650\u5236&#xff08;Rate Limit&#xff09;\u3002\u56e0\u6b64&#xff0c;\u5728\u914d\u7f6e\u4e2d\u8bbe\u7f6e max_concurrent_requests&#xff08;\u6700\u5927\u5e76\u53d1\u8bf7\u6c42\u6570&#xff09;\u548c retry_delay&#xff08;\u91cd\u8bd5\u5ef6\u8fdf&#xff09;\u662f\u975e\u5e38\u5173\u952e\u7684\u3002\u4f8b\u5982&#xff0c;\u5c06\u6700\u5927\u5e76\u53d1\u8bbe\u4e3a 5&#xff0c;\u91cd\u8bd5\u5ef6\u8fdf\u8bbe\u4e3a 2 \u79d2&#xff0c;\u53ef\u4ee5\u5728\u4fdd\u8bc1\u6548\u7387\u7684\u540c\u65f6\u7ef4\u6301\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n<p>\u6700\u540e\u662f\u65e5\u5fd7\u914d\u7f6e\u3002\u5efa\u8bae\u5c06\u65e5\u5fd7\u7ea7\u522b\u8bbe\u7f6e\u4e3a INFO \u4ee5\u4fbf\u89c2\u5bdf\u65e5\u5e38\u6d41\u8f6c&#xff0c;\u800c\u5728\u8c03\u8bd5\u9636\u6bb5\u5207\u6362\u4e3a DEBUG \u4ee5\u67e5\u770b\u8be6\u7ec6\u7684\u6d88\u606f\u5f80\u8fd4\u5185\u5bb9\u3002\u540c\u65f6&#xff0c;\u914d\u7f6e\u65e5\u5fd7\u8f6e\u8f6c\u7b56\u7565&#xff0c;\u907f\u514d\u65e5\u5fd7\u6587\u4ef6\u65e0\u9650\u589e\u957f\u5360\u7528\u78c1\u76d8\u7a7a\u95f4\u3002\u4e00\u4e2a\u6e05\u6670\u7684\u914d\u7f6e\u793a\u4f8b\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token key atrule\">model<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">provider<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;openai_compatible&#034;<\/span><br \/>\n  <span class=\"token key atrule\">endpoint<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;https:\/\/api.example.com\/v1\/chat\/completions&#034;<\/span><br \/>\n  <span class=\"token key atrule\">api_key_env<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;LLM_API_KEY&#034;<\/span><br \/>\n  <span class=\"token key atrule\">model_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;gpt-4o&#034;<\/span><\/p>\n<p><span class=\"token key atrule\">orchestration<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">max_concurrent_requests<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">5<\/span><br \/>\n  <span class=\"token key atrule\">retry_attempts<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">3<\/span><br \/>\n  <span class=\"token key atrule\">retry_delay_seconds<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">2<\/span><\/p>\n<p><span class=\"token key atrule\">logging<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">level<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;INFO&#034;<\/span><br \/>\n  <span class=\"token key atrule\">file_path<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;logs\/agent_system.log&#034;<\/span><br \/>\n  <span class=\"token key atrule\">max_file_size_mb<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">50<\/span><\/p>\n<h3>\u2463 \u6784\u5efa\u7b2c\u4e00\u4e2a Hello World \u667a\u80fd\u4f53<\/h3>\n<p>\u914d\u7f6e\u5c31\u7eea\u540e&#xff0c;\u6211\u4eec\u6765\u6784\u5efa\u7cfb\u7edf\u4e2d\u7684\u7b2c\u4e00\u4e2a\u667a\u80fd\u4f53\u2014\u2014\u4e00\u4e2a\u7b80\u5355\u7684\u201c\u52a9\u624b\u201d\u89d2\u8272\u3002\u8fd9\u4e2a\u667a\u80fd\u4f53\u7684\u4efb\u52a1\u975e\u5e38\u5355\u7eaf&#xff1a;\u63a5\u6536\u7528\u6237\u8f93\u5165&#xff0c;\u8fd4\u56de\u4e00\u53e5\u95ee\u5019\u8bed\u3002\u867d\u7136\u7b80\u5355&#xff0c;\u4f46\u5b83\u6db5\u76d6\u4e86\u667a\u80fd\u4f53\u5b9a\u4e49\u7684\u5b8c\u6574\u751f\u547d\u5468\u671f&#xff1a;\u89d2\u8272\u8bbe\u5b9a\u3001\u6a21\u578b\u7ed1\u5b9a\u548c\u6d88\u606f\u5904\u7406\u3002<\/p>\n<p>\u5728\u4ee3\u7801\u5c42\u9762&#xff0c;\u6211\u4eec\u9996\u5148\u5b9e\u4f8b\u5316\u4e00\u4e2a Agent \u7c7b&#xff0c;\u5e76\u8d4b\u4e88\u5b83\u7279\u5b9a\u7684 system_prompt&#xff08;\u7cfb\u7edf\u63d0\u793a\u8bcd&#xff09;\u3002\u7cfb\u7edf\u63d0\u793a\u8bcd\u51b3\u5b9a\u4e86\u667a\u80fd\u4f53\u7684\u884c\u4e3a\u8fb9\u754c\u548c\u8bed\u6c14\u98ce\u683c\u3002\u5bf9\u4e8e\u8fd9\u4e2a Hello World \u6848\u4f8b&#xff0c;\u6211\u4eec\u5c06\u63d0\u793a\u8bcd\u8bbe\u5b9a\u4e3a\u201c\u4f60\u662f\u4e00\u4e2a\u53cb\u597d\u7684\u52a9\u624b&#xff0c;\u53ea\u8d1f\u8d23\u6253\u62db\u547c\u201d\u3002<\/p>\n<p><span class=\"token keyword\">from<\/span> multi_agent_framework <span class=\"token keyword\">import<\/span> Agent<span class=\"token punctuation\">,<\/span> LLMConfig<\/p>\n<p><span class=\"token comment\"># \u52a0\u8f7d\u914d\u7f6e<\/span><br \/>\nconfig <span class=\"token operator\">&#061;<\/span> LLMConfig<span class=\"token punctuation\">.<\/span>from_env<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u667a\u80fd\u4f53<\/span><br \/>\ngreeter_agent <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span><br \/>\n    name<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Greeter&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Friendly Assistant&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    system_prompt<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;You are a friendly assistant. Your only job is to say hello and welcome the user.&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    llm_config<span class=\"token operator\">&#061;<\/span>config<br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u6267\u884c\u4efb\u52a1<\/span><br \/>\nresponse <span class=\"token operator\">&#061;<\/span> greeter_agent<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Start the process&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>greeter_agent<span class=\"token punctuation\">.<\/span>name<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>response<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u8fd0\u884c\u8fd9\u6bb5\u4ee3\u7801&#xff0c;\u4f60\u5c06\u770b\u5230\u63a7\u5236\u53f0\u8f93\u51fa\u4e86\u9884\u671f\u7684\u95ee\u5019\u8bed\u3002\u8fd9\u4e00\u6b65\u9a8c\u8bc1\u4e86\u4ece\u914d\u7f6e\u52a0\u8f7d\u5230\u6a21\u578b\u8c03\u7528\u7684\u5168\u94fe\u8def\u662f\u901a\u7545\u7684\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f&#xff0c;\u8fd9\u91cc\u7684 run \u65b9\u6cd5\u901a\u5e38\u662f\u540c\u6b65\u963b\u585e\u7684&#xff0c;\u4f46\u5728\u5b9e\u9645\u590d\u6742\u573a\u666f\u4e2d&#xff0c;\u6211\u4eec\u66f4\u591a\u4f1a\u4f7f\u7528\u5f02\u6b65\u65b9\u6cd5\u6765\u975e\u963b\u585e\u5730\u83b7\u53d6\u7ed3\u679c&#xff0c;\u4e3a\u540e\u7eed\u7684\u591a\u667a\u80fd\u4f53\u5e76\u884c\u534f\u4f5c\u6253\u4e0b\u57fa\u7840\u3002<\/p>\n<h3>\u2464 \u591a\u667a\u80fd\u4f53\u534f\u4f5c\u6d41\u7a0b\u8bbe\u8ba1\u4e0e\u5b9e\u73b0<\/h3>\n<p>\u5355\u5175\u4f5c\u6218\u80fd\u529b\u6709\u9650&#xff0c;\u56e2\u961f\u534f\u4f5c\u624d\u80fd\u89e3\u51b3\u590d\u6742\u95ee\u9898\u3002\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u8bbe\u8ba1\u4e00\u4e2a\u5305\u542b\u201c\u7814\u7a76\u5458\u201d\u548c\u201c\u64b0\u5199\u5458\u201d\u7684\u53cc\u4eba\u534f\u4f5c\u6d41\u7a0b\u3002\u7814\u7a76\u5458\u8d1f\u8d23\u641c\u96c6\u4fe1\u606f&#xff08;\u6a21\u62df&#xff09;&#xff0c;\u64b0\u5199\u5458\u8d1f\u8d23\u6839\u636e\u4fe1\u606f\u751f\u6210\u62a5\u544a\u3002\u8fd9\u4e24\u4e2a\u89d2\u8272\u9700\u8981\u901a\u8fc7\u4e00\u4e2a\u5171\u4eab\u7684\u201c\u6d88\u606f\u677f\u201d\u6216\u76f4\u63a5\u5bf9\u8bdd\u6765\u4f20\u9012\u4e0a\u4e0b\u6587\u3002<\/p>\n<p>\u5728\u5b9e\u73b0\u4e0a&#xff0c;\u6211\u4eec\u5f15\u5165\u4e00\u4e2a GroupChat \u6216 Workflow \u63a7\u5236\u5668\u3002\u8be5\u63a7\u5236\u5668\u7ef4\u62a4\u7740\u4e00\u4e2a\u6d88\u606f\u961f\u5217&#xff0c;\u667a\u80fd\u4f53\u4f9d\u6b21\u6216\u6839\u636e\u89c4\u5219\u4ece\u961f\u5217\u4e2d\u8bfb\u53d6\u6700\u65b0\u6d88\u606f&#xff0c;\u5904\u7406\u540e\u5c06\u81ea\u5df1\u7684\u56de\u590d\u5199\u5165\u961f\u5217\u3002\u5173\u952e\u5728\u4e8e\u5b9a\u4e49\u201c\u7ec8\u6b62\u6761\u4ef6\u201d&#xff0c;\u5373\u4ec0\u4e48\u65f6\u5019\u505c\u6b62\u5faa\u73af\u3002\u4f8b\u5982&#xff0c;\u5f53\u64b0\u5199\u5458\u8f93\u51fa\u4e86\u5305\u542b\u201c\u62a5\u544a\u5b8c\u6210\u201d\u6807\u8bb0\u7684\u5185\u5bb9\u65f6&#xff0c;\u6d41\u7a0b\u7ed3\u675f\u3002<\/p>\n<p><span class=\"token keyword\">from<\/span> multi_agent_framework <span class=\"token keyword\">import<\/span> GroupChat<span class=\"token punctuation\">,<\/span> Agent<\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u89d2\u8272<\/span><br \/>\nresearcher <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span>name<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Researcher&#034;<\/span><span class=\"token punctuation\">,<\/span> role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Data Analyst&#034;<\/span><span class=\"token punctuation\">,<\/span> system_prompt<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Analyze the given topic and list 3 key points.&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nwriter <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span>name<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Writer&#034;<\/span><span class=\"token punctuation\">,<\/span> role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Content Creator&#034;<\/span><span class=\"token punctuation\">,<\/span> system_prompt<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Turn the key points into a short paragraph.&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u7ec4\u5efa\u56e2\u961f<\/span><br \/>\nteam <span class=\"token operator\">&#061;<\/span> GroupChat<span class=\"token punctuation\">(<\/span><br \/>\n    agents<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span>researcher<span class=\"token punctuation\">,<\/span> writer<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    messages<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    max_rounds<span class=\"token operator\">&#061;<\/span><span class=\"token number\">5<\/span>  <span class=\"token comment\"># \u9650\u5236\u6700\u5927\u5bf9\u8bdd\u8f6e\u6b21&#xff0c;\u9632\u6b62\u6b7b\u5faa\u73af<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u542f\u52a8\u534f\u4f5c<\/span><br \/>\ninitial_task <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;Please analyze the benefits of renewable energy.&#034;<\/span><br \/>\nresult <span class=\"token operator\">&#061;<\/span> team<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span>initial_task<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#061;&#061;&#061; Final Output &#061;&#061;&#061;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">.<\/span>summary<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u5728\u8fd9\u4e2a\u6d41\u7a0b\u4e2d&#xff0c;max_rounds \u662f\u4e00\u4e2a\u91cd\u8981\u7684\u5b89\u5168\u9600\u3002\u5982\u679c\u6ca1\u6709\u5b83&#xff0c;\u4e24\u4e2a\u667a\u80fd\u4f53\u53ef\u80fd\u4f1a\u9677\u5165\u4e92\u76f8\u5ba2\u5957\u6216\u91cd\u590d\u4fe1\u606f\u7684\u6b7b\u5faa\u73af\u3002\u901a\u8fc7\u9650\u5236\u8f6e\u6b21\u5e76\u914d\u5408\u667a\u80fd\u7684\u7ec8\u6b62\u5224\u65ad\u903b\u8f91&#xff0c;\u6211\u4eec\u53ef\u4ee5\u786e\u4fdd\u4efb\u52a1\u5728\u6709\u9650\u6b65\u9aa4\u5185\u9ad8\u6548\u5b8c\u6210\u3002<\/p>\n<h3>\u2465 \u81ea\u5b9a\u4e49\u5de5\u5177\u51fd\u6570\u4e0e\u5916\u90e8 API \u96c6\u6210<\/h3>\n<p>\u667a\u80fd\u4f53\u4e4b\u6240\u4ee5\u5f3a\u5927&#xff0c;\u662f\u56e0\u4e3a\u5b83\u4eec\u80fd\u4f7f\u7528\u5de5\u5177\u3002\u9664\u4e86\u8bed\u8a00\u751f\u6210&#xff0c;\u6211\u4eec\u5e38\u9700\u8981\u667a\u80fd\u4f53\u67e5\u8be2\u6570\u636e\u5e93\u3001\u8c03\u7528\u5929\u6c14 API \u6216\u6267\u884c\u4ee3\u7801\u8ba1\u7b97\u3002\u6846\u67b6\u901a\u5e38\u652f\u6301\u5c06 Python \u51fd\u6570\u6ce8\u518c\u4e3a\u5de5\u5177&#xff0c;\u667a\u80fd\u4f53\u5728\u9700\u8981\u65f6\u4f1a\u81ea\u52a8\u751f\u6210\u8c03\u7528\u53c2\u6570\u7684 JSON\u3002<\/p>\n<p>\u5047\u8bbe\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u5de5\u5177\u6765\u83b7\u53d6\u5b9e\u65f6\u6c47\u7387\u3002\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u6807\u51c6\u51fd\u6570&#xff0c;\u5e76\u901a\u8fc7\u88c5\u9970\u5668\u5c06\u5176\u6ce8\u518c\u5230\u667a\u80fd\u4f53\u8eab\u4e0a\u3002\u667a\u80fd\u4f53\u5728\u9047\u5230\u201c\u6362\u7b97\u8d27\u5e01\u201d\u8fd9\u7c7b\u6307\u4ee4\u65f6&#xff0c;\u4f1a\u81ea\u52a8\u8bc6\u522b\u5e76\u8c03\u7528\u8be5\u51fd\u6570&#xff0c;\u800c\u4e0d\u662f\u8bd5\u56fe\u7528\u8bad\u7ec3\u6570\u636e\u4e2d\u7684\u8fc7\u65f6\u77e5\u8bc6\u53bb\u778e\u7f16\u3002<\/p>\n<p><span class=\"token keyword\">import<\/span> requests<br \/>\n<span class=\"token keyword\">from<\/span> multi_agent_framework <span class=\"token keyword\">import<\/span> tool<\/p>\n<p><span class=\"token decorator annotation punctuation\">&#064;tool<\/span><br \/>\n<span class=\"token keyword\">def<\/span> <span class=\"token function\">get_exchange_rate<\/span><span class=\"token punctuation\">(<\/span>base<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> target<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">float<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;Get real-time exchange rate between two currencies.&#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token comment\"># \u6a21\u62df API \u8c03\u7528&#xff0c;\u5b9e\u9645\u9879\u76ee\u4e2d\u8bf7\u66ff\u6362\u4e3a\u771f\u5b9e\u63a5\u53e3<\/span><br \/>\n    mock_rates <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;USD&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">1.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;EUR&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.85<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;CNY&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">7.2<\/span><span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> base <span class=\"token keyword\">not<\/span> <span class=\"token keyword\">in<\/span> mock_rates <span class=\"token keyword\">or<\/span> target <span class=\"token keyword\">not<\/span> <span class=\"token keyword\">in<\/span> mock_rates<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token number\">0.0<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> mock_rates<span class=\"token punctuation\">[<\/span>target<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> mock_rates<span class=\"token punctuation\">[<\/span>base<span class=\"token punctuation\">]<\/span><\/p>\n<p><span class=\"token comment\"># \u5c06\u5de5\u5177\u7ed1\u5b9a\u5230\u667a\u80fd\u4f53<\/span><br \/>\nfinance_agent <span class=\"token operator\">&#061;<\/span> Agent<span class=\"token punctuation\">(<\/span><br \/>\n    name<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;FinanceBot&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    role<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Financial Advisor&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    tools<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span>get_exchange_rate<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    system_prompt<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;You are a financial advisor. Use tools to get accurate rates before answering.&#034;<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u5f53\u7528\u6237\u8be2\u95ee&#034;100 \u7f8e\u5143\u7b49\u4e8e\u591a\u5c11\u4eba\u6c11\u5e01\u201d\u65f6&#xff0c;FinanceBot \u4f1a\u81ea\u52a8\u751f\u6210\u8c03\u7528 get_exchange_rate \u7684\u53c2\u6570&#xff0c;\u6267\u884c\u51fd\u6570\u83b7\u5f97\u7ed3\u679c&#xff0c;\u518d\u5c06\u7ed3\u679c\u878d\u5165\u81ea\u7136\u8bed\u8a00\u56de\u590d\u4e2d\u3002\u8fd9\u79cd\u673a\u5236\u6781\u5927\u5730\u6269\u5c55\u4e86\u667a\u80fd\u4f53\u7684\u80fd\u529b\u8fb9\u754c&#xff0c;\u4f7f\u5176\u4ece\u5355\u7eaf\u7684\u804a\u5929\u673a\u5668\u4eba\u8f6c\u53d8\u4e3a\u53ef\u6267\u884c\u4efb\u52a1\u7684\u81ea\u52a8\u5316\u4ee3\u7406\u3002<\/p>\n<h3>\u2466 \u4efb\u52a1\u6267\u884c\u76d1\u63a7\u4e0e\u65e5\u5fd7\u8c03\u8bd5\u6280\u5de7<\/h3>\n<p>\u968f\u7740\u667a\u80fd\u4f53\u6570\u91cf\u589e\u52a0&#xff0c;\u4ea4\u4e92\u903b\u8f91\u53d8\u5f97\u590d\u6742&#xff0c;\u8c03\u8bd5\u96be\u5ea6\u4e5f\u968f\u4e4b\u4e0a\u5347\u3002\u6709\u6548\u7684\u76d1\u63a7\u548c\u65e5\u5fd7\u7b56\u7565\u662f\u4fdd\u969c\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u884c\u7684\u5173\u952e\u3002\u5efa\u8bae\u5728\u6bcf\u4e2a\u5173\u952e\u8282\u70b9\u63d2\u5165\u7ed3\u6784\u5316\u65e5\u5fd7&#xff0c;\u8bb0\u5f55\u6d88\u606f\u7684\u53d1\u9001\u8005\u3001\u63a5\u6536\u8005\u3001\u65f6\u95f4\u6233\u4ee5\u53ca\u5185\u5bb9\u6458\u8981\u3002<\/p>\n<p>\u9664\u4e86\u4f20\u7edf\u7684\u6587\u4ef6\u65e5\u5fd7&#xff0c;\u8fd8\u53ef\u4ee5\u5229\u7528\u56de\u8c03\u51fd\u6570&#xff08;Callback&#xff09;\u5b9e\u65f6\u76d1\u63a7\u72b6\u6001\u53d8\u5316\u3002\u4f8b\u5982&#xff0c;\u6bcf\u5f53\u4e00\u4e2a\u667a\u80fd\u4f53\u5b8c\u6210\u601d\u8003\u6216\u8c03\u7528\u5de5\u5177\u65f6&#xff0c;\u89e6\u53d1\u4e00\u4e2a\u56de\u8c03\u6253\u5370\u5f53\u524d\u8fdb\u5ea6\u3002\u8fd9\u5bf9\u4e8e\u957f\u8017\u65f6\u4efb\u52a1\u5c24\u4e3a\u91cd\u8981&#xff0c;\u80fd\u8ba9\u5f00\u53d1\u8005\u76f4\u89c2\u770b\u5230\u7cfb\u7edf\u201c\u5361\u201d\u5728\u54ea\u4e00\u6b65\u3002<\/p>\n<p>\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d&#xff0c;\u91cd\u70b9\u5173\u6ce8\u201c\u4e0a\u4e0b\u6587\u6ea2\u51fa\u201d\u95ee\u9898\u3002\u591a\u8f6e\u5bf9\u8bdd\u4f1a\u5bfc\u81f4 Token \u6d88\u8017\u8fc5\u901f\u589e\u52a0&#xff0c;\u4e00\u65e6\u8d85\u8fc7\u6a21\u578b\u4e0a\u9650&#xff0c;\u65e9\u671f\u7684\u91cd\u8981\u4fe1\u606f\u4f1a\u88ab\u622a\u65ad\u3002\u901a\u8fc7\u5728\u65e5\u5fd7\u4e2d\u76d1\u63a7\u6bcf\u8f6e\u5bf9\u8bdd\u7684 Token \u7528\u91cf&#xff0c;\u53ef\u4ee5\u53ca\u65f6\u53d1\u73b0\u5e76\u4f18\u5316\u4e0a\u4e0b\u6587\u7ba1\u7406\u7b56\u7565&#xff0c;\u6bd4\u5982\u5b9a\u671f\u603b\u7ed3\u5386\u53f2\u5bf9\u8bdd\u6216\u5254\u9664\u65e0\u5173\u4fe1\u606f\u3002<\/p>\n<h3>\u2467 \u5e38\u89c1\u542f\u52a8\u62a5\u9519\u4e0e\u73af\u5883\u51b2\u7a81\u6392\u67e5<\/h3>\n<p>\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d&#xff0c;\u5f00\u53d1\u8005\u5e38\u9047\u5230\u51e0\u7c7b\u5178\u578b\u9519\u8bef\u3002\u9996\u5148\u662f APIKeyError&#xff0c;\u8fd9\u901a\u5e38\u662f\u56e0\u4e3a\u73af\u5883\u53d8\u91cf\u672a\u6b63\u786e\u52a0\u8f7d\u6216\u5bc6\u94a5\u683c\u5f0f\u6709\u8bef\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u68c0\u67e5 .env \u6587\u4ef6\u8def\u5f84\u662f\u5426\u6b63\u786e&#xff0c;\u5e76\u786e\u8ba4\u5bc6\u94a5\u524d\u540e\u65e0\u591a\u4f59\u7a7a\u683c\u3002<\/p>\n<p>\u5176\u6b21\u662f ContextLengthExceeded \u9519\u8bef\u3002\u5f53\u591a\u667a\u80fd\u4f53\u5bf9\u8bdd\u8f6e\u6b21\u8fc7\u591a&#xff0c;\u7d2f\u79ef\u7684\u4e0a\u4e0b\u6587\u8d85\u51fa\u6a21\u578b\u9650\u5236\u65f6\u4f1a\u89e6\u53d1\u6b64\u9519\u3002\u5e94\u5bf9\u7b56\u7565\u662f\u5728\u4ee3\u7801\u903b\u8f91\u4e2d\u52a0\u5165\u81ea\u52a8 summarization&#xff08;\u603b\u7ed3&#xff09;\u673a\u5236&#xff0c;\u5f53\u68c0\u6d4b\u5230 Token \u6570\u63a5\u8fd1\u9608\u503c\u65f6&#xff0c;\u8c03\u7528\u6a21\u578b\u5c06\u4e4b\u524d\u7684\u5bf9\u8bdd\u538b\u7f29\u6210\u4e00\u6bb5\u7b80\u77ed\u6458\u8981&#xff0c;\u66ff\u6362\u6389\u5197\u957f\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u5e38\u89c1\u60c5\u51b5\u662f\u4f9d\u8d56\u5e93\u7248\u672c\u51b2\u7a81&#xff0c;\u7279\u522b\u662f\u5728\u540c\u65f6\u4f7f\u7528\u591a\u4e2a AI \u76f8\u5173\u5e93\u65f6\u3002\u5982\u679c\u9047\u5230 ImportError \u6216\u5c5e\u6027\u7f3a\u5931&#xff0c;\u5efa\u8bae\u4f7f\u7528 pip freeze \u68c0\u67e5\u5f53\u524d\u73af\u5883&#xff0c;\u5e76\u5229\u7528 requirements.txt \u9501\u5b9a\u786e\u5207\u7248\u672c\u3002\u5728\u5bb9\u5668\u5316\u90e8\u7f72&#xff08;\u5982 Docker&#xff09;\u4e2d\u7edf\u4e00\u73af\u5883\u662f\u5f7b\u5e95\u89e3\u51b3\u6b64\u7c7b\u95ee\u9898\u7684\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n<h3>\u2468 \u6027\u80fd\u4f18\u5316\u7b56\u7565\u4e0e\u8d44\u6e90\u5360\u7528\u63a7\u5236<\/h3>\n<p>\u4e3a\u4e86\u63d0\u5347\u7cfb\u7edf\u54cd\u5e94\u901f\u5ea6\u5e76\u964d\u4f4e\u6210\u672c&#xff0c;\u6027\u80fd\u4f18\u5316\u5fc5\u4e0d\u53ef\u5c11\u3002\u6700\u76f4\u63a5\u7684\u7b56\u7565\u662f\u5b9e\u65bd\u201c\u61d2\u52a0\u8f7d\u201d\u548c\u201c\u6309\u9700\u6fc0\u6d3b\u201d\u3002\u5e76\u975e\u6240\u6709\u667a\u80fd\u4f53\u90fd\u9700\u8981\u5728\u6240\u6709\u65f6\u95f4\u5728\u7ebf&#xff0c;\u53ef\u4ee5\u6839\u636e\u4efb\u52a1\u7c7b\u578b\u52a8\u6001\u52a0\u8f7d\u76f8\u5e94\u7684\u667a\u80fd\u4f53\u5b9e\u4f8b&#xff0c;\u91ca\u653e\u95f2\u7f6e\u8d44\u6e90\u3002<\/p>\n<p>\u5728\u7f51\u7edc\u5c42\u9762&#xff0c;\u542f\u7528\u8fde\u63a5\u6c60&#xff08;Connection Pooling&#xff09;\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u9891\u7e41\u5efa\u7acb TCP \u8fde\u63a5\u7684\u5f00\u9500\u3002\u5bf9\u4e8e\u9ad8\u9891\u8c03\u7528\u7684\u5916\u90e8 API&#xff0c;\u5f15\u5165\u672c\u5730\u7f13\u5b58\u673a\u5236&#xff08;\u5982 Redis \u6216\u5185\u5b58\u5b57\u5178&#xff09;\u4e5f\u662f\u660e\u667a\u4e4b\u4e3e\u3002\u5982\u679c\u540c\u4e00\u4e2a\u95ee\u9898\u5728\u77ed\u65f6\u95f4\u5185\u88ab\u591a\u6b21\u8be2\u95ee&#xff0c;\u76f4\u63a5\u8fd4\u56de\u7f13\u5b58\u7ed3\u679c\u800c\u975e\u91cd\u65b0\u8c03\u7528\u5927\u6a21\u578b&#xff0c;\u65e2\u80fd\u964d\u4f4e\u5ef6\u8fdf\u53c8\u80fd\u8282\u7701 Token\u3002<\/p>\n<p>\u6b64\u5916&#xff0c;\u9488\u5bf9\u8ba1\u7b97\u5bc6\u96c6\u578b\u4efb\u52a1&#xff08;\u5982\u4ee3\u7801\u89e3\u91ca\u5668&#xff09;&#xff0c;\u53ef\u4ee5\u5c06\u6267\u884c\u8fc7\u7a0b\u5265\u79bb\u5230\u72ec\u7acb\u7684\u6c99\u7bb1\u73af\u5883\u4e2d\u5f02\u6b65\u8fd0\u884c&#xff0c;\u907f\u514d\u963b\u585e\u4e3b\u7ebf\u7a0b\u3002\u901a\u8fc7\u5408\u7406\u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f4\u548c\u91cd\u8bd5\u9000\u907f\u7b97\u6cd5&#xff0c;\u7cfb\u7edf\u80fd\u5728\u90e8\u5206\u670d\u52a1\u4e0d\u7a33\u5b9a\u7684\u60c5\u51b5\u4e0b\u4fdd\u6301\u6574\u4f53\u53ef\u7528\u6027&#xff0c;\u5b9e\u73b0\u8d44\u6e90\u5360\u7528\u7684\u7cbe\u7ec6\u5316\u63a7\u5236\u3002<\/p>\n<h3>\u2469 \u5178\u578b\u4e1a\u52a1\u573a\u666f\u843d\u5730\u6848\u4f8b\u590d\u76d8<\/h3>\n<p>\u6700\u540e&#xff0c;\u8ba9\u6211\u4eec\u56de\u987e\u4e00\u4e2a\u771f\u5b9e\u7684\u843d\u5730\u6848\u4f8b&#xff1a;\u81ea\u52a8\u5316\u5ba2\u6237\u6280\u672f\u652f\u6301\u7cfb\u7edf\u3002\u5728\u8be5\u573a\u666f\u4e2d&#xff0c;\u6211\u4eec\u90e8\u7f72\u4e86\u4e09\u4e2a\u667a\u80fd\u4f53&#xff1a;\u4e00\u4e2a\u662f\u201c\u5206\u7c7b\u5458\u201d&#xff0c;\u8d1f\u8d23\u5206\u6790\u7528\u6237\u95ee\u9898\u5e76\u5c06\u5176\u5f52\u7c7b\u4e3a\u201c\u9000\u6b3e\u201d\u3001\u201c\u6280\u672f\u6545\u969c\u201d\u6216\u201c\u4ea7\u54c1\u54a8\u8be2\u201d&#xff1b;\u7b2c\u4e8c\u4e2a\u662f\u201c\u89e3\u51b3\u4e13\u5bb6\u201d&#xff0c;\u9488\u5bf9\u5177\u4f53\u7c7b\u522b\u8c03\u7528\u77e5\u8bc6\u5e93\u6216\u5de5\u5177\u7ed9\u51fa\u65b9\u6848&#xff1b;\u7b2c\u4e09\u4e2a\u662f\u201c\u8d28\u68c0\u5458\u201d&#xff0c;\u5728\u56de\u590d\u53d1\u9001\u7ed9\u7528\u6237\u524d\u5ba1\u67e5\u5185\u5bb9\u7684\u51c6\u786e\u6027\u548c\u8bed\u6c14\u53cb\u597d\u5ea6\u3002<\/p>\n<p>\u5b9e\u65bd\u521d\u671f&#xff0c;\u7cfb\u7edf\u5e38\u51fa\u73b0\u201c\u5206\u7c7b\u5458\u201d\u8bef\u5224\u5bfc\u81f4\u540e\u7eed\u6d41\u7a0b\u9519\u4f4d\u7684\u95ee\u9898\u3002\u901a\u8fc7\u6536\u96c6\u9519\u8bef\u6848\u4f8b\u5e76\u5fae\u8c03\u201c\u5206\u7c7b\u5458\u201d\u7684\u7cfb\u7edf\u63d0\u793a\u8bcd&#xff0c;\u589e\u52a0 Few-Shot&#xff08;\u5c11\u6837\u672c&#xff09;\u793a\u4f8b&#xff0c;\u51c6\u786e\u7387\u5728\u4e24\u5468\u5185\u4ece 75% \u63d0\u5347\u81f3 92%\u3002\u540c\u65f6&#xff0c;\u5f15\u5165\u201c\u8d28\u68c0\u5458\u201d\u6709\u6548\u62e6\u622a\u4e86\u7ea6 5% \u7684\u5e7b\u89c9\u56de\u590d&#xff0c;\u907f\u514d\u4e86\u6f5c\u5728\u7684\u5ba2\u8bc9\u98ce\u9669\u3002<\/p>\n<p>\u8fd9\u4e2a\u6848\u4f8b\u8868\u660e&#xff0c;\u591a\u667a\u80fd\u4f53\u7cfb\u7edf\u5e76\u975e\u4e00\u52b3\u6c38\u9038&#xff0c;\u5b83\u9700\u8981\u4e00\u4e2a\u6301\u7eed\u7684\u8fed\u4ee3\u4f18\u5316\u8fc7\u7a0b\u3002\u901a\u8fc7\u660e\u786e\u7684\u89d2\u8272\u5206\u5de5\u3001\u4e25\u8c28\u7684\u6d41\u7a0b\u63a7\u5236\u4ee5\u53ca\u57fa\u4e8e\u771f\u5b9e\u53cd\u9988\u7684\u5fae\u8c03&#xff0c;\u6211\u4eec\u5b8c\u5168\u6709\u80fd\u529b\u6784\u5efa\u51fa\u65e2\u667a\u80fd\u53c8\u53ef\u9760\u7684\u81ea\u52a8\u5316\u4e1a\u52a1\u7cfb\u7edf&#xff0c;\u771f\u6b63\u91ca\u653e\u4eba\u5de5\u667a\u80fd\u7684\u751f\u4ea7\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5f00\u53d1\u590d\u6742\u5e94\u7528\u65f6&#xff0c;\u6211\u4eec\u5e38\u5e38\u9047\u5230\u5355\u4e00\u6a21\u578b\u96be\u4ee5\u517c\u987e\u5168\u5c40\u89c4\u5212\u4e0e\u7ec6\u8282\u6267\u884c\u7684\u56f0\u5883\u3002\u6709\u65f6\u5019&#xff0c;\u6a21\u578b\u64c5\u957f\u521b\u610f\u751f\u6210\u5374\u5728\u903b\u8f91\u63a8\u7406\u4e0a\u7a0d\u663e\u5403\u529b&#xff0c;\u6216\u8005\u7cbe\u4e8e\u4ee3\u7801\u7f16\u5199\u5374\u7f3a\u4e4f\u5bf9\u4e1a\u52a1\u4e0a\u4e0b\u6587\u7684\u6df1\u523b\u7406\u89e3\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u67b6\u6784\u5e94\u8fd0\u800c\u751f&#xff0c;\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u5927\u4efb\u52a1\u62c6\u89e3&#xff0c;\u7531\u591a\u4e2a\u5177\u5907\u4e0d\u540c\u4e13\u957f\u7684\u201c\u89d2\u8272\u201d\u5171\u540c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0d\u4ec5\u63d0\u5347\u4e86\u4efb\u52a1\u5904\u7406\u7684\u51c6\u786e\u7387&#xff0c;\u8fd8\u8ba9\u7cfb\u7edf\u5177\u5907\u4e86\u66f4\u5f3a\u7684\u53ef\u6269\u5c55\u6027\u548c\u5bb9\u9519\u80fd\u529b\u3002<br \/>\n\u5bf9\u4e8e\u8bb8\u591a\u5f00\u53d1\u8005\u800c\u8a00&amp;#xff0c<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[74,66],"topic":[],"class_list":["post-92649","post","type-post","status-publish","format-standard","hentry","category-server","tag-agent","tag-ai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/92649.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u5f00\u53d1\u590d\u6742\u5e94\u7528\u65f6&#xff0c;\u6211\u4eec\u5e38\u5e38\u9047\u5230\u5355\u4e00\u6a21\u578b\u96be\u4ee5\u517c\u987e\u5168\u5c40\u89c4\u5212\u4e0e\u7ec6\u8282\u6267\u884c\u7684\u56f0\u5883\u3002\u6709\u65f6\u5019&#xff0c;\u6a21\u578b\u64c5\u957f\u521b\u610f\u751f\u6210\u5374\u5728\u903b\u8f91\u63a8\u7406\u4e0a\u7a0d\u663e\u5403\u529b&#xff0c;\u6216\u8005\u7cbe\u4e8e\u4ee3\u7801\u7f16\u5199\u5374\u7f3a\u4e4f\u5bf9\u4e1a\u52a1\u4e0a\u4e0b\u6587\u7684\u6df1\u523b\u7406\u89e3\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u67b6\u6784\u5e94\u8fd0\u800c\u751f&#xff0c;\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u5927\u4efb\u52a1\u62c6\u89e3&#xff0c;\u7531\u591a\u4e2a\u5177\u5907\u4e0d\u540c\u4e13\u957f\u7684\u201c\u89d2\u8272\u201d\u5171\u540c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0d\u4ec5\u63d0\u5347\u4e86\u4efb\u52a1\u5904\u7406\u7684\u51c6\u786e\u7387&#xff0c;\u8fd8\u8ba9\u7cfb\u7edf\u5177\u5907\u4e86\u66f4\u5f3a\u7684\u53ef\u6269\u5c55\u6027\u548c\u5bb9\u9519\u80fd\u529b\u3002 \u5bf9\u4e8e\u8bb8\u591a\u5f00\u53d1\u8005\u800c\u8a00&amp;#xff0c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92649.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-10T12:32:43+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92649.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92649.html\",\"name\":\"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-10T12:32:43+00:00\",\"dateModified\":\"2026-08-10T12:32:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92649.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92649.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92649.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/92649.html","og_locale":"zh_CN","og_type":"article","og_title":"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u5f00\u53d1\u590d\u6742\u5e94\u7528\u65f6&#xff0c;\u6211\u4eec\u5e38\u5e38\u9047\u5230\u5355\u4e00\u6a21\u578b\u96be\u4ee5\u517c\u987e\u5168\u5c40\u89c4\u5212\u4e0e\u7ec6\u8282\u6267\u884c\u7684\u56f0\u5883\u3002\u6709\u65f6\u5019&#xff0c;\u6a21\u578b\u64c5\u957f\u521b\u610f\u751f\u6210\u5374\u5728\u903b\u8f91\u63a8\u7406\u4e0a\u7a0d\u663e\u5403\u529b&#xff0c;\u6216\u8005\u7cbe\u4e8e\u4ee3\u7801\u7f16\u5199\u5374\u7f3a\u4e4f\u5bf9\u4e1a\u52a1\u4e0a\u4e0b\u6587\u7684\u6df1\u523b\u7406\u89e3\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u67b6\u6784\u5e94\u8fd0\u800c\u751f&#xff0c;\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u5927\u4efb\u52a1\u62c6\u89e3&#xff0c;\u7531\u591a\u4e2a\u5177\u5907\u4e0d\u540c\u4e13\u957f\u7684\u201c\u89d2\u8272\u201d\u5171\u540c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0d\u4ec5\u63d0\u5347\u4e86\u4efb\u52a1\u5904\u7406\u7684\u51c6\u786e\u7387&#xff0c;\u8fd8\u8ba9\u7cfb\u7edf\u5177\u5907\u4e86\u66f4\u5f3a\u7684\u53ef\u6269\u5c55\u6027\u548c\u5bb9\u9519\u80fd\u529b\u3002 \u5bf9\u4e8e\u8bb8\u591a\u5f00\u53d1\u8005\u800c\u8a00&amp;#xff0c","og_url":"https:\/\/www.wsisp.com\/helps\/92649.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-10T12:32:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92649.html","url":"https:\/\/www.wsisp.com\/helps\/92649.html","name":"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-10T12:32:43+00:00","dateModified":"2026-08-10T12:32:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92649.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92649.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92649.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Agency-Agents \u667a\u80fd\u4f53\u7cfb\u7edf\u4ece\u96f6\u642d\u5efa\u5b9e\u6218\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=92649"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92649\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92649"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}