{"id":84,"date":"2026-05-30T05:11:49","date_gmt":"2026-05-30T05:11:49","guid":{"rendered":"https:\/\/blog.joezhou.top\/rag-ai\/"},"modified":"2026-05-30T05:11:49","modified_gmt":"2026-05-30T05:11:49","slug":"rag-ai","status":"publish","type":"post","link":"https:\/\/www.joezhou.top\/?p=84","title":{"rendered":"RAG \u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff1a\u4f01\u4e1a\u77e5\u8bc6\u5e93\u7684 AI \u5347\u7ea7\u4e4b\u8def"},"content":{"rendered":"<p>\u4f5c\u8005\uff1a\u4e91\u5b9d | \u53d1\u5e03\u65f6\u95f4\uff1a2026-05-30<\/p>\n<hr \/>\n<p>\u5728\u4f01\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e2d\uff0c&#8221;\u8ba9AI\u8bfb\u61c2\u4f01\u4e1a\u5185\u90e8\u77e5\u8bc6&#8221;\u662f\u6700\u88ab\u671f\u5f85\u7684\u80fd\u529b\u4e4b\u4e00\u3002\u65e0\u8bba\u662f\u5ba2\u670d\u573a\u666f\u7684\u667a\u80fd\u95ee\u7b54\uff0c\u8fd8\u662f\u6280\u672f\u90e8\u95e8\u7684\u6545\u969c\u8bca\u65ad\uff0c\u80cc\u540e\u90fd\u9700\u8981\u4e00\u4e2a\u5173\u952e\u6280\u672f\u7684\u652f\u6491\u2014\u2014<strong>RAG\uff08Retrieval-Augmented Generation\uff0c\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff09<\/strong>\u3002<\/p>\n<p>\u672c\u6587\u4ece\u6280\u672f\u539f\u7406\u5230\u4f01\u4e1a\u843d\u5730\uff0c\u7cfb\u7edf\u68b3\u7406 RAG \u7684\u5b8c\u6574\u5b9e\u8df5\u8def\u5f84\uff0c\u5e76\u4ece\u4fe1\u606f\u5b89\u5168\u89c6\u89d2\u5206\u6790\u5f15\u5165 RAG \u65f6\u9700\u8981\u5173\u6ce8\u7684\u98ce\u9669\u63a7\u5236\u70b9\u3002<\/p>\n<hr \/>\n<h2 id=\"rag\">\u4e00\u3001\u4ec0\u4e48\u662f RAG\uff1f\u4e00\u53e5\u8bdd\u8bf4\u6e05\u695a<\/h2>\n<p>RAG = <strong>\u5148\u68c0\u7d22\uff0c\u518d\u751f\u6210<\/strong>\u3002<\/p>\n<p>\u4f20\u7edf\u5927\u6a21\u578b\u7684\u75db\u70b9\u662f&#8221;\u8bad\u7ec3\u6570\u636e\u622a\u6b62\u3001\u4e0d\u77e5\u9053\u4f01\u4e1a\u5185\u90e8\u4fe1\u606f\u3001\u53ef\u80fd\u7f16\u9020\u7b54\u6848&#8221;\u3002RAG \u7684\u505a\u6cd5\u662f\uff1a\u5148\u4ece\u4f01\u4e1a\u7684\u77e5\u8bc6\u5e93\u4e2d\u68c0\u7d22\u51fa\u76f8\u5173\u6587\u6863\u7247\u6bb5\uff0c\u518d\u628a\u68c0\u7d22\u7ed3\u679c\u548c\u7528\u6237\u95ee\u9898\u4e00\u8d77\u5582\u7ed9\u5927\u6a21\u578b\uff0c\u8ba9\u5927\u6a21\u578b\u57fa\u4e8e\u771f\u5b9e\u8d44\u6599\u6765\u56de\u7b54\u3002<\/p>\n<pre class=\"codehilite\"><code>\u7528\u6237\u63d0\u95ee \u2192 \u68c0\u7d22\u4f01\u4e1a\u77e5\u8bc6\u5e93 \u2192 \u83b7\u53d6\u76f8\u5173\u6587\u6863\u7247\u6bb5 \u2192 \u5927\u6a21\u578b\u57fa\u4e8e\u6587\u6863\u751f\u6210\u56de\u7b54 \u2192 \u8f93\u51fa\u7ed9\u7528\u6237\n<\/code><\/pre>\n<p><strong>\u6253\u4e2a\u6bd4\u65b9\uff1a<\/strong>\u5927\u6a21\u578b\u50cf\u4e00\u4e2a\u535a\u5b66\u7684\u8003\u751f\uff0cRAG \u5c31\u662f\u5728\u5f00\u5377\u8003\u8bd5\u2014\u2014\u5148\u7ffb\u4e66\u627e\u5230\u76f8\u5173\u7ae0\u8282\uff0c\u518d\u57fa\u4e8e\u627e\u5230\u7684\u5185\u5bb9\u4f5c\u7b54\u3002\u7b54\u6848\u6709\u636e\u53ef\u67e5\uff0c\u4e0d\u5bb9\u6613\u80e1\u8bf4\u516b\u9053\u3002<\/p>\n<hr \/>\n<h2 id=\"rag_1\">\u4e8c\u3001RAG \u7684\u6838\u5fc3\u6280\u672f\u73af\u8282<\/h2>\n<p>\u4e00\u4e2a\u5b8c\u6574\u7684 RAG \u7cfb\u7edf\u7531\u4e94\u4e2a\u73af\u8282\u7ec4\u6210\uff0c\u6bcf\u4e2a\u73af\u8282\u7684\u8d28\u91cf\u90fd\u76f4\u63a5\u5f71\u54cd\u6700\u7ec8\u6548\u679c\u3002<\/p>\n<h3 id=\"_1\">\u73af\u8282\u4e00\uff1a\u77e5\u8bc6\u6587\u6863\u5904\u7406<\/h3>\n<p>\u4f01\u4e1a\u5185\u90e8\u6587\u6863\u683c\u5f0f\u591a\u6837\u2014\u2014Word\u3001PDF\u3001Excel\u3001\u7f51\u9875\u3001\u90ae\u4ef6\u3001\u5de5\u5355\u8bb0\u5f55\u3002RAG \u7684\u7b2c\u4e00\u6b65\u662f\u628a\u8fd9\u4e9b\u6587\u6863\u6e05\u6d17\u3001\u5206\u5757\uff08chunking\uff09\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5904\u7406\u6b65\u9aa4<\/th>\n<th>\u8bf4\u660e<\/th>\n<th>\u5e38\u89c1\u95ee\u9898<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u683c\u5f0f\u8f6c\u6362<\/td>\n<td>\u5c06\u5404\u79cd\u683c\u5f0f\u7edf\u4e00\u8f6c\u4e3a\u7eaf\u6587\u672c\u6216 Markdown<\/td>\n<td>PDF \u8868\u683c\u4e22\u5931\u7ed3\u6784\u3001\u626b\u63cf\u4ef6\u65e0\u6cd5\u63d0\u53d6<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u672c\u6e05\u6d17<\/td>\n<td>\u53bb\u9664\u9875\u7709\u9875\u811a\u3001\u6c34\u5370\u3001\u91cd\u590d\u6bb5\u843d<\/td>\n<td>\u6a21\u677f\u683c\u5f0f\u6b8b\u7559\u5e72\u6270\u68c0\u7d22\u8d28\u91cf<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u672c\u5206\u5757<\/td>\n<td>\u5c06\u957f\u6587\u6863\u5207\u6210 200-1000 \u5b57\u7684\u7247\u6bb5<\/td>\n<td>\u5757\u592a\u5927\u68c0\u7d22\u4e0d\u7cbe\u51c6\uff0c\u592a\u5c0f\u4e22\u5931\u4e0a\u4e0b\u6587<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u5206\u5757\u7b56\u7565\u5efa\u8bae\uff1a<\/strong><br \/>\n&#8211; \u6309\u6bb5\u843d\u81ea\u7136\u5206\u5272\uff0c\u4fdd\u6301\u8bed\u4e49\u5b8c\u6574<br \/>\n&#8211; \u6bcf\u4e2a\u5757\u4fdd\u7559\u539f\u6587\u6863\u7684\u6765\u6e90\u4fe1\u606f\uff08\u6587\u4ef6\u540d\u3001\u9875\u7801\u3001\u7ae0\u8282\uff09<br \/>\n&#8211; \u5757\u5927\u5c0f\u5efa\u8bae 500-800 \u5b57\uff0c\u91cd\u53e0 50-100 \u5b57<\/p>\n<h3 id=\"embedding\">\u73af\u8282\u4e8c\uff1a\u5411\u91cf\u5316\uff08Embedding\uff09<\/h3>\n<p>\u5c06\u6587\u672c\u5757\u8f6c\u5316\u4e3a\u9ad8\u7ef4\u5411\u91cf\uff08\u901a\u5e38 768-1536 \u7ef4\uff09\uff0c\u4f7f\u5f97\u8bed\u4e49\u76f8\u8fd1\u7684\u6587\u672c\u5728\u5411\u91cf\u7a7a\u95f4\u4e2d\u4e5f\u76f8\u8fd1\u3002<\/p>\n<p><strong>\u4e3b\u6d41 Embedding \u6a21\u578b\u5bf9\u6bd4\uff1a<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>\u6a21\u578b<\/th>\n<th>\u7ef4\u5ea6<\/th>\n<th>\u4e2d\u6587\u6548\u679c<\/th>\n<th>\u90e8\u7f72\u65b9\u5f0f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>BAAI\/bge-large-zh<\/td>\n<td>1024<\/td>\n<td>\u4f18\u79c0<\/td>\n<td>\u5f00\u6e90\u672c\u5730\u90e8\u7f72<\/td>\n<\/tr>\n<tr>\n<td>OpenAI text-embedding-3<\/td>\n<td>1536<\/td>\n<td>\u826f\u597d<\/td>\n<td>API \u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u963f\u91cc text-embedding-v3<\/td>\n<td>1024<\/td>\n<td>\u4f18\u79c0<\/td>\n<td>API \u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td>m3e-base<\/td>\n<td>768<\/td>\n<td>\u826f\u597d<\/td>\n<td>\u5f00\u6e90\u672c\u5730\u90e8\u7f72<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u9009\u578b\u5efa\u8bae\uff1a<\/strong>\u5bf9\u6570\u636e\u5b89\u5168\u8981\u6c42\u9ad8\u7684\u4f01\u4e1a\uff08\u5982\u91d1\u878d\u673a\u6784\u3001\u519b\u5de5\u4f01\u4e1a\uff09\uff0c\u4f18\u5148\u9009\u62e9\u5f00\u6e90\u6a21\u578b\u672c\u5730\u90e8\u7f72\uff0c\u907f\u514d\u5185\u90e8\u6587\u6863\u901a\u8fc7 API \u4f20\u8f93\u5230\u5916\u90e8\u3002<\/p>\n<h3 id=\"_2\">\u73af\u8282\u4e09\uff1a\u5411\u91cf\u6570\u636e\u5e93<\/h3>\n<p>\u5b58\u50a8\u548c\u68c0\u7d22\u5411\u91cf\u7684\u4e13\u7528\u6570\u636e\u5e93\uff0c\u652f\u6301&#8221;\u8bed\u4e49\u76f8\u4f3c\u5ea6\u641c\u7d22&#8221;\u2014\u2014\u4e0d\u662f\u7cbe\u786e\u5339\u914d\u5173\u952e\u8bcd\uff0c\u800c\u662f\u7406\u89e3\u67e5\u8be2\u610f\u56fe\uff0c\u627e\u5230\u8bed\u4e49\u6700\u76f8\u8fd1\u7684\u5185\u5bb9\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5411\u91cf\u6570\u636e\u5e93<\/th>\n<th>\u7279\u70b9<\/th>\n<th>\u9002\u7528\u573a\u666f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Milvus<\/td>\n<td>\u9ad8\u6027\u80fd\uff0c\u652f\u6301\u5341\u4ebf\u7ea7\u5411\u91cf<\/td>\n<td>\u5927\u89c4\u6a21\u4f01\u4e1a\u77e5\u8bc6\u5e93<\/td>\n<\/tr>\n<tr>\n<td>Chroma<\/td>\n<td>\u8f7b\u91cf\uff0c\u5d4c\u5165\u5f0f\uff0c\u4e0a\u624b\u5feb<\/td>\n<td>\u4e2d\u5c0f\u89c4\u6a21\u3001\u5feb\u901f\u539f\u578b<\/td>\n<\/tr>\n<tr>\n<td>FAISS<\/td>\n<td>Meta \u5f00\u6e90\uff0c\u7eaf\u5185\u5b58\u68c0\u7d22<\/td>\n<td>\u5bf9\u6027\u80fd\u8981\u6c42\u6781\u9ad8\u7684\u573a\u666f<\/td>\n<\/tr>\n<tr>\n<td>Elasticsearch 8.x<\/td>\n<td>\u5168\u6587\u68c0\u7d22+\u5411\u91cf\u68c0\u7d22\u878d\u5408<\/td>\n<td>\u5df2\u6709 ES \u57fa\u7840\u8bbe\u65bd\u7684\u4f01\u4e1a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u63a8\u8350\u8def\u5f84\uff1a<\/strong>\u521d\u671f\u7528 Chroma \u5feb\u901f\u9a8c\u8bc1\uff0c\u751f\u4ea7\u73af\u5883\u8fc1\u79fb\u5230 Milvus\u3002<\/p>\n<h3 id=\"_3\">\u73af\u8282\u56db\uff1a\u68c0\u7d22\u4e0e\u6392\u5e8f<\/h3>\n<p>\u7528\u6237\u63d0\u95ee\u540e\uff0c\u7cfb\u7edf\u5728\u5411\u91cf\u6570\u636e\u5e93\u4e2d\u68c0\u7d22\u6700\u76f8\u5173\u7684\u6587\u6863\u5757\u3002\u5b9e\u9645\u90e8\u7f72\u4e2d\uff0c\u901a\u5e38\u9700\u8981<strong>\u6df7\u5408\u68c0\u7d22<\/strong>\u2014\u2014\u8bed\u4e49\u68c0\u7d22 + \u5173\u952e\u8bcd\u68c0\u7d22\u7ed3\u5408\uff0c\u5e76\u5f15\u5165\u91cd\u6392\u5e8f\uff08reranking\uff09\u6a21\u578b\u63d0\u5347\u7cbe\u51c6\u5ea6\u3002<\/p>\n<p><strong>\u68c0\u7d22\u4f18\u5316\u4e09\u4ef6\u5957\uff1a<\/strong><br \/>\n1. <strong>BM25 + \u5411\u91cf\u68c0\u7d22\u878d\u5408<\/strong>\uff1a\u5173\u952e\u8bcd\u7cbe\u786e\u5339\u914d\u548c\u8bed\u4e49\u6a21\u7cca\u5339\u914d\u4e92\u8865<br \/>\n2. <strong>\u91cd\u6392\u5e8f\u6a21\u578b<\/strong>\uff1a\u5bf9\u521d\u7b5b\u7ed3\u679c\u8fdb\u884c\u4e8c\u6b21\u7cbe\u6392\uff08\u5982 bge-reranker\uff09<br \/>\n3. <strong>\u5143\u6570\u636e\u8fc7\u6ee4<\/strong>\uff1a\u6309\u90e8\u95e8\u3001\u65f6\u95f4\u3001\u6587\u6863\u7c7b\u578b\u7b49\u6761\u4ef6\u5148\u8fc7\u6ee4\u518d\u68c0\u7d22<\/p>\n<h3 id=\"_4\">\u73af\u8282\u4e94\uff1a\u5927\u6a21\u578b\u751f\u6210<\/h3>\n<p>\u5c06\u68c0\u7d22\u5230\u7684\u6587\u6863\u7247\u6bb5\u548c\u7528\u6237\u95ee\u9898\u7ec4\u88c5\u6210 Prompt\uff0c\u4ea4\u7ed9\u5927\u6a21\u578b\u751f\u6210\u6700\u7ec8\u56de\u7b54\u3002<\/p>\n<p><strong>Prompt \u7ed3\u6784\u6a21\u677f\uff1a<\/strong><\/p>\n<pre class=\"codehilite\"><code>\u4f60\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u4f01\u4e1a\u77e5\u8bc6\u52a9\u624b\u3002\u8bf7\u6839\u636e\u4ee5\u4e0b\u53c2\u8003\u8d44\u6599\u56de\u7b54\u7528\u6237\u95ee\u9898\u3002\n\u5982\u679c\u53c2\u8003\u8d44\u6599\u4e2d\u627e\u4e0d\u5230\u7b54\u6848\uff0c\u8bf7\u660e\u786e\u544a\u77e5\uff0c\u4e0d\u8981\u7f16\u9020\u3002\n\n\u3010\u53c2\u8003\u8d44\u6599\u3011\n{\u68c0\u7d22\u5230\u7684\u6587\u6863\u7247\u6bb5}\n\n\u3010\u7528\u6237\u95ee\u9898\u3011\n{\u7528\u6237\u8f93\u5165}\n\n\u3010\u56de\u7b54\u8981\u6c42\u3011\n1. \u57fa\u4e8e\u53c2\u8003\u8d44\u6599\u56de\u7b54\uff0c\u6807\u6ce8\u4fe1\u606f\u6765\u6e90\n2. \u56de\u7b54\u7b80\u6d01\u4e13\u4e1a\uff0c\u4e0d\u8d85\u8fc7500\u5b57\n3. \u5982\u679c\u6d89\u53ca\u64cd\u4f5c\u6b65\u9aa4\uff0c\u8bf7\u5206\u6761\u5217\u51fa\n<\/code><\/pre>\n<hr \/>\n<h2 id=\"rag_2\">\u4e09\u3001RAG \u7684\u5178\u578b\u4f01\u4e1a\u5e94\u7528\u573a\u666f<\/h2>\n<h3 id=\"it\">\u573a\u666f\u4e00\uff1aIT \u670d\u52a1\u53f0\u667a\u80fd\u95ee\u7b54<\/h3>\n<p>\u5728 ISO 20000-1 \u4f53\u7cfb\u4e2d\uff0c\u670d\u52a1\u53f0\u662f\u6838\u5fc3\u6d41\u7a0b\u3002\u4f20\u7edf\u670d\u52a1\u53f0\u4f9d\u8d56\u4eba\u5de5\u67e5\u627e\u77e5\u8bc6\u5e93\uff0c\u54cd\u5e94\u65f6\u95f4\u957f\u3001\u8d28\u91cf\u4e0d\u7a33\u5b9a\u3002<\/p>\n<p><strong>RAG \u8d4b\u80fd\u540e\uff1a<\/strong><br \/>\n&#8211; \u6545\u969c\u62a5\u544a\u81ea\u52a8\u5339\u914d\u5386\u53f2\u5de5\u5355\u89e3\u51b3\u65b9\u6848<br \/>\n&#8211; \u65b0\u5458\u5de5\u81ea\u52a9\u67e5\u8be2\u64cd\u4f5c\u624b\u518c\u3001\u914d\u7f6e\u89c4\u8303<br \/>\n&#8211; \u670d\u52a1\u53f0\u4eba\u5458\u5feb\u901f\u83b7\u53d6\u6807\u51c6\u56de\u7b54\u6a21\u677f<br \/>\n&#8211; \u5e73\u5747\u54cd\u5e94\u65f6\u95f4\u4ece 30 \u5206\u949f\u964d\u81f3 2 \u5206\u949f<\/p>\n<h3 id=\"_5\">\u573a\u666f\u4e8c\uff1a\u5408\u89c4\u6587\u4ef6\u667a\u80fd\u68c0\u7d22<\/h3>\n<p>\u7ba1\u7406\u4f53\u7cfb\u6587\u4ef6\uff08\u7a0b\u5e8f\u6587\u4ef6\u3001\u4f5c\u4e1a\u6307\u5bfc\u4e66\u3001\u8bb0\u5f55\u8868\u5355\uff09\u901a\u5e38\u591a\u8fbe\u6570\u767e\u4efd\uff0c\u5458\u5de5\u548c\u5ba1\u6838\u5458\u67e5\u627e\u6548\u7387\u5f88\u4f4e\u3002<\/p>\n<p><strong>RAG \u8d4b\u80fd\u540e\uff1a<\/strong><br \/>\n&#8211; &#8220;\u4e0d\u5408\u683c\u54c1\u7684\u5904\u7406\u6d41\u7a0b\u662f\u4ec0\u4e48\uff1f&#8221; \u2192 \u81ea\u52a8\u68c0\u7d22\u5e76\u5f15\u7528\u5bf9\u5e94\u7a0b\u5e8f\u6587\u4ef6\u6761\u6b3e<br \/>\n&#8211; &#8220;\u6700\u8fd1\u4e00\u6b21\u7ba1\u7406\u8bc4\u5ba1\u7684\u6539\u8fdb\u51b3\u8bae\u6709\u54ea\u4e9b\uff1f&#8221; \u2192 \u7cbe\u786e\u5b9a\u4f4d\u5230\u7ba1\u7406\u8bc4\u5ba1\u62a5\u544a\u76f8\u5173\u6bb5\u843d<br \/>\n&#8211; &#8220;\u91c7\u8d2d\u63a7\u5236\u7684\u5177\u4f53\u8981\u6c42\u6709\u54ea\u4e9b\uff1f&#8221; \u2192 \u6c47\u603b\u6240\u6709\u76f8\u5173\u7a0b\u5e8f\u6587\u4ef6\u548c\u4f5c\u4e1a\u6307\u5bfc\u4e66<\/p>\n<h3 id=\"_6\">\u573a\u666f\u4e09\uff1a\u5ba2\u6237\u670d\u52a1\u77e5\u8bc6\u4e2d\u53f0<\/h3>\n<ul>\n<li>\u4ea7\u54c1\u6280\u672f\u89c4\u683c\u81ea\u52a8\u67e5\u8be2<\/li>\n<li>\u5e38\u89c1\u6545\u969c\u8bca\u65ad\u5f15\u5bfc<\/li>\n<li>\u5408\u540c\u6761\u6b3e\u548c\u4ea4\u4ed8\u6807\u51c6\u5feb\u901f\u68c0\u7d22<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"rag_3\">\u56db\u3001\u4ece\u4fe1\u606f\u5b89\u5168\u89c6\u89d2\u770b RAG \u7684\u98ce\u9669<\/h2>\n<p>\u5f15\u5165 RAG \u7cfb\u7edf\u65f6\uff0cISO 27001 \u6846\u67b6\u4e0b\u7684\u4fe1\u606f\u5b89\u5168\u98ce\u9669\u9700\u8981\u91cd\u70b9\u5173\u6ce8\uff1a<\/p>\n<h3 id=\"_7\">\u98ce\u9669\u4e00\uff1a\u6743\u9650\u5931\u63a7\u5bfc\u81f4\u4fe1\u606f\u6cc4\u9732<\/h3>\n<p>RAG \u7cfb\u7edf\u68c0\u7d22\u77e5\u8bc6\u5e93\u65f6\uff0c\u5982\u679c\u4e0d\u5bf9\u6587\u6863\u7684\u8bbf\u95ee\u6743\u9650\u505a\u63a7\u5236\uff0c\u53ef\u80fd\u5bfc\u81f4\u4f4e\u6743\u9650\u5458\u5de5\u901a\u8fc7 RAG \u83b7\u53d6\u672c\u4e0d\u8be5\u770b\u5230\u7684\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5bf9\u5e94 ISO 27001 \u63a7\u5236\u63aa\u65bd\uff1a<\/strong><br \/>\n&#8211; A.8.3 \u4fe1\u606f\u8bbf\u95ee\u9650\u5236\uff1a\u5728\u68c0\u7d22\u5c42\u9762\u52a0\u5165\u6743\u9650\u8fc7\u6ee4\uff0c\u53ea\u68c0\u7d22\u7528\u6237\u6709\u6743\u8bbf\u95ee\u7684\u6587\u6863<br \/>\n&#8211; A.8.2 \u4fe1\u606f\u5206\u7c7b\uff1a\u5bf9\u77e5\u8bc6\u5e93\u6587\u6863\u8fdb\u884c\u5206\u7ea7\u6807\u6ce8\uff08\u516c\u5f00\/\u5185\u90e8\/\u673a\u5bc6\uff09\uff0c\u68c0\u7d22\u65f6\u6309\u7ea7\u522b\u8fc7\u6ee4<\/p>\n<h3 id=\"api\">\u98ce\u9669\u4e8c\uff1aAPI \u8c03\u7528\u5bfc\u81f4\u6570\u636e\u5916\u4f20<\/h3>\n<p>\u5982\u679c Embedding \u6216\u5927\u6a21\u578b\u751f\u6210\u73af\u8282\u4f7f\u7528\u516c\u6709\u4e91 API\uff0c\u4f01\u4e1a\u6587\u6863\u5185\u5bb9\u53ef\u80fd\u4f20\u8f93\u5230\u5916\u90e8\u670d\u52a1\u5668\u3002<\/p>\n<p><strong>\u5bf9\u5e94\u63a7\u5236\u63aa\u65bd\uff1a<\/strong><br \/>\n&#8211; \u654f\u611f\u6587\u6863\uff08\u5982\u8d22\u52a1\u6570\u636e\u3001\u5ba2\u6237\u4fe1\u606f\uff09\u4ec5\u4f7f\u7528\u672c\u5730\u90e8\u7f72\u6a21\u578b<br \/>\n&#8211; \u5bf9\u5916 API \u8c03\u7528\u524d\u8fdb\u884c\u6570\u636e\u8131\u654f\uff08\u53bb\u9664\u59d3\u540d\u3001\u8eab\u4efd\u8bc1\u53f7\u3001\u91d1\u989d\u7b49\uff09<br \/>\n&#8211; \u5ba1\u8ba1\u65e5\u5fd7\u8bb0\u5f55\u6240\u6709 API \u8c03\u7528\u7684\u8f93\u5165\u8f93\u51fa<\/p>\n<h3 id=\"_8\">\u98ce\u9669\u4e09\uff1a\u5927\u6a21\u578b\u8f93\u51fa\u5408\u89c4\u98ce\u9669<\/h3>\n<p>\u5927\u6a21\u578b\u53ef\u80fd\u57fa\u4e8e\u68c0\u7d22\u5185\u5bb9\u751f\u6210\u5e26\u6709\u8bef\u5bfc\u6027\u3001\u6b67\u89c6\u6027\u6216\u4e0d\u51c6\u786e\u7684\u4fe1\u606f\uff0c\u4f01\u4e1a\u5728\u5bf9\u5916\u4f7f\u7528\u65f6\u5b58\u5728\u5408\u89c4\u98ce\u9669\u3002<\/p>\n<p><strong>\u5bf9\u5e94\u63a7\u5236\u63aa\u65bd\uff1a<\/strong><br \/>\n&#8211; \u9ad8\u98ce\u9669\u573a\u666f\uff08\u9762\u5411\u5ba2\u6237\u7684\u56de\u7b54\uff09\u52a0\u5165\u4eba\u5de5\u5ba1\u6838\u73af\u8282<br \/>\n&#8211; \u8bbe\u7f6e&#8221;\u56de\u7b54\u7f6e\u4fe1\u5ea6\u9608\u503c&#8221;\uff0c\u4f4e\u7f6e\u4fe1\u5ea6\u7684\u56de\u7b54\u6807\u8bb0\u4e3a&#8221;\u5f85\u4eba\u5de5\u786e\u8ba4&#8221;<br \/>\n&#8211; \u5b9a\u671f\u62bd\u6837\u8bc4\u4f30 RAG \u8f93\u51fa\u8d28\u91cf\uff0c\u5f62\u6210\u6539\u8fdb\u95ed\u73af<\/p>\n<hr \/>\n<h2 id=\"rag_4\">\u4e94\u3001RAG \u843d\u5730\u7684\u4e09\u9636\u6bb5\u8def\u7ebf\u56fe<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u9636\u6bb5<\/th>\n<th>\u5468\u671f<\/th>\n<th>\u76ee\u6807<\/th>\n<th>\u5173\u952e\u4efb\u52a1<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u6982\u5ff5\u9a8c\u8bc1<\/strong><\/td>\n<td>2-4 \u5468<\/td>\n<td>\u9a8c\u8bc1\u6280\u672f\u53ef\u884c\u6027<\/td>\n<td>\u9009 1-2 \u4e2a\u573a\u666f\uff0c\u7528\u5f00\u6e90\u5de5\u5177\u642d\u5efa\u539f\u578b\uff0c\u8bc4\u4f30\u56de\u7b54\u8d28\u91cf<\/td>\n<\/tr>\n<tr>\n<td><strong>\u8bd5\u70b9\u90e8\u7f72<\/strong><\/td>\n<td>1-2 \u6708<\/td>\n<td>\u5c0f\u8303\u56f4\u751f\u4ea7\u8bd5\u7528<\/td>\n<td>\u63a5\u5165 1 \u4e2a\u90e8\u95e8\u7684\u6587\u6863\uff0c\u90e8\u7f72\u6743\u9650\u63a7\u5236\uff0c\u6536\u96c6\u53cd\u9988\u8fed\u4ee3<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5168\u9762\u63a8\u5e7f<\/strong><\/td>\n<td>3-6 \u6708<\/td>\n<td>\u4f01\u4e1a\u7ea7\u77e5\u8bc6\u4e2d\u53f0<\/td>\n<td>\u591a\u90e8\u95e8\u6587\u6863\u63a5\u5165\uff0c\u4e0e\u73b0\u6709\u7cfb\u7edf\u96c6\u6210\uff0c\u5efa\u7acb\u8fd0\u8425\u8fd0\u7ef4\u673a\u5236<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u6982\u5ff5\u9a8c\u8bc1\u9636\u6bb5\u7684\u6280\u672f\u6808\u63a8\u8350\uff1a<\/strong><br \/>\n&#8211; \u6587\u6863\u5904\u7406\uff1aLangChain + Unstructured<br \/>\n&#8211; Embedding\uff1abge-large-zh\uff08\u672c\u5730\uff09<br \/>\n&#8211; \u5411\u91cf\u6570\u636e\u5e93\uff1aChroma<br \/>\n&#8211; \u5927\u6a21\u578b\uff1aDeepSeek \/ Qwen\uff08\u672c\u5730\u6216API\uff09<br \/>\n&#8211; \u5f00\u53d1\u6846\u67b6\uff1aLangChain \/ LlamaIndex<\/p>\n<hr \/>\n<h2 id=\"rag_5\">\u516d\u3001RAG \u4e0d\u662f\u4e07\u80fd\u7684\u2014\u2014\u77e5\u9053\u5b83\u7684\u8fb9\u754c<\/h2>\n<p>RAG \u5728\u4ee5\u4e0b\u573a\u666f\u6548\u679c\u6709\u9650\uff0c\u9700\u8981\u5176\u4ed6\u65b9\u6848\u914d\u5408\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5c40\u9650<\/th>\n<th>\u8bf4\u660e<\/th>\n<th>\u66ff\u8865\u65b9\u6848<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u9700\u8981\u591a\u6b65\u63a8\u7406\u7684\u590d\u6742\u95ee\u9898<\/td>\n<td>\u5982&#8221;\u4e3a\u4ec0\u4e48\u4e0a\u4e2a\u5b63\u5ea6\u5ba2\u8bc9\u7387\u4e0a\u5347\u4e8630%\uff1f&#8221;<\/td>\n<td>\u63a5\u5165 BI \u7cfb\u7edf\u6570\u636e\u5206\u6790\uff0c\u800c\u975e\u7eaf\u6587\u6863\u68c0\u7d22<\/td>\n<\/tr>\n<tr>\n<td>\u9700\u8981\u5b9e\u65f6\u6570\u636e\u7684\u573a\u666f<\/td>\n<td>\u5982&#8221;\u5f53\u524d\u670d\u52a1\u5668\u8d1f\u8f7d\u662f\u591a\u5c11\uff1f&#8221;<\/td>\n<td>\u63a5\u5165\u76d1\u63a7\u7cfb\u7edf API<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u6863\u8d28\u91cf\u5dee\u65f6<\/td>\n<td>\u5982\u5927\u91cf\u626b\u63cf\u4ef6\u3001\u624b\u5199\u8bb0\u5f55<\/td>\n<td>\u5148\u505a\u597d\u6587\u6863\u6570\u5b57\u5316\u548c\u7ed3\u6784\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u8de8\u6587\u6863\u7efc\u5408\u5206\u6790<\/td>\n<td>\u5982&#8221;\u5bf9\u6bd4\u4e09\u4e2a\u4f9b\u5e94\u5546\u7684\u5ba1\u6838\u62a5\u544a&#8221;<\/td>\n<td>\u5f15\u5165 Agent \u67b6\u6784\uff0c\u652f\u6301\u591a\u6587\u6863\u4ea4\u53c9\u5f15\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 id=\"_9\">\u4e03\u3001\u5c0f\u7ed3<\/h2>\n<p>RAG \u4e0d\u662f\u4e00\u4e2a\u70ab\u9177\u7684\u6280\u672f\u6982\u5ff5\uff0c\u800c\u662f\u4e00\u4e2a\u89e3\u51b3\u5b9e\u9645\u95ee\u9898\u7684\u5de5\u7a0b\u65b9\u6848\u2014\u2014<strong>\u8ba9\u4f01\u4e1a\u6c89\u7761\u7684\u6587\u6863\u8d44\u4ea7\u771f\u6b63\u6d3b\u8d77\u6765<\/strong>\u3002<\/p>\n<p>\u5bf9\u4e8e\u6b63\u5728\u8fdb\u884c\u6570\u5b57\u5316\u8f6c\u578b\u7684\u7ec4\u7ec7\uff0cRAG \u63d0\u4f9b\u4e86\u4e00\u6761\u52a1\u5b9e\u7684\u8def\u5f84\uff1a\u4e0d\u9700\u8981\u91cd\u65b0\u8bad\u7ec3\u6a21\u578b\uff0c\u53ea\u9700\u8981\u628a\u73b0\u6709\u77e5\u8bc6\u4e0e\u5927\u6a21\u578b\u7684\u751f\u6210\u80fd\u529b\u8fde\u63a5\u8d77\u6765\u3002\u4ece\u6982\u5ff5\u9a8c\u8bc1\u5230\u5168\u9762\u63a8\u5e7f\uff0c\u4e00\u4e2a\u5b8c\u6574\u7684 RAG \u9879\u76ee\u901a\u5e38\u9700\u8981 4-8 \u4e2a\u6708\uff0c\u4f46\u56de\u62a5\u662f\u53ef\u89c1\u7684\u2014\u2014\u77e5\u8bc6\u68c0\u7d22\u6548\u7387\u63d0\u5347 5-10 \u500d\uff0c\u5458\u5de5\u548c\u5ba1\u6838\u5458\u4e0d\u518d\u4e3a&#8221;\u627e\u4e0d\u5230\u90a3\u4e00\u4efd\u6587\u4ef6&#8221;\u800c\u5934\u75bc\u3002<\/p>\n<p>\u540c\u65f6\uff0c\u4f5c\u4e3a\u4fe1\u606f\u5b89\u5168\u4ece\u4e1a\u8005\uff0c\u5728\u62e5\u62b1 RAG \u7684\u540c\u65f6\uff0c\u4e0d\u8981\u5fd8\u4e86 ISO 27001 \u7684\u57fa\u672c\u8981\u6c42\u2014\u2014<strong>\u6743\u9650\u63a7\u5236\u3001\u6570\u636e\u5206\u7c7b\u3001\u5ba1\u8ba1\u8ffd\u6eaf<\/strong>\uff0c\u8fd9\u4e9b\u5728 RAG \u7cfb\u7edf\u4e2d\u540c\u6837\u9002\u7528\uff0c\u751a\u81f3\u66f4\u52a0\u91cd\u8981\u3002<\/p>\n<hr \/>\n<p><em>\u4f5c\u8005\uff1a\u4e91\u5b9d\uff0c\u4e13\u6ce8 ISO 9001 \/ ISO 27001 \/ ISO 20000-1 \u5ba1\u6838\u5b9e\u52a1\u4e0e AI \u6280\u672f\u5e94\u7528\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u4e91\u5b9d | \u53d1\u5e03\u65f6\u95f4\uff1a2026-05-30 \u5728\u4f01\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e2d\uff0c&#8221;\u8ba9AI\u8bfb\u61c2\u4f01\u4e1a\u5185\u90e8\u77e5\u8bc6&#038; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,19,26,25,27],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-ai","tag-ai","tag-openclaw","tag-26","tag-25","tag-27"],"_links":{"self":[{"href":"https:\/\/www.joezhou.top\/index.php?rest_route=\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joezhou.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joezhou.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joezhou.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joezhou.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=84"}],"version-history":[{"count":0,"href":"https:\/\/www.joezhou.top\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joezhou.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joezhou.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joezhou.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}