{"id":517,"date":"2025-06-30T11:42:01","date_gmt":"2025-06-30T03:42:01","guid":{"rendered":"https:\/\/www.agidt.com\/?p=517"},"modified":"2025-10-17T13:25:59","modified_gmt":"2025-10-17T05:25:59","slug":"dify-1-5-0%ef%bc%9a%e5%8f%98%e9%87%8f%e7%9b%91%e8%a7%86%e5%99%a8%e5%8f%91%e5%b8%83%ef%bc%8c%e8%ae%a9%e5%b7%a5%e4%bd%9c%e6%b5%81%e8%b0%83%e8%af%95%e6%89%80%e8%a7%81%e5%8d%b3%e6%89%80%e5%be%97","status":"publish","type":"post","link":"https:\/\/www.agidt.com\/?p=517","title":{"rendered":"Dify 1.5.0\uff1a\u53d8\u91cf\u76d1\u89c6\u5668\u53d1\u5e03\uff0c\u8ba9\u5de5\u4f5c\u6d41\u8c03\u8bd5\u6240\u89c1\u5373\u6240\u5f97"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u5728\u6784\u5efa AI \u5e94\u7528\u65f6\uff0c\u4e00\u6761\u751f\u4ea7\u7ea7\u5de5\u4f5c\u6d41\u5f80\u5f80\u662f\u4e00\u6761\u590d\u6742\u7684\u903b\u8f91\u94fe\uff1a\u5b83\u53ef\u80fd\u59cb\u4e8e RAG \u7684\u77e5\u8bc6\u68c0\u7d22\uff0c\u7ee7\u800c\u8c03\u7528\u5de5\u5177\u83b7\u53d6\u5b9e\u65f6\u6570\u636e\uff0c\u518d\u901a\u8fc7\u4e00\u6216\u591a\u4e2a LLM \u8282\u70b9\u8fdb\u884c\u63a8\u7406\uff0c\u6700\u7ec8\u7531\u4ee3\u7801\u8282\u70b9\u6574\u5408\u8f93\u51fa\u3002<\/h1>\n\n\n\n<p>\u8fd9\u4e2a\u8fc7\u7a0b\u5f88\u5f3a\u5927\uff0c\u4f46\u4e5f\u8ba9\u8c03\u8bd5\u53d8\u5f97\u6781\u5177\u6311\u6218\u3002\u5f53\u6700\u7ec8\u7ed3\u679c\u672a\u8fbe\u9884\u671f\u65f6\uff0c\u95ee\u9898\u7a76\u7adf\u51fa\u5728\u54ea\u4e00\u73af\uff1f\u662f RAG \u68c0\u7d22\u7684\u6587\u6863\u4e0d\u76f8\u5173\uff1f\u662f\u5de5\u5177\u8fd4\u56de\u4e86\u5f02\u5e38\u6570\u636e\uff1f\u8fd8\u662f LLM \u7684\u63a8\u7406\u51fa\u73b0\u4e86\u504f\u5dee\uff1f<\/p>\n\n\n\n<p>\u5728\u4ee5\u5f80\uff0c\u6211\u4eec\u53ea\u80fd\u5728\u5de5\u4f5c\u6d41\u7684\u5165\u53e3\u8f93\u5165\uff0c\u5728\u51fa\u53e3\u7b49\u5f85\u4e00\u4e2a\u6700\u7ec8\u7ed3\u679c\uff0c\u4e2d\u95f4\u7684\u6267\u884c\u8fc7\u7a0b\u5bf9\u6211\u4eec\u800c\u8a00\u662f\u4e0d\u900f\u660e\u7684\u3002\u5b9a\u4f4d\u95ee\u9898\u4e25\u91cd\u4f9d\u8d56\u4e8e\u4e8b\u540e\u7684\u65e5\u5fd7\u5206\u6790\u548c\u53cd\u590d\u7684\u5168\u5c40\u91cd\u8bd5\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u5145\u6ee1\u4e86\u731c\u6d4b\u4e0e\u7b49\u5f85\uff0c\u65e2\u4f4e\u6548\u53c8\u5145\u6ee1\u4e0d\u786e\u5b9a\u6027\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u76f8\u4fe1\uff0c\u5f00\u53d1\u8005\u9700\u8981\u7684\u662f\u4e00\u4e2a\u9ad8\u5ea6\u900f\u660e\u3001\u53ef\u63a7\u7684\u6784\u5efa\u73af\u5883\u3002<strong>\u56e0\u6b64\uff0cdify 1.5.0 \u5e26\u6765\u4e86\u4e00\u5957\u5168\u65b0\u7684\u5de5\u4f5c\u6d41\u6784\u5efa\u4e0e\u8c03\u8bd5\u673a\u5236\uff0c\u65e8\u5728\u5c06 AI \u5e94\u7528\u6784\u5efa\u5347\u7ea7\u4e3a\u201c\u5b9e\u65f6\u8fed\u4ee3\u201d\u7684<\/strong><strong>\u4f53\u9a8c\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u75db\u70b9\u56de\u987e<\/strong><\/h2>\n\n\n\n<p>\u867d\u7136 Dify \u8fc7\u53bb\u5c31\u63d0\u4f9b\u4e86\u5355\u6b65\u6267\u884c\u529f\u80fd\uff0c\u5141\u8bb8\u4f60\u5355\u72ec\u8fd0\u884c\u548c\u6d4b\u8bd5\u67d0\u4e2a\u8282\u70b9\uff0c\u4f46\u8fd9\u79cd\u8c03\u8bd5\u65b9\u5f0f\u5b58\u5728\u7740\u660e\u663e\u7684\u5c40\u9650\u6027\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u65e0\u6cd5\u4fdd\u5b58\u8282\u70b9\u8fd0\u884c\u7ed3\u679c\uff1a<\/strong>\u00a0\u6bcf\u6b21\u5355\u6b65\u8c03\u8bd5\u540e\uff0c\u8282\u70b9\u7684\u8fd0\u884c\u7ed3\u679c\u4e0d\u4f1a\u88ab\u4fdd\u5b58\uff0c\u9000\u51fa\u8282\u70b9\u540e\u6240\u6709\u4fe1\u606f\u90fd\u4f1a\u4e22\u5931\uff1b<\/li>\n\n\n\n<li><strong>\u53d8\u91cf\u91cd\u590d\u8f93\u5165\uff1a<\/strong>\u00a0\u6bcf\u6b21\u8c03\u8bd5\u90fd\u9700\u8981\u624b\u52a8\u8f93\u5165\u8be5\u8282\u70b9\u6240\u9700\u7684\u6240\u6709\u53d8\u91cf\uff0c\u65e0\u6cd5\u590d\u7528\u5df2\u7ecf\u8fd0\u884c\u597d\u7684\u4e0a\u6e38\u8282\u70b9\u7ed3\u679c\uff1b<\/li>\n\n\n\n<li><strong>\u7f3a\u4e4f\u5168\u5c40\u89c6\u56fe\uff1a<\/strong>\u00a0\u9700\u8981\u5728\u65e5\u5fd7\u4e2d\u9010\u4e2a\u67e5\u770b\u5404\u4e2a\u8282\u70b9\u7684\u8f93\u51fa\uff0c\u65e0\u6cd5\u83b7\u5f97\u6574\u6570\u636e\u72b6\u6001\u6982\u89c8\uff1b<\/li>\n\n\n\n<li><strong>\u8c03\u8bd5\u6210\u672c\u9ad8\uff1a<\/strong>\u00a0\u4e00\u65e6\u53d1\u73b0\u95ee\u9898\uff0c\u5f80\u5f80\u9700\u8981\u91cd\u65b0\u8fd0\u884c\u6574\u6761\u5de5\u4f5c\u6d41\uff0c\u5305\u62ec\u90a3\u4e9b\u8017\u65f6\u6216\u6602\u8d35\u7684 API \u8c03\u7528\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u5f53\u6574\u4e2a\u5de5\u4f5c\u6d41\u7684\u8f93\u51fa\u6548\u679c\u4e0d\u7406\u60f3\u65f6\uff0c\u4f60\u9700\u8981\u50cf\u4fa6\u63a2\u4e00\u6837\u5728\u65e5\u5fd7\u4e2d\u7ffb\u627e\uff0c\u9010\u4e2a\u68c0\u67e5\u6bcf\u4e2a\u8282\u70b9\u7684\u8f93\u51fa\uff0c\u8bd5\u56fe\u627e\u51fa\u5230\u5e95\u662f\u54ea\u4e2a\u73af\u8282\u51fa\u4e86\u95ee\u9898\u3002\u8fd9\u79cd\u88ab\u52a8\u5f0f\u7684\u95ee\u9898\u6392\u67e5\u65b9\u5f0f\uff0c\u4e0d\u4ec5\u6548\u7387\u4f4e\u4e0b\uff0c\u66f4\u7f3a\u4e4f\u76f4\u89c2\u6027\u548c\u786e\u5b9a\u6027\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u529f\u80fd\u5347\u7ea7<\/strong><\/h2>\n\n\n\n<p>\u5728 Dify v.1.5.0 \u4e2d\uff0c\u6211\u4eec\u529b\u6c42\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u56e0\u6b64\u6253\u9020\u4e86\u4e00\u4e2a\u6240\u89c1\u5373\u6240\u5f97\u7684\u5f00\u53d1\u73af\u5883\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. \u72b6\u6001\u6682\u5b58\u4e0e\u9010\u6b65\u6267\u884c\u673a\u5236<\/strong><\/h3>\n\n\n\n<p><strong>\u4e0a\u6b21\u8fd0\u884c \uff08Last Run\uff09\uff1a<\/strong>&nbsp;\u65e0\u8bba\u4f60\u662f\u5355\u6b65\u8fd0\u884c\uff0c\u8fd8\u662f\u5b8c\u6574\u6267\u884c\u4e86\u6574\u4e2a\u5de5\u4f5c\u6d41\uff0c\u6bcf\u4e2a\u8282\u70b9\u90fd\u4f1a\u81ea\u52a8\u4fdd\u5b58\u5176\u6700\u540e\u4e00\u6b21\u6210\u529f\u8fd0\u884c\u7684\u6570\u636e\u3002\u5b83\u5305\u542b\u4e86\u8be5\u8282\u70b9\u5f53\u65f6\u63a5\u6536\u7684\u8f93\u5165\u3001\u8f93\u51fa\u4ee5\u53ca\u5143\u6570\u636e\u3002\u5b83\u5c31\u50cf\u662f\u6bcf\u4e2a\u8282\u70b9\u7684\u201c\u884c\u8f66\u8bb0\u5f55\u4eea\u201d\uff0c\u51c6\u786e\u8bb0\u5f55\u5728 draft \u7248\u672c\u4e2d\u7684\u5355\u6b65\u8c03\u8bd5\u6216\u5168\u91cf\u8fd0\u884c\u7ed3\u679c\uff0c\u4e3a\u4f60\u63d0\u4f9b\u4e86\u4e0d\u53ef\u7be1\u6539\u7684\u3001\u53ef\u4f9b\u968f\u65f6\u56de\u6eaf\u7684\u201c\u4e8b\u5b9e\u4f9d\u636e\u201d\u3002<\/p>\n\n\n\n<p><strong>\u53d8\u91cf\u590d\u7528\uff1a<\/strong><strong>&nbsp;<\/strong>\u57fa\u4e8e\u8fd9\u5957\u72b6\u6001\u6682\u5b58\u673a\u5236\uff0c\u6211\u4eec\u5b9e\u73b0\u4e86\u771f\u6b63\u7684\u9010\u6b65\u6267\u884c\u80fd\u529b\u3002\u53ea\u8981\u53d8\u91cf\u76d1\u89c6\u5668\u4e2d\u5b58\u5728\u67d0\u4e2a\u8282\u70b9\u6240\u9700\u7684\u53d8\u91cf\uff0c\u4f60\u5c31\u53ef\u4ee5\u76f4\u63a5\u5355\u6b65\u8fd0\u884c\u8be5\u8282\u70b9\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u83b7\u53d6\u4f9d\u8d56\u6570\u636e\u5e76\u5728\u6267\u884c\u540e\u66f4\u65b0\u53d8\u91cf\u76d1\u89c6\u5668\u3002 \u8fd9\u610f\u5473\u7740\u4f60\u53ef\u4ee5\u50cf\u5728 Jupyter Notebook \u4e2d\u6267\u884c\u5355\u4e2a Cell \u4e00\u6837\uff0c\u968f\u65f6\u8fd0\u884c\u5de5\u4f5c\u6d41\u4e2d\u7684\u4efb\u610f\u8282\u70b9\uff0c\u6240\u6709\u7684\u6570\u636e\u4f9d\u8d56\u5173\u7cfb\u90fd\u7531\u5de5\u4f5c\u6d41\u5904\u7406\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. \u53d8\u91cf\u76d1\u89c6\u5668<\/strong><\/h3>\n\n\n\n<p>\u6211\u4eec\u5728\u753b\u5e03\u5e95\u90e8\u65b0\u589e\u4e86\u201c\u53d8\u91cf\u76d1\u89c6\u5668\u201d\u9762\u677f\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/docs.dify.ai\/zh-hans\/guides\/workflow\/debug-and-preview\/variable-inspect\n<\/div><\/figure>\n<\/blockquote>\n\n\n\n<p>\u8fd9\u662f\u4e00\u4e2a\u5168\u5c40\u7684\u3001\u5b9e\u65f6\u7684\u72b6\u6001\u76d1\u63a7\u4e2d\u5fc3\uff0c\u5b83\u96c6\u4e2d\u5c55\u793a\u4e86\u5f53\u524d\u5de5\u4f5c\u6d41\u4e2d\u6240\u6709\u5df2\u751f\u6210\u7684\u53d8\u91cf\u53ca\u5176\u5185\u5bb9\u3002\u4f60\u518d\u4e5f\u65e0\u9700\u5728\u8282\u70b9\u7684\u8f93\u5165\u8f93\u51fa\u4e2d\u6765\u56de\u7ffb\u627e\uff0c\u6240\u6709\u6570\u636e\u72b6\u6001\u4e00\u76ee\u4e86\u7136\u3002\u66f4\u91cd\u8981\u7684\u662f\uff0c\u4f60\u53ef\u4ee5\u5728\u6b64\u76f4\u63a5\u7f16\u8f91\u5927\u591a\u6570\u53d8\u91cf\u7684\u503c\uff0c\u4ece\u800c\u5728\u4e0d\u91cd\u65b0\u8fd0\u884c\u6602\u8d35\u6216\u8017\u65f6\u7684\u4e0a\u6e38\u8282\u70b9\uff08\u5982\u590d\u6742\u7684 LLM \u8c03\u7528\u6216 API \u8bf7\u6c42\uff09\u7684\u60c5\u51b5\u4e0b\uff0c\u6a21\u62df\u4e0d\u540c\u6570\u636e\u5bf9\u4e0b\u6e38\u8282\u70b9\u7684\u5f71\u54cd\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e24\u5927\u673a\u5236\u76f8\u4e92\u914d\u5408\uff0c\u5c06\u5de5\u4f5c\u6d41\u7684\u5f00\u53d1\u6a21\u5f0f\u8f6c\u53d8\u4e3a\u66f4\u900f\u660e\u5316\u7684\u8fed\u4ee3\u3002\u6bcf\u4e2a\u8282\u70b9\u7684\u72b6\u6001\u90fd\u88ab\u5b8c\u6574\u4fdd\u5b58\u548c\u53ef\u89c6\u5316\uff0c\u6bcf\u6b21\u8c03\u8bd5\u90fd\u80fd\u7cbe\u51c6\u5b9a\u4f4d\u548c\u5feb\u901f\u9a8c\u8bc1\uff0c\u8ba9\u590d\u6742\u7684 AI \u5e94\u7528\u5f00\u53d1\u53d8\u5f97\u50cf\u642d\u79ef\u6728\u4e00\u6837\u76f4\u89c2\u548c\u53ef\u63a7\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5b9e\u6218\u573a\u666f\uff1a\u6784\u5efa\u5e76\u8c03\u8bd5\u201cAI \u6295\u7814\u52a9\u624b\u201d<\/strong><\/h2>\n\n\n\n<p>\u8ba9\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u771f\u5b9e\u7684\u4f8b\u5b50\uff0c\u611f\u53d7\u8fd9\u79cd\u65b0\u6a21\u5f0f\u7684\u5a01\u529b\u3002<\/p>\n\n\n\n<p>\u5047\u8bbe\u6211\u4eec\u8981\u6784\u5efa\u4e00\u4e2a AI \u6295\u7814\u52a9\u624b\uff0c\u5176\u5de5\u4f5c\u6d41\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5f00\u59cb \u2192 \u77e5\u8bc6\u68c0\u7d22\u8282\u70b9\u83b7\u53d6\u77e5\u8bc6\u5e93\u5185\u7684\u8d22\u62a5 &amp; Exa \u7f51\u9875\u6293\u53d6\u52a9\u624b\u83b7\u53d6\u4e92\u8054\u7f51\u4e0a\u7684\u4fe1\u606f\uff08\u5e76\u884c\uff09 \u2192 \u6a21\u677f\u8f6c\u6362\u8282\u70b9\u5408\u5e76\u5185\u5bb9 \u2192 LLM \u8282\u70b9\u5904\u7406\u4fe1\u606f \u2192 \u6700\u7ec8\u8f93\u51fa<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMm12V21pYW9rcmJ3dHlLSnRjTkQwcERDc2lieVVjS0lzclNGRHNrS251ck1FZEdyb3BScENzMklBLzY0MD93eF9mbXQ9cG5nJmFtcDtmcm9tPWFwcG1zZw==\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4e3a\u4e86\u6f14\u793a\u8c03\u8bd5\u80fd\u529b\uff0c\u6211\u4eec\u6a21\u62df\u4e00\u4e2a\u65b0\u624b\u53ef\u80fd\u9047\u5230\u7684\u573a\u666f\uff1a\u7531\u4e8e\u5bf9\u77e5\u8bc6\u68c0\u7d22\u8282\u70b9\u7684\u8f93\u51fa\u683c\u5f0f\u4e0d\u591f\u719f\u6089\uff0c\u5728\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u4e2d\u672a\u80fd\u6b63\u786e\u8f93\u5165\u77e5\u8bc6\u5e93\u7684\u5185\u5bb9\u3002\u867d\u7136\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\uff0c\u4f46\u7531\u4e8e\u7f3a\u5c11\u4e86\u77e5\u8bc6\u5e93\u7684\u5173\u952e\u4fe1\u606f\uff0c\u5bfc\u81f4 LLM \u8282\u70b9\u63a5\u6536\u5230\u7684\u8f93\u5165\u4e0d\u5b8c\u6574\uff0c\u6700\u7ec8\u8f93\u51fa\u7684\u5185\u5bb9\u8d28\u91cf\u4e0d\u591f\u7406\u60f3\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMjJpYVQ2T0k3U1QyanhhNmlhQ3hUdDVnZ3VXdE8zTlBlclRuWGxnT1d5SlRGcEZ3UFpUNTI0NEdRLzY0MD93eF9mbXQ9cG5nJmFtcDtmcm9tPWFwcG1zZw==\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u8fc7\u5f80\u8c03\u8bd5\u6d41\u7a0b<\/strong><\/h3>\n\n\n\n<p>\u5728\u8fc7\u53bb\uff0c\u5982\u679c\u53d1\u73b0\u5185\u5bb9\u8d28\u91cf\u4e0d\u591f\u7406\u60f3\uff0c\u4f60\u9700\u8981\u7ecf\u5386\u4e00\u4e2a\u7e41\u7410\u7684\u6392\u67e5\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n<p><strong>\u95ee\u9898\u5b9a\u4f4d\u9636\u6bb5\uff1a<\/strong>&nbsp;\u8fdb\u5165\u5386\u53f2\u8bb0\u5f55\u754c\u9762\u627e\u5230\u8fd0\u884c\u8bb0\u5f55\uff0c\u9010\u4e2a\u70b9\u51fb\u8282\u70b9\u67e5\u770b\u8f93\u51fa\u5185\u5bb9\uff0c\u6700\u7ec8\u53d1\u73b0\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u7684\u8f93\u51fa\u7f3a\u5c11\u4e86\u77e5\u8bc6\u5e93\u5185\u5bb9\uff08\u4f46\u8282\u70b9\u672c\u8eab\u8fd0\u884c\u6b63\u5e38\uff09\u3002<\/p>\n\n\n\n<p><strong>\u4fee\u590d\u9a8c\u8bc1\u9636\u6bb5\uff1a<\/strong>&nbsp;\u56de\u5230\u5de5\u4f5c\u6d41\u7f16\u8f91\u9875\u9762\uff0c\u4fee\u6539\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u4ee3\u7801\u540e\uff0c\u9762\u4e34\u4e24\u4e2a\u90fd\u4e0d\u7406\u60f3\u7684\u9009\u62e9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u91cd\u65b0\u8fd0\u884c\u6574\u4e2a\u5de5\u4f5c\u6d41\uff0c\u5305\u62ec\u8017\u65f6\u7684\u77e5\u8bc6\u68c0\u7d22\u8282\u70b9\u548c\u7f51\u9875\u6293\u53d6\u8282\u70b9\uff1b<\/li>\n\n\n\n<li>\u5355\u6b65\u8c03\u8bd5 LLM \u8282\u70b9\uff0c\u4f46\u9700\u8981\u624b\u52a8\u8f93\u5165\u4fee\u590d\u540e\u7684\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u8f93\u51fa\u5185\u5bb9\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u91cd\u590d\u5faa\u73af\uff1a<\/strong>&nbsp;\u5982\u679c\u6548\u679c\u4ecd\u4e0d\u6ee1\u610f\uff0c\u6574\u4e2a\u6d41\u7a0b\u9700\u8981\u53cd\u590d\u8fdb\u884c\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u8fc7\u7a0b\u4e0d\u4ec5\u6d6a\u8d39\u65f6\u95f4\uff0c\u8fd8\u4f1a\u4ea7\u751f\u4e0d\u5fc5\u8981\u7684 API \u8c03\u7528\u6210\u672c\uff0c\u7279\u522b\u662f\u5f53\u4f60\u9700\u8981\u591a\u8f6e\u8c03\u8bd5\u65f6\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5168\u65b0\u8c03\u8bd5\u6d41\u7a0b<\/strong><\/h3>\n\n\n\n<p>\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<\/p>\n\n\n\n<p><strong>1. \u8fd0\u884c\u5b8c\u6574\u5de5\u4f5c\u6d41<\/strong>\uff1a\u4e00\u952e\u8fd0\u884c\u6574\u6761\u5de5\u4f5c\u6d41\uff0c\u6240\u6709\u8282\u70b9\u7684\u6267\u884c\u7ed3\u679c\u4f1a\u81ea\u52a8\u4fdd\u5b58\u5230\u53d8\u91cf\u76d1\u89c6\u5668\u4e2d\u3002\u53d8\u91cf\u76d1\u89c6\u5668\u9762\u677f\u6e05\u6670\u5c55\u793a\u4e86\u6bcf\u4e2a\u8282\u70b9\u7684\u8f93\u51fa\u72b6\u6001\uff1b<\/p>\n\n\n\n<p><strong>2. \u5feb\u901f\u5b9a\u4f4d\u95ee\u9898<\/strong>\uff1a\u5728\u53d8\u91cf\u76d1\u89c6\u5668\u4e2d\uff0c\u4f60\u53ef\u4ee5\u76f4\u89c2\u5730\u770b\u5230 Exa \u7f51\u9875\u641c\u7d22\u8282\u70b9\u6b63\u5e38\u5de5\u4f5c\uff0c\u4f46\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u7684\u8f93\u51fa\u4e2d\u7f3a\u5c11\u4e86\u77e5\u8bc6\u5e93\u7684\u5185\u5bb9\uff1b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMndjWTZpY1l4N2lhMXVEUnI1TGUwaWIwN0ZhR2tSa1NtWk5qdGNYMFNwYlVnZGNLSHpMekZXREZJdy82NDA\/d3hfZm10PXBuZyZhbXA7ZnJvbT1hcHBtc2c=\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>3. \u7cbe\u51c6\u4fee\u590d\u914d\u7f6e\uff1a<\/strong>\u53d1\u73b0\u95ee\u9898\u540e\uff0c\u76f4\u63a5\u4fee\u590d\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u7684\u4ee3\u7801\uff0c\u786e\u4fdd\u5b83\u80fd\u6b63\u786e\u6574\u5408\u77e5\u8bc6\u5e93\u5185\u5bb9\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMmd3aWFNVzhuWmV0YXBxU2lhaGljNloyY0YzYTNKRVhUOEJVeEtLdWhMQUZUb0R6YnFGamlibUJwYncvNjQwP3d4X2ZtdD1wbmcmYW1wO2Zyb209YXBwbXNn\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>4. \u5355\u6b65\u9a8c\u8bc1<\/strong>\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5355\u6b65\u8fd0\u884c\u6a21\u677f\u8f6c\u6362\u8282\u70b9\uff1a\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u5c06\u81ea\u52a8\u4ece\u53d8\u91cf\u76d1\u89c6\u5668\u83b7\u53d6\u4e0a\u6e38\u7684\u77e5\u8bc6\u5e93\u548c\u7f51\u9875\u6570\u636e\uff0c\u4e14\u6b64\u8282\u70b9\u7684\u65b0\u8f93\u51fa\u53ef\u4ee5\u81ea\u52a8\u66f4\u65b0\u5230\u53d8\u91cf\u76d1\u89c6\u5668\u5185\uff1b<img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMjF6SU9jU1BPekhlWEdNTzVOS1BqVWhkbktnRlFmY3E2emtGeGM5RWljWDV4TlNtSm02MU9kRXcvNjQwP3d4X2ZtdD1wbmcmYW1wO2Zyb209YXBwbXNn\"><img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMmljVHBwRzcza0wzc2djRnM4bjdNUzdEaEhtVHU5SUpFVDRsa1hCcnA1Tm1FM2lhSzR3Zks0djZBLzY0MD93eF9mbXQ9cG5nJmFtcDtmcm9tPWFwcG1zZw==\"><\/li>\n\n\n\n<li>\u5355\u6b65\u8fd0\u884c LLM \u8282\u70b9\uff1aLLM \u8282\u70b9\u5c06<strong>\u81ea\u52a8\u4f7f\u7528\u66f4\u65b0\u540e\u7684\u6a21\u677f\u8f6c\u6362\u8282\u70b9\u7684\u5b8c\u6574\u8f93\u51fa\u4f5c\u4e3a\u5176\u65b0\u8f93\u5165<\/strong>\u3002\u4f60\u53ef\u4ee5\u7acb\u5373\u770b\u5230\u4f18\u5316\u6548\u679c\uff0c\u65e0\u9700\u91cd\u8dd1\u4e0a\u6e38\u8282\u70b9\u3002<img decoding=\"async\" src=\"https:\/\/api.ibos.cn\/v4\/weapparticle\/accesswximg?aid=116208&amp;url=aHR0cHM6Ly9tbWVjb2EucXBpYy5jbi9tbWVjb2FfcG5nL2Z0bm9xaGlhSFV5OERQbjEwWG5ValpnTFYxeXJ5ZmpzMnFJbVNjT01KNmQ3T2gxOVpOWjU4Mjg0VGRmbWliNVFpY1k2dnhGaWFiRkRaTDlpYkREWXVtVzZraFEvNjQwP3d4X2ZtdD1wbmcmYW1wO2Zyb209YXBwbXNn\"><\/li>\n<\/ul>\n\n\n\n<p><strong>5. \u8fed\u4ee3\u4f18\u5316<\/strong>\uff1a\u5982\u679c LLM \u8282\u70b9\u7684\u8f93\u51fa\u8fd8\u9700\u8981\u8fdb\u4e00\u6b65\u4f18\u5316\uff0c\u4f60\u8fd8\u53ef\u4ee5\u7ee7\u7eed\u8c03\u6574 LLM \u8282\u70b9\u7684 Prompt \u8bbe\u8ba1\uff0c\u8ba9\u5176\u66f4\u52a0\u5168\u9762\u3002\u6bcf\u6b21\u4fee\u6539\u540e\uff0c\u53ea\u9700\u5355\u6b65\u8fd0\u884c\u76f8\u5173\u8282\u70b9\uff0c\u51e0\u79d2\u949f\u5c31\u80fd\u770b\u5230\u6548\u679c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6548\u7387\u5bf9\u6bd4<\/strong><\/h3>\n\n\n\n<p><strong>\u4f20\u7edf\u6d41\u7a0b\uff1a<\/strong>&nbsp;\u53d1\u73b0\u95ee\u9898 \u2192 \u67e5\u627e\u5386\u53f2 \u2192 \u624b\u52a8\u8f93\u5165\u53d8\u91cf \u2192 \u5355\u6b65\u8c03\u8bd5 \u2192 \u91cd\u65b0\u914d\u7f6e \u2192 \u91cd\u8dd1\u5de5\u4f5c\u6d41 \u2192 \u9a8c\u8bc1\u6548\u679c\uff08\u53ef\u80fd\u9700\u8981\u591a\u8f6e\u5faa\u73af\uff09<\/p>\n\n\n\n<p><strong>\u4ea4\u4e92\u5f0f\u6d41\u7a0b\uff1a<\/strong>&nbsp;\u53d1\u73b0\u95ee\u9898 \u2192 \u67e5\u770b\u53d8\u91cf\u68c0\u67e5\u5668 \u2192 \u4fee\u590d\u8282\u70b9\u6216\u76f4\u63a5\u7f16\u8f91\u53d8\u91cf \u2192 \u5355\u6b65\u8fd0\u884c \u2192 \u7acb\u5373\u770b\u5230\u6548\u679c<\/p>\n\n\n\n<p>\u65f6\u95f4\u4ece\u53ef\u80fd\u7684\u6570\u5341\u5206\u949f\u7f29\u77ed\u5230\u51e0\u5206\u949f\uff0c\u6210\u672c\u548c\u6548\u7387\u63d0\u5347\u663e\u800c\u6613\u89c1\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u603b\u7ed3<\/strong><\/h2>\n\n\n\n<p>Dify 1.5.0 \u7684\u8fd9\u9879\u6838\u5fc3\u66f4\u81f4\u529b\u4e8e\u4e3a\u65e5\u76ca\u590d\u6742\u7684 AI \u5e94\u7528\u5f00\u53d1\u6d41\u7a0b\u6ce8\u5165\u66f4\u591a\u7684\u786e\u5b9a\u6027\u4e0e\u53ef\u89c2\u6d4b\u6027\u3002\u6211\u4eec\u5e0c\u671b\u901a\u8fc7\u63d0\u4f9b\u4e00\u4e2a\u5b9e\u65f6\u4ea4\u4e92\u3001\u72b6\u6001\u900f\u660e\u7684\u6784\u5efa\u73af\u5883\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u5730\u9a8c\u8bc1\u60f3\u6cd5\u3001\u66f4\u7cbe\u51c6\u5730\u5b9a\u4f4d\u95ee\u9898\u3001\u66f4\u81ea\u4fe1\u5730\u6784\u5efa\u548c\u4ea4\u4ed8\u5f3a\u5927\u800c\u53ef\u9760\u7684\u751f\u4ea7\u7ea7 AI \u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6784\u5efa AI \u5e94\u7528\u65f6\uff0c\u4e00\u6761\u751f\u4ea7\u7ea7\u5de5\u4f5c\u6d41\u5f80\u5f80\u662f\u4e00\u6761\u590d\u6742\u7684\u903b\u8f91\u94fe\uff1a\u5b83\u53ef\u80fd\u59cb\u4e8e RAG \u7684\u77e5\u8bc6\u68c0\u7d22\uff0c\u7ee7\u800c\u8c03\u7528\u5de5\u5177\u83b7\u53d6\u5b9e\u65f6\u6570\u636e\uff0c\u518d\u901a\u8fc7\u4e00\u6216\u591a\u4e2a LLM \u8282\u70b9\u8fdb\u884c\u63a8\u7406\uff0c\u6700\u7ec8\u7531\u4ee3\u7801\u8282\u70b9\u6574\u5408\u8f93\u51fa\u3002 \u8fd9\u4e2a\u8fc7\u7a0b\u5f88\u5f3a\u5927\uff0c\u4f46\u4e5f\u8ba9\u8c03\u8bd5\u53d8\u5f97\u6781\u5177\u6311\u6218\u3002\u5f53\u6700\u7ec8\u7ed3\u679c\u672a\u8fbe\u9884&#8230;<\/p>\n","protected":false},"author":1,"featured_media":710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,33,45],"tags":[],"topic":[26],"class_list":["post-517","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-self-learning","category-ai-course","category-dify-guide","topic-aigc-self-study"],"_links":{"self":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517"}],"version-history":[{"count":1,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":518,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions\/518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/media\/710"}],"wp:attachment":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}