{"id":3566,"date":"2026-08-15T18:12:14","date_gmt":"2026-08-15T10:12:14","guid":{"rendered":"https:\/\/it.zhousir.top\/geekhome\/?p=3566"},"modified":"2026-08-16T17:18:38","modified_gmt":"2026-08-16T09:18:38","slug":"ai%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%bc%80%e5%8f%91%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=3566","title":{"rendered":"AI\u5927\u6a21\u578b\u5f00\u53d1\u6307\u5357"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; background-image: linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%); background-size: 20px 20px; background-position: center center; caret-color: #000000;\" data-provider=\"WenYan\">\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">1. \u5f15\u8a00\uff1a\u4e3a\u4ec0\u4e48\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u6210\u4e3a\u5fc5\u4fee\u8bfe<\/span><\/h2>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">2023 \u5e74\uff0c\u5927\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u5b8c\u6210\u4e86\u4ece&#8221;\u5b9e\u9a8c\u5ba4\u73a9\u5177&#8221;\u5230&#8221;\u751f\u4ea7\u529b\u5de5\u5177&#8221;\u7684\u5173\u952e\u8de8\u8d8a\u3002\u5f53 ChatGPT \u7528\u4e24\u4e2a\u6708\u8fbe\u5230\u4e00\u4ebf\u7528\u6237\u65f6\uff0c\u5b83\u4e0d\u53ea\u662f\u4e00\u4e2a\u4ea7\u54c1\u73b0\u8c61\u2014\u2014\u5b83\u5ba3\u544a\u4e86\u4e00\u79cd\u5168\u65b0\u7684\u8f6f\u4ef6\u8303\u5f0f\uff1a<strong style=\"color: #4f46e5;\">\u4ee5\u81ea\u7136\u8bed\u8a00\u4e3a\u6838\u5fc3\u4ea4\u4e92\u65b9\u5f0f\u3001\u4ee5\u6a21\u578b\u63a8\u7406\u4e3a\u6838\u5fc3\u903b\u8f91\u7684\u5e94\u7528\u67b6\u6784<\/strong>\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\">\u4f20\u7edf\u5168\u6808\u5f00\u53d1\u8005\u719f\u6089\u7684\u662f&#8221;\u524d\u7aef + \u540e\u7aef + \u6570\u636e\u5e93&#8221;\u7684\u7ecf\u5178\u4e09\u5c42\u67b6\u6784\u3002\u800c\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u5728\u8fd9\u4e4b\u4e0a\u53e0\u52a0\u4e86\u4e00\u4e2a\u5168\u65b0\u7684\u7ef4\u5ea6\uff1a<strong style=\"color: #4f46e5;\">\u6a21\u578b\u5c42<\/strong>\u3002\u8fd9\u4e0d\u4ec5\u4ec5\u662f\u591a\u4e86\u4e00\u4e2a\u7ec4\u4ef6\uff0c\u800c\u662f\u6539\u53d8\u4e86\u6574\u4e2a\u7cfb\u7edf\u7684\u6784\u5efa\u903b\u8f91\u2014\u2014\u4e1a\u52a1\u903b\u8f91\u4e0d\u518d\u5b8c\u5168\u7531\u4ee3\u7801\u7f16\u5199\uff0c\u800c\u662f\u90e8\u5206\u7531\u6a21\u578b\u63a8\u7406\u751f\u6210\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\">\u8fd9\u610f\u5473\u7740\u4e00\u4e2a\u5408\u683c\u7684&#8221;\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u8005&#8221;\u9700\u8981\u540c\u65f6\u5177\u5907\u4e09\u79cd\u80fd\u529b\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u524d\u7aef\u80fd\u529b<\/strong>\uff1a\u6784\u5efa\u6d41\u7545\u7684\u5bf9\u8bdd\u5f0f\u4ea4\u4e92\u754c\u9762\uff0c\u5904\u7406\u6d41\u5f0f\u8f93\u51fa<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u540e\u7aef\u80fd\u529b<\/strong>\uff1a\u8bbe\u8ba1 API\u3001\u7ba1\u7406\u4f1a\u8bdd\u72b6\u6001\u3001\u7f16\u6392\u4e1a\u52a1\u903b\u8f91<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">AI \u5de5\u7a0b\u80fd\u529b<\/strong>\uff1a\u7406\u89e3\u6a21\u578b\u80fd\u529b\u8fb9\u754c\uff0c\u638c\u63e1 Prompt \u5de5\u7a0b\u3001RAG\u3001Agent\u3001\u5fae\u8c03\u7b49\u6280\u672f\uff0c\u80fd\u505a\u51fa\u5408\u7406\u7684\u67b6\u6784\u9009\u578b<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u672c\u6587\u5c06\u4ece\u6280\u672f\u6808\u5168\u666f\u51fa\u53d1\uff0c\u9010\u5c42\u62c6\u89e3\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u7684\u6838\u5fc3\u80fd\u529b\u6a21\u5757\uff0c\u6700\u7ec8\u843d\u5230\u5de5\u7a0b\u5316\u843d\u5730\u7684\u5b9e\u8df5\u65b9\u6cd5\u3002<\/p>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">2. \u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u7684\u6280\u672f\u6808\u5168\u666f<\/span><\/h2>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u5e94\u7528\u7684\u6280\u672f\u6808\u53ef\u4ee5\u81ea\u4e0a\u800c\u4e0b\u5206\u4e3a\u56db\u5c42\uff1a<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2026\/08\/snipaste_2026-08-16_12-07-05.jpg\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3624\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2026\/08\/snipaste_2026-08-16_12-07-05.jpg\" alt=\"\" width=\"863\" height=\"644\" srcset=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2026\/08\/snipaste_2026-08-16_12-07-05.jpg 863w, https:\/\/ai.zhousir.top\/wp-content\/uploads\/2026\/08\/snipaste_2026-08-16_12-07-05-768x573.jpg 768w\" sizes=\"(max-width: 863px) 100vw, 863px\" \/><\/a><\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">2.1 \u524d\u7aef\u5c42<\/span><\/h3>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; width: 100%; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6280\u672f\u70b9<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5bf9\u8bdd\u754c\u9762<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7c7b ChatGPT \u7684\u6d88\u606f\u6d41 UI\uff0c\u652f\u6301 Markdown \u6e32\u67d3\u3001\u4ee3\u7801\u9ad8\u4eae<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6d41\u5f0f\u8f93\u51fa<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u901a\u8fc7 SSE\uff08Server-Sent Events\uff09\u6216 WebSocket \u5b9e\u73b0\u9010\u5b57\u8f93\u51fa<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u53ef\u89c6\u5316\u4ea4\u4e92<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u56fe\u8868\u6e32\u67d3\u3001\u6587\u6863\u9884\u89c8\u3001\u5bcc\u5a92\u4f53\u5185\u5bb9\u5c55\u793a<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u72b6\u6001\u7ba1\u7406<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u4f1a\u8bdd\u5386\u53f2\u3001\u591a\u8f6e\u5bf9\u8bdd\u4e0a\u4e0b\u6587\u3001\u7528\u6237\u504f\u597d\u6301\u4e45\u5316<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u524d\u7aef\u6846\u67b6\u7684\u9009\u62e9\u6ca1\u6709\u7279\u6b8a\u9650\u5236\u2014\u2014React\u3001Vue\u3001Svelte \u5747\u53ef\u3002\u5173\u952e\u5728\u4e8e\u5bf9<strong style=\"color: #4f46e5;\">\u6d41\u5f0f\u6570\u636e<\/strong>\u7684\u5904\u7406\uff1a\u6a21\u578b\u63a8\u7406\u662f\u9010 token \u751f\u6210\u7684\uff0c\u524d\u7aef\u9700\u8981\u5b9e\u65f6\u6e32\u67d3\u8fd9\u4e9b\u589e\u91cf\u5185\u5bb9\uff0c\u540c\u65f6\u4fdd\u6301 UI \u7684\u54cd\u5e94\u6027\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">2.2 \u540e\u7aef\u5c42<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u540e\u5c42\u662f\u5927\u6a21\u578b\u5e94\u7528\u7684&#8221;\u5927\u8111&#8221;\uff0c\u627f\u62c5\u4ee5\u4e0b\u804c\u8d23\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">API \u7f51\u5173<\/strong>\uff1a\u7edf\u4e00\u5904\u7406\u6a21\u578b\u8c03\u7528\u8bf7\u6c42\uff0c\u8d1f\u8d23\u9274\u6743\u3001\u9650\u6d41\u3001\u8d1f\u8f7d\u5747\u8861<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4f1a\u8bdd\u7ba1\u7406<\/strong>\uff1a\u7ef4\u62a4\u591a\u8f6e\u5bf9\u8bdd\u7684\u4e0a\u4e0b\u6587\uff0c\u51b3\u5b9a\u4f55\u65f6\u622a\u65ad\u3001\u4f55\u65f6\u6458\u8981<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4e1a\u52a1\u903b\u8f91\u7f16\u6392<\/strong>\uff1a\u5c06\u6a21\u578b\u63a8\u7406\u4e0e\u4f20\u7edf\u4e1a\u52a1\u903b\u8f91\uff08\u6570\u636e\u5e93\u67e5\u8be2\u3001\u7b2c\u4e09\u65b9 API \u8c03\u7528\uff09\u7ec4\u5408<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5f02\u6b65\u4efb\u52a1\u8c03\u5ea6<\/strong>\uff1a\u957f\u8017\u65f6\u4efb\u52a1\uff08\u5982\u6587\u6863\u89e3\u6790\u3001\u6279\u91cf\u63a8\u7406\uff09\u7684\u961f\u5217\u7ba1\u7406<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u6280\u672f\u9009\u578b\u4e0a\uff0cPython\uff08FastAPI \/ LangChain\uff09\u56e0\u751f\u6001\u4f18\u52bf\u6210\u4e3a\u4e3b\u6d41\u9009\u62e9\uff0c\u4f46 Node.js\uff08Next.js API Routes\uff09\u3001Go\u3001Java \u540c\u6837\u53ef\u884c\u2014\u2014\u5173\u952e\u770b\u56e2\u961f\u65e2\u6709\u6280\u672f\u6808\u548c\u6027\u80fd\u9700\u6c42\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">2.3 \u6a21\u578b\u5c42<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u6a21\u578b\u5c42\u662f\u6574\u4e2a\u6280\u672f\u6808\u7684\u6838\u5fc3\uff0c\u6d89\u53ca\u4e09\u4e2a\u5173\u952e\u51b3\u7b56\uff1a<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u6a21\u578b\u9009\u578b\uff1a<\/strong><\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; width: 100%; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7c7b\u578b<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u4ee3\u8868<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u9002\u7528\u573a\u666f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u95ed\u6e90 API<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">GPT-4o\u3001Claude 3.5\u3001Gemini<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5feb\u901f\u9a8c\u8bc1\u3001\u5bf9\u8d28\u91cf\u8981\u6c42\u9ad8<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5f00\u6e90\u6a21\u578b<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">Llama 3\u3001Qwen 2\u3001DeepSeek<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6570\u636e\u9690\u79c1\u8981\u6c42\u9ad8\u3001\u9700\u672c\u5730\u90e8\u7f72<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5782\u76f4\u6a21\u578b<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">CodeLlama\u3001\u533b\u7597\/\u6cd5\u5f8b\u4e13\u7528\u6a21\u578b<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7279\u5b9a\u9886\u57df\u6df1\u5ea6\u4efb\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u63a8\u7406\u4f18\u5316\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u91cf\u5316\uff08Quantization\uff09\uff1a\u5c06 FP16 \u6a21\u578b\u538b\u7f29\u4e3a INT8\/INT4\uff0c\u964d\u4f4e\u663e\u5b58\u5360\u7528<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>KV Cache \u4f18\u5316\uff1a\u51cf\u5c11\u91cd\u590d\u8ba1\u7b97\uff0c\u52a0\u901f\u63a8\u7406<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6295\u673a\u89e3\u7801\uff08Speculative Decoding\uff09\uff1a\u7528\u5c0f\u6a21\u578b\u9884\u751f\u6210 + \u5927\u6a21\u578b\u6821\u9a8c\uff0c\u63d0\u5347\u541e\u5410<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>vLLM \/ TensorRT-LLM \u7b49\u63a8\u7406\u6846\u67b6\u7684\u9009\u62e9<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5fae\u8c03\u7b56\u7565\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>LoRA \/ QLoRA\uff1a\u4f4e\u79e9\u9002\u914d\uff0c\u7528\u6781\u5c11\u7684\u53c2\u6570\u5b9e\u73b0\u5b9a\u5236\u5316<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>SFT\uff08\u76d1\u7763\u5fae\u8c03\uff09\uff1a\u7528\u6807\u6ce8\u6570\u636e\u8c03\u6574\u6a21\u578b\u884c\u4e3a<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>RLHF \/ DPO\uff1a\u57fa\u4e8e\u4eba\u7c7b\u504f\u597d\u5bf9\u9f50\u6a21\u578b\u8f93\u51fa<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">2.4 \u6570\u636e\u5c42<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u5e94\u7528\u7684\u6570\u636e\u5c42\u6bd4\u4f20\u7edf\u5e94\u7528\u66f4\u590d\u6742\uff0c\u56e0\u4e3a\u5b83\u9700\u8981\u540c\u65f6\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\u548c\u975e\u7ed3\u6784\u5316\u77e5\u8bc6\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5411\u91cf\u6570\u636e\u5e93<\/strong>\uff1a\u5b58\u50a8\u6587\u672c\u5d4c\u5165\u5411\u91cf\uff0c\u652f\u6491\u8bed\u4e49\u68c0\u7d22\u3002\u4e3b\u6d41\u9009\u62e9\u5305\u62ec Milvus\u3001Pinecone\u3001Weaviate\u3001Qdrant\u3001Chroma<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u77e5\u8bc6\u5e93<\/strong>\uff1a\u6587\u6863\u7684\u89e3\u6790\u3001\u5207\u5206\u3001\u7d22\u5f15\u6d41\u6c34\u7ebf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4f20\u7edf\u6570\u636e\u5e93<\/strong>\uff1a\u7528\u6237\u6570\u636e\u3001\u4e1a\u52a1\u8bb0\u5f55\u3001\u4f1a\u8bdd\u65e5\u5fd7<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u7f13\u5b58\u5c42<\/strong>\uff1a\u5bf9\u9ad8\u9891\u76f8\u540c\u8bf7\u6c42\u7684\u7ed3\u679c\u7f13\u5b58\uff0c\u964d\u4f4e\u6210\u672c<\/section>\n<\/li>\n<\/ul>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">3. \u6838\u5fc3\u80fd\u529b\u6a21\u5757\u62c6\u89e3<\/span><\/h2>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">3.1 Prompt Engineering\uff1a\u63d0\u793a\u8bcd\u5de5\u7a0b<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">Prompt \u5de5\u7a0b\u662f\u4e0e\u5927\u6a21\u578b\u534f\u4f5c\u7684\u57fa\u672c\u529f\u3002\u6838\u5fc3\u539f\u5219\uff1a<\/p>\n<ol style=\"margin: 8px 0px; padding-left: 28px; list-style: outside decimal;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u89d2\u8272\u5b9a\u4e49<\/strong>\uff1a\u660e\u786e\u544a\u8bc9\u6a21\u578b\u5b83\u7684\u8eab\u4efd\u548c\u4efb\u52a1\uff08&#8221;\u4f60\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u6280\u672f\u6587\u6863\u64b0\u5199\u52a9\u624b&#8221;\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4e0a\u4e0b\u6587\u4f9b\u7ed9<\/strong>\uff1a\u63d0\u4f9b\u5145\u5206\u7684\u80cc\u666f\u4fe1\u606f\uff0c\u51cf\u5c11\u6a21\u578b\u7684&#8221;\u731c\u6d4b&#8221;<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u8f93\u51fa\u7ea6\u675f<\/strong>\uff1a\u6307\u5b9a\u8f93\u51fa\u7684\u683c\u5f0f\u3001\u957f\u5ea6\u3001\u98ce\u683c\uff08&#8221;\u7528 JSON \u683c\u5f0f\u8fd4\u56de\uff0c\u5305\u542b title \u548c summary \u5b57\u6bb5&#8221;\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u793a\u4f8b\u5f15\u5bfc<\/strong>\uff1a\u901a\u8fc7 Few-shot \u793a\u4f8b\u8ba9\u6a21\u578b\u7406\u89e3\u671f\u671b\u7684\u8f93\u5165\u8f93\u51fa\u6a21\u5f0f<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u601d\u7ef4\u94fe<\/strong>\uff1a\u5bf9\u590d\u6742\u63a8\u7406\u4efb\u52a1\uff0c\u5f15\u5bfc\u6a21\u578b\u9010\u6b65\u601d\u8003\uff08&#8221;\u8ba9\u6211\u4eec\u4e00\u6b65\u6b65\u5206\u6790&#8221;\uff09<\/section>\n<\/li>\n<\/ol>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u4e00\u4e2a\u5b9e\u7528\u7684 Prompt \u6a21\u677f\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; font-size: 10px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; position: relative; line-height: 1.75; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; min-width: 100%; word-break: normal; display: block; flex: 0 0 auto; padding: 3px 5px; overflow-x: auto; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">#\u00a0\u89d2\u8272\n\u4f60\u662f\u4e00\u4e2a\u00a0[\u89d2\u8272\u63cf\u8ff0]\u3002\n\n#\u00a0\u4efb\u52a1\n[\u5177\u4f53\u4efb\u52a1\u63cf\u8ff0]\n\n#\u00a0\u8f93\u5165\n[\u8f93\u5165\u6570\u636e]\n\n#\u00a0\u7ea6\u675f\n-\u00a0[\u7ea6\u675f\u6761\u4ef6\u00a01]\n-\u00a0[\u7ea6\u675f\u6761\u4ef6\u00a02]\n\n#\u00a0\u8f93\u51fa\u683c\u5f0f\n[\u671f\u671b\u7684\u8f93\u51fa\u683c\u5f0f]\n\n#\u00a0\u793a\u4f8b\n\u8f93\u5165\uff1a[\u793a\u4f8b\u8f93\u5165]\n\u8f93\u51fa\uff1a[\u793a\u4f8b\u8f93\u51fa]\n<\/code><\/pre>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">Prompt \u5de5\u7a0b\u7684\u5173\u952e\u8ba4\u77e5\uff1a<strong style=\"color: #4f46e5;\">\u5b83\u4e0d\u662f&#8221;\u9b54\u6cd5\u5492\u8bed&#8221;\uff0c\u800c\u662f\u4e00\u79cd\u5de5\u7a0b\u65b9\u6cd5\u8bba<\/strong>\u3002\u597d\u7684 Prompt \u662f\u53ef\u6d4b\u8bd5\u3001\u53ef\u8fed\u4ee3\u3001\u53ef\u7248\u672c\u7ba1\u7406\u7684\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">3.2 RAG\uff1a\u68c0\u7d22\u589e\u5f3a\u751f\u6210<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">RAG\uff08Retrieval-Augmented Generation\uff09\u662f\u5927\u6a21\u578b\u843d\u5730\u4f01\u4e1a\u573a\u666f\u6700\u6838\u5fc3\u7684\u6280\u672f\u3002\u5b83\u89e3\u51b3\u4e86\u4e00\u4e2a\u6839\u672c\u95ee\u9898\uff1a<strong style=\"color: #4f46e5;\">\u5927\u6a21\u578b\u7684\u8bad\u7ec3\u6570\u636e\u6709\u622a\u6b62\u65e5\u671f\uff0c\u4e14\u4e0d\u5305\u542b\u4f60\u7684\u79c1\u6709\u77e5\u8bc6<\/strong>\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">RAG \u7684\u6807\u51c6\u6d41\u7a0b\uff1a<\/strong><\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; font-size: 10px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; position: relative; line-height: 1.75; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; min-width: 100%; word-break: normal; display: block; flex: 0 0 auto; padding: 3px 5px; overflow-x: auto; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">\u7528\u6237\u63d0\u95ee\u00a0\u2192\u00a0\u67e5\u8be2\u5411\u91cf\u6570\u636e\u5e93\u00a0\u2192\u00a0\u68c0\u7d22\u76f8\u5173\u6587\u6863\u7247\u6bb5\u00a0\u2192\u00a0\u62fc\u63a5\u5230\u00a0Prompt\u00a0\u4e2d\u00a0\u2192\u00a0\u6a21\u578b\u57fa\u4e8e\u68c0\u7d22\u5185\u5bb9\u751f\u6210\u56de\u7b54\n<\/code><\/pre>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5173\u952e\u5de5\u7a0b\u7ec6\u8282\uff1a<\/strong><\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; width: 100%; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u73af\u8282<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u8981\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6587\u6863\u89e3\u6790<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u652f\u6301 PDF\u3001Word\u3001HTML \u7b49\u683c\u5f0f\uff0c\u63d0\u53d6\u7eaf\u6587\u672c<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6587\u672c\u5207\u5206<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6309\u8bed\u4e49\u8fb9\u754c\u5207\u5206\uff08\u6bb5\u843d\/\u6807\u9898\uff09\uff0c\u800c\u975e\u56fa\u5b9a\u5b57\u6570\uff1bchunk \u5927\u5c0f\u901a\u5e38 200-800 token<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5d4c\u5165\u6a21\u578b<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u9009\u62e9\u4e0e\u76ee\u6807\u8bed\u8a00\u5339\u914d\u7684 Embedding \u6a21\u578b\uff08\u4e2d\u6587\u573a\u666f\u63a8\u8350 bge-large-zh\u3001m3e \u7b49\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u68c0\u7d22\u7b56\u7565<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u57fa\u7840\uff1a\u5411\u91cf\u76f8\u4f3c\u5ea6\u68c0\u7d22\uff1b\u8fdb\u9636\uff1a\u6df7\u5408\u68c0\u7d22\uff08\u5411\u91cf + \u5173\u952e\u8bcd\uff09\u3001\u91cd\u6392\u5e8f\uff08Rerank\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u4e0a\u4e0b\u6587\u7ec4\u88c5<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u63a7\u5236\u6ce8\u5165\u7684\u6587\u6863\u6570\u91cf\uff0c\u907f\u514d\u8d85\u51fa\u4e0a\u4e0b\u6587\u7a97\u53e3\uff1b\u5bf9\u68c0\u7d22\u7ed3\u679c\u505a\u76f8\u5173\u6027\u8fc7\u6ee4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">RAG \u7684\u5e38\u89c1\u9677\u9631\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5207\u5206\u7c92\u5ea6\u4e0d\u5f53\u5bfc\u81f4\u68c0\u7d22\u5230\u4e0d\u5b8c\u6574\u4fe1\u606f<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5d4c\u5165\u6a21\u578b\u4e0e\u751f\u6210\u6a21\u578b\u8bed\u8a00\u4e0d\u5339\u914d<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5ffd\u7565\u4e86\u5143\u6570\u636e\u8fc7\u6ee4\uff08\u5982\u65f6\u95f4\u8303\u56f4\u3001\u6587\u6863\u7c7b\u522b\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6ca1\u6709\u5904\u7406&#8221;\u68c0\u7d22\u4e0d\u5230\u76f8\u5173\u4fe1\u606f&#8221;\u7684\u60c5\u51b5\u2014\u2014\u6a21\u578b\u4f1a\u7f16\u9020\u7b54\u6848<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">3.3 Agent\uff1a\u667a\u80fd\u4f53\u67b6\u6784<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">Agent \u662f\u5927\u6a21\u578b\u5e94\u7528\u7684\u9ad8\u7ea7\u5f62\u6001\uff1a<strong style=\"color: #4f46e5;\">\u6a21\u578b\u4e0d\u518d\u53ea\u662f\u56de\u7b54\u95ee\u9898\uff0c\u800c\u662f\u80fd\u591f\u81ea\u4e3b\u89c4\u5212\u4efb\u52a1\u3001\u8c03\u7528\u5de5\u5177\u3001\u5e76\u6839\u636e\u7ed3\u679c\u8fed\u4ee3\u6267\u884c<\/strong>\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\">\u4e00\u4e2a Agent \u7684\u6838\u5fc3\u5faa\u73af\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; font-size: 10px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; position: relative; line-height: 1.75; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; min-width: 100%; word-break: normal; display: block; flex: 0 0 auto; padding: 3px 5px; overflow-x: auto; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">\u611f\u77e5\uff08\u63a5\u6536\u4efb\u52a1\uff09\u2192\u00a0\u89c4\u5212\uff08\u62c6\u89e3\u6b65\u9aa4\uff09\u2192\u00a0\u884c\u52a8\uff08\u8c03\u7528\u5de5\u5177\uff09\u2192\u00a0\u89c2\u5bdf\uff08\u83b7\u53d6\u7ed3\u679c\uff09\u2192\u00a0\u53cd\u601d\u00a0\u2192\u00a0\u91cd\u590d\n<\/code><\/pre>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">Agent \u7684\u5173\u952e\u8bbe\u8ba1\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5de5\u5177\u5b9a\u4e49<\/strong>\uff1a\u5c06\u5916\u90e8\u80fd\u529b\u5c01\u88c5\u4e3a\u6a21\u578b\u53ef\u8c03\u7528\u7684\u51fd\u6570\uff08\u641c\u7d22\u3001\u6570\u636e\u5e93\u67e5\u8be2\u3001\u4ee3\u7801\u6267\u884c\u3001API \u8c03\u7528\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u89c4\u5212\u7b56\u7565<\/strong>\uff1aReAct\uff08\u63a8\u7406+\u884c\u52a8\u4ea4\u66ff\uff09\u3001Plan-and-Execute\uff08\u5148\u89c4\u5212\u518d\u6267\u884c\uff09\u3001Tree of Thought\uff08\u591a\u8def\u5f84\u63a2\u7d22\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u8bb0\u5fc6\u673a\u5236<\/strong>\uff1a\u77ed\u671f\u8bb0\u5fc6\uff08\u5f53\u524d\u4f1a\u8bdd\u4e0a\u4e0b\u6587\uff09+ \u957f\u671f\u8bb0\u5fc6\uff08\u8de8\u4f1a\u8bdd\u7684\u77e5\u8bc6\u5b58\u50a8\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u7ec8\u6b62\u6761\u4ef6<\/strong>\uff1a\u660e\u786e\u4f55\u65f6\u4efb\u52a1\u5b8c\u6210\uff0c\u907f\u514d\u65e0\u9650\u5faa\u73af<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u6846\u67b6\u9009\u62e9\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>LangChain \/ LangGraph\uff1a\u529f\u80fd\u5168\u9762\uff0c\u9002\u5408\u590d\u6742\u7f16\u6392<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>AutoGen\uff1a\u5fae\u8f6f\u51fa\u54c1\uff0c\u9002\u5408\u591a Agent \u534f\u4f5c<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>CrewAI\uff1a\u8f7b\u91cf\u7ea7\uff0c\u4e0a\u624b\u5feb<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u81ea\u7814\uff1a\u5bf9\u63a7\u5236\u529b\u8981\u6c42\u9ad8\u65f6\u7684\u9009\u62e9<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5b9e\u8df5\u5efa\u8bae\uff1a<\/strong> Agent \u7684\u80fd\u529b\u8fb9\u754c\u8981\u6e05\u6670\u5b9a\u4e49\u3002\u4e00\u4e2a&#8221;\u4ec0\u4e48\u90fd\u80fd\u505a&#8221;\u7684 Agent \u5f80\u5f80\u4ec0\u4e48\u90fd\u505a\u4e0d\u597d\u2014\u2014\u9650\u5b9a\u9886\u57df\u3001\u9650\u5b9a\u5de5\u5177\u96c6\u7684 Agent \u66f4\u5bb9\u6613\u8fbe\u5230\u751f\u4ea7\u53ef\u7528\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">3.4 Fine-tuning\uff1a\u5fae\u8c03<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5fae\u8c03\u662f\u5b9a\u5236\u5316\u6a21\u578b\u884c\u4e3a\u7684\u6df1\u5ea6\u624b\u6bb5\uff0c\u4f46<strong style=\"color: #4f46e5;\">\u5b83\u4e0d\u662f\u4e07\u80fd\u7684\uff0c\u800c\u4e14\u7ecf\u5e38\u88ab\u6ee5\u7528<\/strong>\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u4ec0\u4e48\u573a\u666f\u8be5\u5fae\u8c03\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u9700\u8981\u7a33\u5b9a\u7684\u8f93\u51fa\u683c\u5f0f\uff08\u5982\u7279\u5b9a JSON \u7ed3\u6784\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u9700\u8981\u7279\u5b9a\u7684\u8bed\u8a00\u98ce\u683c\u6216\u9886\u57df\u672f\u8bed<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u9700\u8981\u6a21\u578b\u638c\u63e1\u67d0\u79cd\u63a8\u7406\u6a21\u5f0f\uff08\u5982\u7279\u5b9a\u7c7b\u578b\u7684\u4ee3\u7801\u751f\u6210\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5bf9\u5ef6\u8fdf\u548c\u6210\u672c\u654f\u611f\u2014\u2014\u5fae\u8c03\u5c0f\u6a21\u578b\u53ef\u80fd\u6bd4\u8c03\u7528\u5927\u6a21\u578b API \u66f4\u7ecf\u6d4e<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u4ec0\u4e48\u573a\u666f\u4e0d\u8be5\u5fae\u8c03\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u77e5\u8bc6\u6ce8\u5165\u2014\u2014\u8fd9\u662f RAG \u7684\u6d3b\uff0c\u4e0d\u662f\u5fae\u8c03\u7684<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u4e34\u65f6\u6027\u9700\u6c42\u2014\u2014Prompt \u8c03\u6574\u66f4\u5feb<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6570\u636e\u91cf\u4e0d\u8db3\uff08\u5c11\u4e8e\u51e0\u767e\u6761\u9ad8\u8d28\u91cf\u6837\u672c\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u56e2\u961f\u6ca1\u6709\u8bc4\u4f30\u548c\u8fed\u4ee3\u5fae\u8c03\u6548\u679c\u7684\u80fd\u529b<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5fae\u8c03\u65b9\u6cd5\u9009\u62e9\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">LoRA<\/strong>\uff1a\u6700\u5e38\u7528\u7684\u8f7b\u91cf\u5fae\u8c03\u65b9\u6cd5\uff0c\u53ea\u8bad\u7ec3\u5c11\u91cf\u9002\u914d\u53c2\u6570\uff0c\u6210\u672c\u4f4e\u3001\u6548\u679c\u597d<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">QLoRA<\/strong>\uff1a\u5728 LoRA \u57fa\u7840\u4e0a\u8fdb\u4e00\u6b65\u91cf\u5316\uff0c\u53ef\u5728\u6d88\u8d39\u7ea7 GPU \u4e0a\u5fae\u8c03\u5927\u6a21\u578b<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5168\u91cf\u5fae\u8c03<\/strong>\uff1a\u6548\u679c\u4e0a\u9650\u6700\u9ad8\uff0c\u4f46\u6210\u672c\u6781\u9ad8\uff0c\u4e00\u822c\u4e0d\u63a8\u8350<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">3.5 Function Calling\uff1a\u51fd\u6570\u8c03\u7528<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">Function Calling \u662f\u8fde\u63a5\u5927\u6a21\u578b\u4e0e\u4f20\u7edf\u8f6f\u4ef6\u7cfb\u7edf\u7684\u6865\u6881\u3002\u6a21\u578b\u6839\u636e\u7528\u6237\u610f\u56fe\uff0c\u81ea\u4e3b\u51b3\u5b9a\u8c03\u7528\u54ea\u4e2a\u51fd\u6570\u3001\u4f20\u4ec0\u4e48\u53c2\u6570\uff0c\u7136\u540e\u57fa\u4e8e\u8fd4\u56de\u7ed3\u679c\u7ee7\u7eed\u5bf9\u8bdd\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u6807\u51c6\u6d41\u7a0b\uff1a<\/strong><\/p>\n<ol style=\"margin: 8px 0px; padding-left: 28px; list-style: outside decimal;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5f00\u53d1\u8005\u5b9a\u4e49\u53ef\u7528\u51fd\u6570\u7684 schema\uff08\u540d\u79f0\u3001\u63cf\u8ff0\u3001\u53c2\u6570\u7c7b\u578b\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6a21\u578b\u6839\u636e\u7528\u6237\u8f93\u5165\u5224\u65ad\u662f\u5426\u9700\u8981\u8c03\u7528\u51fd\u6570<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6a21\u578b\u8f93\u51fa\u51fd\u6570\u540d\u548c\u53c2\u6570\uff08\u7ed3\u6784\u5316 JSON\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u540e\u7aef\u6267\u884c\u5b9e\u9645\u51fd\u6570\u8c03\u7528<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5c06\u7ed3\u679c\u8fd4\u56de\u7ed9\u6a21\u578b<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6a21\u578b\u57fa\u4e8e\u7ed3\u679c\u751f\u6210\u6700\u7ec8\u56de\u590d<\/section>\n<\/li>\n<\/ol>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5de5\u7a0b\u8981\u70b9\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u51fd\u6570\u63cf\u8ff0\u8981\u6e05\u6670\u2014\u2014\u6a21\u578b\u4f9d\u8d56\u63cf\u8ff0\u6765\u7406\u89e3\u51fd\u6570\u7528\u9014<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u53c2\u6570\u6821\u9a8c\u5fc5\u4e0d\u53ef\u5c11\u2014\u2014\u6a21\u578b\u53ef\u80fd\u751f\u6210\u4e0d\u5408\u6cd5\u7684\u53c2\u6570<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u9519\u8bef\u5904\u7406\u8981\u4f18\u96c5\u2014\u2014\u51fd\u6570\u6267\u884c\u5931\u8d25\u65f6\uff0c\u7ed9\u6a21\u578b\u53ef\u7406\u89e3\u7684\u9519\u8bef\u4fe1\u606f<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u63a7\u5236\u51fd\u6570\u6570\u91cf\u2014\u2014\u8fc7\u591a\u51fd\u6570\u4f1a\u964d\u4f4e\u6a21\u578b\u7684\u9009\u62e9\u51c6\u786e\u7387<\/section>\n<\/li>\n<\/ul>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">4. \u5de5\u7a0b\u5316\u843d\u5730\uff1a\u4ece Demo \u5230\u751f\u4ea7<\/span><\/h2>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u4e00\u4e2a\u80fd\u8dd1\u7684 Demo \u548c\u4e00\u4e2a\u80fd\u4e0a\u7ebf\u7684\u751f\u4ea7\u7cfb\u7edf\u4e4b\u95f4\uff0c\u9694\u7740\u5927\u91cf\u5de5\u7a0b\u7ec6\u8282\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">4.1 \u6d41\u5f0f\u8f93\u51fa<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u6d41\u5f0f\u8f93\u51fa\u662f\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u2014\u2014\u6ca1\u6709\u4eba\u613f\u610f\u76ef\u7740\u7a7a\u767d\u5c4f\u5e55\u7b49 10 \u79d2\u3002<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u524d\u7aef\u5b9e\u73b0\uff08SSE \u65b9\u5f0f\uff09\uff1a<\/strong><\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; font-size: 10px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; position: relative; line-height: 1.75; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs language-javascript\" style=\"white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; min-width: 100%; word-break: normal; display: block; flex: 0 0 auto; padding: 3px 5px; overflow-x: auto; color: #93a1a1; background: #002b36; overflow-wrap: normal;\"><span class=\"hljs-keyword\" style=\"color: #6c71c4;\">const<\/span>\u00a0eventSource\u00a0=\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">new<\/span>\u00a0<span class=\"hljs-title class_\" style=\"color: #b58900;\">EventSource<\/span>(<span class=\"hljs-string\" style=\"color: #859900;\">'\/api\/chat?prompt='<\/span>\u00a0+\u00a0<span class=\"hljs-built_in\" style=\"color: #2aa198;\">encodeURIComponent<\/span>(userInput));\neventSource.<span class=\"hljs-property\">onmessage<\/span>\u00a0=\u00a0<span class=\"hljs-function\">(<span class=\"hljs-params\">event<\/span>)\u00a0=&gt;<\/span>\u00a0{\n\u00a0\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">const<\/span>\u00a0data\u00a0=\u00a0<span class=\"hljs-title class_\" style=\"color: #b58900;\">JSON<\/span>.<span class=\"hljs-title function_\" style=\"color: #268bd2;\">parse<\/span>(event.<span class=\"hljs-property\">data<\/span>);\n\u00a0\u00a0<span class=\"hljs-title function_\" style=\"color: #268bd2;\">appendToUI<\/span>(data.<span class=\"hljs-property\">token<\/span>);\n};\neventSource.<span class=\"hljs-property\">onerror<\/span>\u00a0=\u00a0<span class=\"hljs-function\">()\u00a0=&gt;<\/span>\u00a0{\n\u00a0\u00a0eventSource.<span class=\"hljs-title function_\" style=\"color: #268bd2;\">close<\/span>();\n};\n<\/code><\/pre>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u540e\u7aef\u5b9e\u73b0\uff08FastAPI \u793a\u4f8b\uff09\uff1a<\/strong><\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; font-size: 10px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; position: relative; line-height: 1.75; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs language-python\" style=\"white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; min-width: 100%; word-break: normal; display: block; flex: 0 0 auto; padding: 3px 5px; overflow-x: auto; color: #93a1a1; background: #002b36; overflow-wrap: normal;\"><span class=\"hljs-keyword\" style=\"color: #6c71c4;\">from<\/span>\u00a0fastapi.responses\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">import<\/span>\u00a0StreamingResponse\n\n<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">async<\/span>\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">def<\/span>\u00a0<span class=\"hljs-title function_\" style=\"color: #268bd2;\">stream_response<\/span>(<span class=\"hljs-params\">prompt:\u00a0<span class=\"hljs-built_in\" style=\"color: #2aa198;\">str<\/span><\/span>):\n\u00a0\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">async<\/span>\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">for<\/span>\u00a0chunk\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">in<\/span>\u00a0llm_client.chat_stream(prompt):\n\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">yield<\/span>\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">f\"data:\u00a0<span class=\"hljs-subst\" style=\"color: #93a1a1;\">{json.dumps({<span class=\"hljs-string\" style=\"color: #859900;\">'token'<\/span>:\u00a0chunk}<\/span>)}\\n\\n\"<\/span>\n\n<span class=\"hljs-meta\" style=\"color: #d33682;\">@app.get(<span class=\"hljs-params\"><span class=\"hljs-string\" style=\"color: #d33682;\">\"\/api\/chat\"<\/span><\/span>)<\/span>\n<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">async<\/span>\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">def<\/span>\u00a0<span class=\"hljs-title function_\" style=\"color: #268bd2;\">chat<\/span>(<span class=\"hljs-params\">prompt:\u00a0<span class=\"hljs-built_in\" style=\"color: #2aa198;\">str<\/span><\/span>):\n\u00a0\u00a0<span class=\"hljs-keyword\" style=\"color: #6c71c4;\">return<\/span>\u00a0StreamingResponse(stream_response(prompt),\u00a0media_type=<span class=\"hljs-string\" style=\"color: #859900;\">\"text\/event-stream\"<\/span>)\n<\/code><\/pre>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6d41\u5f0f\u8f93\u51fa\u4e2d\u9014\u51fa\u9519\u65f6\uff0c\u9700\u8981\u5411\u524d\u7aef\u53d1\u9001\u9519\u8bef\u4fe1\u53f7\uff0c\u800c\u975e\u9759\u9ed8\u65ad\u5f00<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u524d\u7aef\u9700\u8981\u5904\u7406 Markdown \u7684\u589e\u91cf\u6e32\u67d3\uff08\u4ee3\u7801\u5757\u3001\u8868\u683c\u5728\u672a\u5b8c\u6210\u65f6\u663e\u793a\u5f02\u5e38\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u7528 WebSocket \u66ff\u4ee3 SSE\uff0c\u4ee5\u652f\u6301\u53cc\u5411\u901a\u4fe1<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">4.2 \u4e0a\u4e0b\u6587\u7a97\u53e3\u7ba1\u7406<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u6709\u9650\uff084K\uff5e200K token \u4e0d\u7b49\uff09\uff0c\u800c\u7528\u6237\u5bf9\u8bdd\u53ef\u80fd\u5f88\u957f\u3002\u7ba1\u7406\u7b56\u7565\uff1a<\/p>\n<ol style=\"margin: 8px 0px; padding-left: 28px; list-style: outside decimal;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6ed1\u52a8\u7a97\u53e3<\/strong>\uff1a\u53ea\u4fdd\u7559\u6700\u8fd1 N \u8f6e\u5bf9\u8bdd\uff0c\u8d85\u51fa\u90e8\u5206\u4e22\u5f03<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6458\u8981\u538b\u7f29<\/strong>\uff1a\u5bf9\u65e9\u671f\u5bf9\u8bdd\u7528\u6a21\u578b\u751f\u6210\u6458\u8981\uff0c\u538b\u7f29\u540e\u4fdd\u7559<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u9009\u62e9\u6027\u4fdd\u7559<\/strong>\uff1a\u4fdd\u7559\u5bf9\u8bdd\u4e2d\u7684\u5173\u952e\u4fe1\u606f\uff08\u5982\u7528\u6237\u504f\u597d\u3001\u51b3\u7b56\u7ed3\u8bba\uff09\uff0c\u4e22\u5f03\u5bd2\u6684<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6df7\u5408\u7b56\u7565<\/strong>\uff1a\u6700\u8fd1\u51e0\u8f6e\u539f\u6587\u4fdd\u7559 + \u66f4\u65e9\u7684\u6458\u8981 + \u5173\u952e\u4fe1\u606f\u63d0\u53d6<\/section>\n<\/li>\n<\/ol>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">4.3 \u6210\u672c\u63a7\u5236<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b API \u6309 token \u8ba1\u8d39\uff0c\u6210\u672c\u53ef\u80fd\u5feb\u901f\u6500\u5347\u3002\u63a7\u5236\u624b\u6bb5\uff1a<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; width: 100%; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7b56\u7565<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7f13\u5b58<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5bf9\u76f8\u540c\/\u76f8\u4f3c\u8bf7\u6c42\u7f13\u5b58\u7ed3\u679c\uff0c\u907f\u514d\u91cd\u590d\u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6a21\u578b\u8def\u7531<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7b80\u5355\u4efb\u52a1\u7528\u5c0f\u6a21\u578b\uff0c\u590d\u6742\u4efb\u52a1\u7528\u5927\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">Prompt \u7cbe\u7b80<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u53bb\u9664\u5197\u4f59\u4e0a\u4e0b\u6587\uff0c\u51cf\u5c11\u8f93\u5165 token<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6279\u91cf\u5904\u7406<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5229\u7528 batch API \u83b7\u53d6\u6298\u6263<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u81ea\u90e8\u7f72<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u9ad8\u9891\u8c03\u7528\u573a\u666f\u4e0b\uff0c\u81ea\u90e8\u7f72\u5f00\u6e90\u6a21\u578b\u53ef\u80fd\u66f4\u7ecf\u6d4e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">4.4 \u5b89\u5168\u5408\u89c4<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u5e94\u7528\u9762\u4e34\u72ec\u7279\u7684\u5b89\u5168\u6311\u6218\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5185\u5bb9\u5ba1\u6838<\/strong>\uff1a\u5bf9\u6a21\u578b\u8f93\u5165\u548c\u8f93\u51fa\u505a\u654f\u611f\u5185\u5bb9\u8fc7\u6ee4<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u8d8a\u72f1\u9632\u62a4<\/strong>\uff1a\u9632\u6b62\u7528\u6237\u901a\u8fc7\u7279\u6b8a Prompt \u7ed5\u8fc7\u5b89\u5168\u9650\u5236<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6570\u636e\u8131\u654f<\/strong>\uff1a\u786e\u4fdd\u7528\u6237\u9690\u79c1\u6570\u636e\u4e0d\u88ab\u53d1\u9001\u5230\u6a21\u578b API<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5e7b\u89c9\u63a7\u5236<\/strong>\uff1a\u5728\u5173\u952e\u573a\u666f\uff08\u533b\u7597\u3001\u6cd5\u5f8b\u3001\u91d1\u878d\uff09\u5f3a\u5236\u8981\u6c42\u6a21\u578b\u5f15\u7528\u6765\u6e90<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u5ba1\u8ba1\u65e5\u5fd7<\/strong>\uff1a\u8bb0\u5f55\u6240\u6709\u6a21\u578b\u8c03\u7528\uff0c\u6ee1\u8db3\u5408\u89c4\u8981\u6c42<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">4.5 \u53ef\u89c2\u6d4b\u6027<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u751f\u4ea7\u7cfb\u7edf\u5fc5\u987b\u6709\u53ef\u89c2\u6d4b\u6027\u3002\u5927\u6a21\u578b\u5e94\u7528\u9700\u8981\u76d1\u63a7\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6027\u80fd\u6307\u6807<\/strong>\uff1a\u9996 token \u5ef6\u8fdf\uff08TTFT\uff09\u3001\u5b8c\u6574\u54cd\u5e94\u5ef6\u8fdf\u3001\u541e\u5410\u91cf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u8d28\u91cf\u6307\u6807<\/strong>\uff1a\u56de\u7b54\u76f8\u5173\u6027\u3001\u5e7b\u89c9\u7387\u3001\u7528\u6237\u6ee1\u610f\u5ea6\u53cd\u9988<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6210\u672c\u6307\u6807<\/strong>\uff1a\u6bcf\u4f1a\u8bdd token \u6d88\u8017\u3001\u65e5\u5747 API \u8d39\u7528<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u94fe\u8def\u8ffd\u8e2a<\/strong>\uff1a\u4e00\u6b21\u8bf7\u6c42\u7ecf\u8fc7\u4e86\u54ea\u4e9b\u6b65\u9aa4\uff08\u68c0\u7d22\u2192Prompt \u7ec4\u88c5\u2192\u6a21\u578b\u8c03\u7528\u2192\u540e\u5904\u7406\uff09<\/section>\n<\/li>\n<\/ul>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">5. \u67b6\u6784\u6a21\u5f0f\u4e0e\u6700\u4f73\u5b9e\u8df5<\/span><\/h2>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">5.1 \u5355\u4f53 vs \u5fae\u670d\u52a1<\/span><\/h3>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; width: 100%; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u7ef4\u5ea6<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5355\u4f53\u67b6\u6784<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5fae\u670d\u52a1\u67b6\u6784<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u9002\u7528\u9636\u6bb5<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u65e9\u671f\u9a8c\u8bc1\u3001\u5c0f\u56e2\u961f<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u751f\u4ea7\u73af\u5883\u3001\u591a\u56e2\u961f\u534f\u4f5c<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u4f18\u52bf<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5f00\u53d1\u5feb\u3001\u90e8\u7f72\u7b80\u5355<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u53ef\u72ec\u7acb\u6269\u5c55\u3001\u6545\u969c\u9694\u79bb<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u52a3\u52bf<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u6269\u5c55\u6027\u5dee\u3001\u8026\u5408\u5ea6\u9ad8<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u8fd0\u7ef4\u590d\u6742\u3001\u7f51\u7edc\u5f00\u9500<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5efa\u8bae<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">MVP \u9636\u6bb5\u7528\u5355\u4f53\uff0c\u9a8c\u8bc1\u540e\u9010\u6b65\u62c6\u5206<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; vertical-align: top; border: 1px solid #dfe2e5; background: inherit;\">\u5c06\u6a21\u578b\u63a8\u7406\u3001\u68c0\u7d22\u3001\u4e1a\u52a1\u903b\u8f91\u62c6\u4e3a\u72ec\u7acb\u670d\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">5.2 \u591a\u6a21\u578b\u534f\u4f5c<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u590d\u6742\u4efb\u52a1\u5f80\u5f80\u9700\u8981\u591a\u4e2a\u6a21\u578b\u534f\u4f5c\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u8def\u7531\u6a21\u5f0f<\/strong>\uff1a\u4e00\u4e2a\u8f7b\u91cf\u6a21\u578b\u5224\u65ad\u4efb\u52a1\u7c7b\u578b\uff0c\u8def\u7531\u5230\u5bf9\u5e94\u7684\u4e13\u4e1a\u6a21\u578b<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6d41\u6c34\u7ebf\u6a21\u5f0f<\/strong>\uff1a\u591a\u4e2a\u6a21\u578b\u4e32\u8054\uff0c\u5404\u8d1f\u8d23\u4e00\u4e2a\u9636\u6bb5\uff08\u5982\uff1a\u6458\u8981\u6a21\u578b\u2192\u7ffb\u8bd1\u6a21\u578b\u2192\u6da6\u8272\u6a21\u578b\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u6295\u7968\u6a21\u5f0f<\/strong>\uff1a\u591a\u4e2a\u6a21\u578b\u5bf9\u540c\u4e00\u4efb\u52a1\u7ed9\u51fa\u7b54\u6848\uff0c\u53d6\u5171\u8bc6\u6216\u4eba\u5de5\u88c1\u51b3<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>** supervisor \u6a21\u5f0f**\uff1a\u4e00\u4e2a\u4e3b\u6a21\u578b\u8d1f\u8d23\u4efb\u52a1\u5206\u89e3\u548c\u7ed3\u679c\u6574\u5408\uff0c\u591a\u4e2a\u5b50\u6a21\u578b\u6267\u884c\u5177\u4f53\u4efb\u52a1<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">5.3 Human-in-the-loop<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u5e76\u975e\u5b8c\u7f8e\uff0c\u5173\u952e\u51b3\u7b56\u73af\u8282\u5e94\u4fdd\u7559\u4eba\u5de5\u4ecb\u5165\u70b9\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5185\u5bb9\u53d1\u5e03\u524d\u7684\u4eba\u5de5\u5ba1\u6838<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6a21\u578b\u4e0d\u786e\u5b9a\u65f6\u7684\u4e3b\u52a8\u6c42\u52a9\uff08&#8221;\u6211\u4e0d\u786e\u5b9a\uff0c\u8bf7\u4eba\u5de5\u786e\u8ba4&#8221;\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u7528\u6237\u53cd\u9988\u6536\u96c6\u4e0e\u6a21\u578b\u6301\u7eed\u4f18\u5316<\/section>\n<\/li>\n<\/ul>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">6. \u5b9e\u6218\u6848\u4f8b\uff1a\u4ece 0 \u5230 1 \u6784\u5efa\u4e00\u4e2a\u5927\u6a21\u578b\u5e94\u7528<\/span><\/h2>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u4ee5\u6784\u5efa\u4e00\u4e2a&#8221;\u4f01\u4e1a\u77e5\u8bc6\u5e93\u95ee\u7b54\u7cfb\u7edf&#8221;\u4e3a\u4f8b\uff0c\u62c6\u89e3\u5b8c\u6574\u6d41\u7a0b\uff1a<\/p>\n<p style=\"margin: 16px 0px 1em; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u9636\u6bb5\u4e00\uff1a\u9700\u6c42\u5206\u6790\u4e0e\u6280\u672f\u9009\u578b<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u660e\u786e\u9700\u6c42\uff1a\u5458\u5de5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u67e5\u8be2\u4f01\u4e1a\u5185\u90e8\u6587\u6863\uff0c\u83b7\u53d6\u51c6\u786e\u7b54\u6848<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6280\u672f\u9009\u578b\uff1aGPT-4o\uff08\u751f\u6210\uff09+ text-embedding-3-large\uff08\u5d4c\u5165\uff09+ Milvus\uff08\u5411\u91cf\u5e93\uff09+ FastAPI\uff08\u540e\u7aef\uff09+ React\uff08\u524d\u7aef\uff09<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u9636\u6bb5\u4e8c\uff1a\u539f\u578b\u5feb\u901f\u9a8c\u8bc1<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u7528 50 \u7bc7\u6838\u5fc3\u6587\u6863\u642d\u5efa\u6700\u5c0f RAG \u6d41\u6c34\u7ebf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u9a8c\u8bc1\u68c0\u7d22\u51c6\u786e\u7387\u548c\u751f\u6210\u8d28\u91cf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6536\u96c6\u5185\u90e8\u7528\u6237\u53cd\u9988\uff0c\u8fed\u4ee3 Prompt \u548c\u5207\u5206\u7b56\u7565<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u9636\u6bb5\u4e09\uff1a\u751f\u4ea7\u5316\u6539\u9020<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u63a5\u5165\u5168\u91cf\u6587\u6863\uff08\u6570\u4e07\u7bc7\uff09\uff0c\u5efa\u7acb\u6587\u6863\u66f4\u65b0\u6d41\u6c34\u7ebf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6dfb\u52a0\u7528\u6237\u8ba4\u8bc1\u548c\u6743\u9650\u63a7\u5236\uff08\u4e0d\u540c\u90e8\u95e8\u8bbf\u95ee\u4e0d\u540c\u6587\u6863\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u5b9e\u73b0\u6d41\u5f0f\u8f93\u51fa\u548c\u4f1a\u8bdd\u5386\u53f2<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u90e8\u7f72\u76d1\u63a7\u7cfb\u7edf\uff08\u5ef6\u8fdf\u3001\u8d28\u91cf\u3001\u6210\u672c\uff09<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u4e0a\u7ebf\u5185\u5bb9\u5ba1\u6838\u548c\u5b89\u5168\u9632\u62a4<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><strong style=\"color: #4f46e5;\">\u5173\u952e\u7ecf\u9a8c\uff1a<\/strong><\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u6587\u6863\u5207\u5206\u7b56\u7565\u5bf9\u6548\u679c\u7684\u5f71\u54cd\u8fdc\u5927\u4e8e\u6a21\u578b\u9009\u62e9<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>\u68c0\u7d22\u7ed3\u679c\u7684\u91cd\u6392\u5e8f\uff08Rerank\uff09\u80fd\u663e\u8457\u63d0\u5347\u51c6\u786e\u7387<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section>&#8220;\u627e\u4e0d\u5230\u7b54\u6848&#8221;\u65f6\u5766\u8bda\u544a\u77e5\uff0c\u6bd4\u7f16\u9020\u7b54\u6848\u66f4\u6709\u4ef7\u503c<\/section>\n<\/li>\n<\/ul>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">7. \u8d8b\u52bf\u4e0e\u5c55\u671b<\/span><\/h2>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">\u591a\u6a21\u6001\u878d\u5408<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u672a\u6765\u7684\u5927\u6a21\u578b\u5e94\u7528\u4e0d\u518d\u5c40\u9650\u4e8e\u6587\u672c\u3002GPT-4o \u5df2\u652f\u6301\u56fe\u50cf\u3001\u8bed\u97f3\u5b9e\u65f6\u4ea4\u4e92\uff0c\u89c6\u9891\u7406\u89e3\u80fd\u529b\u4e5f\u5728\u5feb\u901f\u8fdb\u5316\u3002\u5168\u6808\u5f00\u53d1\u8005\u9700\u8981\u51c6\u5907\u5904\u7406\u591a\u6a21\u6001\u7684\u8f93\u5165\u8f93\u51fa\u2014\u2014\u56fe\u50cf\u751f\u6210\u3001\u8bed\u97f3\u5408\u6210\u3001\u89c6\u9891\u5206\u6790\u90fd\u5c06\u6210\u4e3a\u5e94\u7528\u6808\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">\u7aef\u4fa7\u5927\u6a21\u578b\u4e0e\u8fb9\u7f18\u63a8\u7406<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u968f\u7740\u6a21\u578b\u91cf\u5316\u6280\u672f\u7684\u6210\u719f\u548c\u79fb\u52a8\u7aef NPU \u7684\u666e\u53ca\uff0c\u5728\u624b\u673a\u3001PC \u672c\u5730\u8fd0\u884c\u5927\u6a21\u578b\u6210\u4e3a\u53ef\u80fd\u3002\u7aef\u4fa7\u63a8\u7406\u7684\u4f18\u52bf\u5728\u4e8e\u9690\u79c1\u4fdd\u62a4\u3001\u96f6\u5ef6\u8fdf\u3001\u79bb\u7ebf\u53ef\u7528\u2014\u2014\u8fd9\u4f1a\u50ac\u751f\u4e00\u6279\u65b0\u7684\u5e94\u7528\u5f62\u6001\u3002Apple Intelligence\u3001Phi-3-mini \u7b49\u5df2\u7ecf\u5c55\u793a\u4e86\u8fd9\u6761\u8def\u5f84\u7684\u53ef\u884c\u6027\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">\u5f00\u6e90\u751f\u6001 vs \u95ed\u6e90 API<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5f00\u6e90\u6a21\u578b\uff08Llama 3\u3001Qwen 2\u3001DeepSeek V3\uff09\u4e0e\u95ed\u6e90 API\uff08GPT-4o\u3001Claude\uff09\u7684\u5dee\u8ddd\u5728\u6301\u7eed\u7f29\u5c0f\u3002\u8fd9\u7ed9\u5f00\u53d1\u8005\u5e26\u6765\u4e86\u66f4\u591a\u9009\u62e9\u6743\uff0c\u4f46\u4e5f\u589e\u52a0\u4e86\u9009\u578b\u590d\u6742\u5ea6\u3002\u957f\u671f\u6765\u770b\uff0c\u4e24\u8005\u5c06\u5f62\u6210\u4e92\u8865\u683c\u5c40\uff1a\u95ed\u6e90 API \u9002\u5408\u5feb\u901f\u521b\u65b0\u548c\u9876\u7ea7\u8d28\u91cf\u9700\u6c42\uff0c\u5f00\u6e90\u6a21\u578b\u9002\u5408\u6210\u672c\u654f\u611f\u548c\u6570\u636e\u9690\u79c1\u573a\u666f\u3002<\/p>\n<h3 style=\"padding: 30px 0px; margin: 0px; color: #4f46e5; font-size: 16px;\"><span style=\"color: #4f46e5;\">Agent \u7684\u6210\u719f\u5316<\/span><\/h3>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5f53\u524d\u7684 Agent \u8fd8\u5904\u4e8e\u65e9\u671f\u9636\u6bb5\u2014\u2014\u80fd\u529b\u4e0d\u7a33\u5b9a\u3001\u8fb9\u754c\u4e0d\u6e05\u6670\u3002\u968f\u7740\u5de5\u5177\u8c03\u7528\u6807\u51c6\u7684\u6210\u719f\uff08\u5982 MCP \u534f\u8bae\uff09\u3001\u8bc4\u4f30\u4f53\u7cfb\u7684\u5b8c\u5584\u3001\u4ee5\u53ca\u591a Agent \u534f\u4f5c\u6846\u67b6\u7684\u8fdb\u5316\uff0cAgent \u5c06\u4ece&#8221;\u6f14\u793a\u7ea7&#8221;\u8d70\u5411&#8221;\u751f\u4ea7\u7ea7&#8221;\u3002<\/p>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<h2 style=\"padding: 0px 0px 0px 10px; margin: 30px 0px; color: #4f46e5; position: relative; font-size: 20px; border-left: 4px solid #4f46e5;\"><span style=\"color: #4f46e5;\">8. \u7ed3\u8bed\uff1a\u5168\u6808\u5f00\u53d1\u8005\u7684\u65b0\u89d2\u8272\u5b9a\u4f4d<\/span><\/h2>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u4e0d\u662f&#8221;\u4f20\u7edf\u5168\u6808 + \u4e00\u4e2a API \u8c03\u7528&#8221;\u3002\u5b83\u8981\u6c42\u5f00\u53d1\u8005\u5efa\u7acb\u4e00\u79cd\u65b0\u7684\u601d\u7ef4\u6a21\u5f0f\uff1a<\/p>\n<ul style=\"margin: 8px 0px; padding-left: 28px; list-style: outside disc;\">\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4ece\u786e\u5b9a\u6027\u903b\u8f91\u5230\u6982\u7387\u6027\u903b\u8f91<\/strong>\uff1a\u6a21\u578b\u7684\u8f93\u51fa\u4e0d\u662f 100% \u53ef\u9884\u6d4b\u7684\uff0c\u7cfb\u7edf\u8bbe\u8ba1\u8981\u5bb9\u5fcd\u4e0d\u786e\u5b9a\u6027<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4ece\u4ee3\u7801\u5373\u903b\u8f91\u5230 Prompt \u5373\u903b\u8f91<\/strong>\uff1a\u81ea\u7136\u8bed\u8a00\u6210\u4e3a\u65b0\u7684&#8221;\u7f16\u7a0b\u8bed\u8a00&#8221;\uff0c\u4f46\u5b83\u9700\u8981\u540c\u7b49\u7684\u5de5\u7a0b\u4e25\u8c28\u6027<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4ece\u529f\u80fd\u6d4b\u8bd5\u5230\u8d28\u91cf\u8bc4\u4f30<\/strong>\uff1a\u4f20\u7edf\u7684\u5355\u5143\u6d4b\u8bd5\u4e0d\u591f\u7528\u4e86\uff0c\u9700\u8981\u5efa\u7acb LLM \u4e13\u7528\u7684\u8bc4\u4f30\u6d41\u6c34\u7ebf<\/section>\n<\/li>\n<li style=\"line-height: 2; color: #595959; margin-bottom: 0px; padding-left: 0px; text-indent: 0px; list-style: inherit;\">\n<section><strong style=\"color: #4f46e5;\">\u4ece\u4e00\u6b21\u6027\u5f00\u53d1\u5230\u6301\u7eed\u4f18\u5316<\/strong>\uff1a\u6a21\u578b\u5e94\u7528\u9700\u8981\u6301\u7eed\u7684\u6570\u636e\u98de\u8f6e\u2014\u2014\u7528\u6237\u53cd\u9988\u9a71\u52a8 Prompt \u548c\u6a21\u578b\u8fed\u4ee3<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\">\u5927\u6a21\u578b\u65f6\u4ee3\u4e0d\u4f1a\u6dd8\u6c70\u5168\u6808\u5f00\u53d1\u8005\uff0c\u4f46\u4f1a\u6dd8\u6c70\u4e0d\u62e5\u62b1 AI \u7684\u5168\u6808\u5f00\u53d1\u8005\u3002\u638c\u63e1\u4e0a\u8ff0\u80fd\u529b\u6808\uff0c\u4f60\u5c31\u80fd\u5728\u8fd9\u4e2a\u65b0\u8303\u5f0f\u4e0b\u6784\u5efa\u771f\u6b63\u6709\u4ef7\u503c\u7684\u4ea7\u54c1\u3002<\/p>\n<hr style=\"border-width: 1px 0px 0px; border-style: solid; border-top-color: #dddddd;\" \/>\n<p style=\"margin: 1em 0px; text-indent: 0px; padding-left: 0px;\"><em>\u672c\u6587\u64b0\u5199\u4e8e 2026 \u5e74 8 \u6708\uff0c\u6280\u672f\u53d1\u5c55\u65e5\u65b0\u6708\u5f02\uff0c\u90e8\u5206\u7ec6\u8282\u53ef\u80fd\u5df2\u6709\u66f4\u65b0\uff0c\u8bf7\u7ed3\u5408\u6700\u65b0\u5b9e\u8df5\u53c2\u8003\u3002<\/em><\/p>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>1. \u5f15\u8a00\uff1a\u4e3a\u4ec0\u4e48\u5927\u6a21\u578b\u5168\u6808\u5f00\u53d1\u6210\u4e3a\u5fc5\u4fee\u8bfe 2023 \u5e74\uff0c\u5927\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u5b8c\u6210\u4e86\u4ece&#8221;\u5b9e\u9a8c\u5ba4\u73a9\u5177 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3618,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":[],"categories":[164,163],"tags":[167,168],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3566"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3566"}],"version-history":[{"count":7,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3566\/revisions"}],"predecessor-version":[{"id":3625,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3566\/revisions\/3625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/media\/3618"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}