{"id":5657,"date":"2025-08-16T14:20:07","date_gmt":"2025-08-16T06:20:07","guid":{"rendered":"http:\/\/xinblog.ltd\/?p=5657"},"modified":"2025-08-18T15:03:44","modified_gmt":"2025-08-18T07:03:44","slug":"2-fastgpt%e4%b8%ad%e7%9a%84%e5%b7%a5%e4%bd%9c%e6%b5%81","status":"publish","type":"post","link":"http:\/\/xinblog.ltd\/?p=5657","title":{"rendered":"2.FastGPT\u4e2d\u7684\u5de5\u4f5c\u6d41"},"content":{"rendered":"<p>2. FastGPT\u4e2d\u7684\u5de5\u4f5c\u6d41<\/p>\n<p>\u90a3\u4e48\u8fd9\u4e00\u7ae0\u662f\u5bf9\u4e0a\u4e00\u7ae0\u7684\u4e00\u4e2a\u5ef6\u7eed<\/p>\n<p>\u4e3b\u8981\u662f\u8bf4\u660e\u5728Dify\u548cFastGPT\u4e4b\u95f4\u7684\u5de5\u4f5c\u6d41\u7f16\u6392\u7684\u533a\u522b\u3002<\/p>\n<p>\u5728FastGPT\u4e4b\u4e2d\uff0c\u4ecd\u7136\u5177\u6709\u76f4\u63a5\u521b\u5efa\u673a\u5668\u4eba\u548c\u5de5\u4f5c\u6d41\u4e24\u79cd\u65b9\u5f0f<\/p>\n<p>\u5bf9\u4e8e\u5de5\u4f5c\u6d41\u7684\u8bdd\uff0c\u4f7f\u7528\u8d77\u6765\u548cDify\u5927\u81f4\u76f8\u4f3c\u3002\u53ea\u662f\u7f16\u6392\u7684\u5f62\u5f0f\u4e0d\u4e00\u6837\u3002<\/p>\n<p>\u5177\u6709\u4e00\u4e2a\u989d\u5916\u7684\u7cfb\u7edf\u914d\u7f6e\u8282\u70b9\uff0c\u53ef\u4ee5\u5728\u8fd9\u4e2a\u914d\u7f6e\u8282\u70b9\u4e2d\u914d\u7f6e\u6574\u4e2a\u5de5\u4f5c\u6d41\u7684\u8be6\u60c5\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"190\" height=\"245\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-3.png\" class=\"wp-image-5658\" \/><\/p>\n<p>\u5176\u8282\u70b9\u548c\u8282\u70b9\u7684\u914d\u7f6e\u65b9\u5f0f\u4e5f\u662f\u7c7b\u4f3c\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u662f\u4e24\u8005\u4e4b\u95f4\u7684\u8be6\u7ec6\u8282\u70b9\u5bf9\u6bd4<\/p>\n<ol>\n<li>\n  \u5bf9\u4e8eAI\u5bf9\u8bdd\u8282\u70b9\uff0c\u57fa\u672c\u76f8\u540c<\/li>\n<\/ol>\n<p>\u540c\u6837\u652f\u6301\u4e66\u5199\u63d0\u793a\u8bcd\uff0c\u5f53\u4e2d\u63d2\u5165\u53d8\u91cf\uff0c\u8bbe\u7f6e\u77e5\u8bc6\u5e93\u5f15\u7528\u3002<\/p>\n<ol>\n<li>\n  \u5bf9\u4e8e\u77e5\u8bc6\u5e93\u96c6\u6210\uff0c\u63d0\u4f9b\u4e86\u66f4\u5f3a\u7684\u80fd\u529b<\/li>\n<\/ol>\n<p>\u9996\u5148\u6700\u76f4\u89c2\u7684\u5c31\u662f\u652f\u6301\u914d\u7f6e\u95ee\u9898\u4f18\u5316<\/p>\n<p>\u56e0\u4e3a\u5f88\u591a\u7528\u6237\u7684\u95ee\u9898\u5f80\u5f80\u8868\u8fbe\u6027\u4e0d\u597d,\u56e0\u6b64\u5f15\u5165\u4e00\u4e2a\u5927\u6a21\u578b\u8fdb\u884c\u95ee\u9898\u4f18\u5316\u662f\u6709\u5fc5\u8981\u7684<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"654\" height=\"565\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-4.png\" class=\"wp-image-5659\" srcset=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-4.png 654w, http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-4-300x259.png 300w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/p>\n<ol>\n<li>\n  \u5de5\u5177\u8c03\u7528\u8282\u70b9<\/li>\n<\/ol>\n<p>\u5bf9\u4e8eFastGPT\u4e2d\u7684\u5de5\u5177\u8c03\u7528\uff0c\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u642d\u914d\u8282\u70b9\uff0c\u5373\u5de5\u5177\u8c03\u7528\u7ec8\u6b62\u8282\u70b9\u3002<\/p>\n<p>\u53ef\u4ee5\u7ed3\u675f\u672c\u6b21\u8c03\u7528\uff0c\u63a5\u5728\u67d0\u4e2a\u5de5\u5177\u540e\uff0c\u5f53\u5de5\u4f5c\u6d41\u6267\u884c\u5230\u8fd9\u4e2a\u8282\u70b9\u7684\u65f6\u5019\uff0c\u4f1a\u76f4\u63a5\u7ed3\u675f\u8fd9\u4e2a\u5de5\u5177\u8c03\u7528\uff0c<\/p>\n<p>\u81ea\u5b9a\u4e49\u5de5\u5177\u53d8\u91cf\uff0c\u4e5f\u5c31\u662f\u9884\u8bbe\u53d8\u91cf\uff0c\u65b9\u4fbf\u5de5\u5177\u7684\u4f7f\u7528\u3002<\/p>\n<ol>\n<li>\n  \u95ee\u9898\u5206\u7c7b\u8282\u70b9<\/li>\n<\/ol>\n<p>\u5728\u8fd9\u4e2a\u8282\u70b9\u4e2d\uff0c\u989d\u5916\u63d0\u4f9b\u4e86\u80cc\u666f\u77e5\u8bc6\u8fd9\u4e2a\u6982\u5ff5<\/p>\n<p>\u4e5f\u5c31\u662f\u5728\u8ba9LLM\u8fdb\u884c\u95ee\u9898\u5206\u7c7b\u7684\u540c\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u9605\u8bfb\u80cc\u666f\u77e5\u8bc6\u6765\u589e\u5f3a\u9009\u62e9\u3002<\/p>\n<ol>\n<li>\n  \u6587\u672c\u5185\u5bb9\u63d0\u53d6<\/li>\n<\/ol>\n<p>\u5b98\u65b9\u63d0\u4f9b\u7684\u4e00\u4e2a\u53d8\u91cf\u63d0\u53d6\u5668\uff0c\u53ef\u4ee5\u548c\u53d8\u91cf\u66f4\u65b0\u8282\u70b9\u914d\u5408\u4f7f\u7528<\/p>\n<p>\u901a\u8fc7\u58f0\u660e\u76ee\u6807\u5b57\u6bb5\u6765\u8fdb\u884c\u63d0\u53d6\u5b57\u6bb5<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"437\" height=\"728\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-5.png\" class=\"wp-image-5660\" srcset=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-5.png 437w, http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-5-180x300.png 180w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u5224\u65ad\u6765\u51b3\u5b9a\u662f\u5426\u5f00\u542f\u4e0b\u4e00\u9636\u6bb5\u3002<\/p>\n<p>\u53d8\u91cf\u8282\u70b9\u5982\u4e0b<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"599\" height=\"443\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-6.png\" class=\"wp-image-5661\" srcset=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-6.png 599w, http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-6-300x222.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>\u9009\u62e9\u4e00\u4e2a\u5f15\u7528\u53d8\u91cf\uff0c\u5e76\u8bbe\u7f6e\u5176\u7684\u65b0\u503c\u3002<\/p>\n<ol>\n<li>\n  \u7528\u6237\u4ea4\u4e92<\/li>\n<\/ol>\n<p>\u5728FastGPT\u4e2d\uff0c\u63d0\u4f9b\u4e86\u4e24\u79cd\u7528\u6237\u4ea4\u4e92\u65b9\u5f0f\uff0c\u4e00\u79cd\u662f\u7528\u6237\u7684\u9009\u62e9\uff0c\u4e00\u79cd\u662f\u7528\u6237\u7684\u8f93\u5165<\/p>\n<p>\u5bf9\u4e8e\u7528\u6237\u7684\u9009\u62e9\uff0c\u5219\u53ef\u4ee5\u914d\u7f6e\u591a\u79cd\u9009\u9879<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"664\" height=\"703\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-7.png\" class=\"wp-image-5662\" srcset=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-7.png 664w, http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-7-283x300.png 283w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/p>\n<p>\u7531\u7528\u6237\u9009\u62e9\u83b7\u5f97\u4e0b\u6587\u53d8\u91cf<\/p>\n<p>\u9664\u6b64\u5916\u5c31\u662f\u8868\u5355\u8f93\u5165<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"549\" height=\"599\" src=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-8.png\" class=\"wp-image-5663\" srcset=\"http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-8.png 549w, http:\/\/xinblog.ltd\/wp-content\/uploads\/2025\/05\/word-image-8-275x300.png 275w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/p>\n<p>\u8f93\u5165\u8bf4\u660e\u6587\u5b57\uff0c\u544a\u77e5\u7528\u6237\u4e3a\u4ec0\u4e48\u9700\u8981\u586b\u5199<\/p>\n<p>\u4ee5\u53ca\u65b0\u589e\u8868\u5355\u914d\u7f6e\uff0c\u6765\u589e\u52a0\u90e8\u5206\u7684\u53c2\u6570<\/p>\n<p>\u8ba9\u7528\u6237\u9009\u62e9\u7ed9\u4e88\u4e00\u4e9b\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0c\u7c7b\u4f3cDify\u7684\u5f00\u59cb\u53d8\u91cf\uff0c\u53ea\u4e0d\u8fc7\u8fd9\u662f\u4e00\u79cd\u56fa\u5b9a\u7684\u9009\u62e9\u3002<\/p>\n<ol>\n<li>\n  \u6587\u672c\u62fc\u63a5<\/li>\n<\/ol>\n<p>\u5bf9\u67d0\u4e9b\u6587\u672c\u7c7b\u578b\u7684\u53d8\u91cf\u8fdb\u884c\u52a0\u5de5\uff0c\u8fd9\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u521b\u65b0\uff0c\u8fd9\u91cc\u53ef\u4ee5\u6ce8\u610f\uff0c\u7528\u6237\u95ee\u9898\u4e5f\u662f\u4e00\u79cd\u95ee\u9898\u7c7b\u578b\u3002<\/p>\n<ol>\n<li>\n  \u4ee3\u7801\u6267\u884c<\/li>\n<\/ol>\n<p>\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\uff0cFastGPT\u4ec5\u4ec5\u652f\u6301js\u7c7b\u578b\u7684\u4ee3\u7801\uff0c\u4f46\u662f\u56e0\u4e3a\u548cDify\u4e00\u6837\uff0c\u4ee3\u7801\u6700\u7ec8\u8fd0\u884c\u5728\u6c99\u76d2\u4e4b\u4e2d\uff0c\u65e0\u6cd5\u8fdb\u884c\u7f51\u7edc\u8bf7\u6c42\u548c\u5f02\u6b65\u64cd\u4f5c\u3002<\/p>\n<p>\u5176\u4e2d\u8f93\u5165\u7c7b\u4f3cDify\uff0c\u58f0\u660e\u53d8\u91cf\u540d\u4e00\u81f4\u5373\u53ef<\/p>\n<p>\u5bf9\u4e8e\u8f93\u51fa\uff0c\u5219\u662f\u9700\u8981\u8fd4\u56de\u4e00\u4e2aObject\u5bf9\u8c61<\/p>\n<p>\u6839\u636e\u53d8\u91cf\u540d\u6765\u83b7\u53d6\u5230object\u4e2d\u7684key<\/p>\n<ol>\n<li>\n  \u77e5\u8bc6\u5e93\u7ed3\u679c\u5408\u5e76<\/li>\n<\/ol>\n<p>\u53ef\u4ee5\u5c06\u591a\u4e2a\u77e5\u8bc6\u5e93\u7684\u7ed3\u679c\u5408\u5e76\u4e3a\u4e00\u4e2a\u7ed3\u679c\u8fdb\u884c\u8f93\u51fa\uff0c\u901a\u8fc7RRF\u8fdb\u884c\u91cd\u65b0\u6392\u5e8f\uff0c\u5e76\u4e14\u652f\u6301\u901a\u8fc7token\u6570\u91cf\u6765\u8fdb\u884c\u8fc7\u6ee4\u3002<\/p>\n<p>\u8fd9\u4e5f\u662f\u4e00\u4e2a\u975e\u5e38\u4f18\u79c0\u7684\u4f18\u5316\u70b9\u3002<\/p>\n<p>\u5bfc\u5165Gapier\u7684Agent\u5de5\u5177<\/p>\n<p>FastGPT\u652f\u6301\u5bfc\u5165\u522b\u4eba\u5f00\u53d1\u7684Agent Tools\uff0c\u4f46\u662f\u7531\u4e8e\u662f\u4f7f\u7528Function Call\u6765\u8c03\u7528\u7684\u5de5\u5177\uff0c\u56e0\u6b64\u9700\u8981\u6a21\u578b\u652f\u6301Function Call\u529f\u80fd\uff0c\u8fd9\u4e00\u70b9\u53ef\u4ee5\u5728\u6a21\u578b\u914d\u7f6e\u4e2d\u770b\u5230\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2. FastGPT\u4e2d\u7684\u5de5\u4f5c\u6d41 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/posts\/5657"}],"collection":[{"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5657"}],"version-history":[{"count":1,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/posts\/5657\/revisions"}],"predecessor-version":[{"id":5664,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=\/wp\/v2\/posts\/5657\/revisions\/5664"}],"wp:attachment":[{"href":"http:\/\/xinblog.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5657"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinblog.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}