{"id":654,"date":"2026-08-09T16:29:48","date_gmt":"2026-08-09T08:29:48","guid":{"rendered":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/2026\/08\/09\/ragflow-knowledge-base-config\/"},"modified":"2026-08-10T01:07:32","modified_gmt":"2026-08-09T17:07:32","slug":"ragflow-knowledge-base-config","status":"publish","type":"post","link":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/2026\/08\/09\/ragflow-knowledge-base-config\/","title":{"rendered":"RAGFlow \u77e5\u8bc6\u5e93\u5168\u6d41\u7a0b\u914d\u7f6e\u624b\u518c"},"content":{"rendered":"<p class=\"cp-lead\">\u4e00\u4efd\u5728 WSL2 + RTX 3080\uff0820GB\uff09\u4e0a\u914d\u7f6e RAGFlow v0.26.4 \u77e5\u8bc6\u5e93\u7684\u5168\u7a0b\u5b9e\u64cd\u624b\u518c\u3002\u4ece\u6a21\u578b\u63a5\u5165\u3001\u77e5\u8bc6\u5e93\u521b\u5efa\u4e0e\u89e3\u6790\u3001\u5bf9\u8bdd\u52a9\u624b\u4e0e\u8bb0\u5fc6\u914d\u7f6e\uff0c\u5230\u516c\u5f00\u8bbf\u95ee\uff08\u5206\u4eab\u94fe\u63a5 \/ API \/ OpenAI \u517c\u5bb9\uff09\u3001\u68c0\u67e5\u6e05\u5355\u3001\u53c2\u6570\u901f\u67e5\u4e0e\u6545\u969c\u6392\u67e5\uff0c\u9010\u73af\u8282\u914d\u56fe\u8bf4\u660e\u3002<\/p>\n<h1>RAGFlow \u77e5\u8bc6\u5e93\u5168\u6d41\u7a0b\u914d\u7f6e\u624b\u518c<\/h1>\n<blockquote><p>\u73af\u5883\uff1aWSL2 Ubuntu + RTX 3080 20GB + Docker \u00a0<br \/>RAGFlow v0.26.4 + Ollama \u00a0<br \/>\u751f\u6210\u65e5\u671f\uff1a2026-08-08<\/p><\/blockquote>\n<hr>\n<h2>\u4e00\u3001\u6574\u4f53\u67b6\u6784<\/h2>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image1.png\" alt=\"image1.png\" width=\"1675\" height=\"758\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u4e8c\u3001\u6a21\u578b\u914d\u7f6e\u8be6\u89e3<\/h2>\n<h3>2.1 \u6a21\u578b\u6e05\u5355<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image2.png\" alt=\"image2.png\" width=\"747\" height=\"152\" loading=\"lazy\"><\/figure>\n<h3>2.2 \u5404\u6a21\u578b\u5728\u77e5\u8bc6\u5e93\u4e2d\u7684\u89d2\u8272<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image3.png\" alt=\"image3.png\" width=\"1907\" height=\"294\" loading=\"lazy\"><\/figure>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image4.png\" alt=\"image4.png\" width=\"648\" height=\"267\" loading=\"lazy\"><\/figure>\n<h3>2.3 \u6a21\u578b\u6dfb\u52a0\u65b9\u5f0f<\/h3>\n<h4>\u65b9\u5f0f\u4e00\uff1a\u901a\u8fc7 RAGFlow Web \u754c\u9762\uff08\u63a8\u8350\uff09<\/h4>\n<p>1. \u8fdb\u5165 <strong>\u7cfb\u7edf\u8bbe\u7f6e \u2192 \u6a21\u578b\u63d0\u4f9b\u5546 \u2192 Ollama<\/strong><\/p>\n<p>2. \u70b9\u51fb <strong>+ \u6dfb\u52a0 Ollama \u5b9e\u4f8b<\/strong><\/p>\n<p>3. \u586b\u5199\uff1a<\/p>\n<ul>\n<li>\u5b9e\u4f8b\u540d\u79f0\uff1a<code>ollama<\/code><\/li>\n<li>\u57fa\u7840 URL\uff1a<code>http:\/\/ragflow-ollama:11434<\/code><\/li>\n<li>API Key\uff1a(\u53ef\u4ee5\u7559\u7a7a)<\/li>\n<\/ul>\n<p>1. \u70b9\u51fb <strong>\u9a8c\u8bc1<\/strong> \u2014 \u9a8c\u8bc1\u901a\u8fc7\u540e\u6a21\u578b\u5217\u8868\u81ea\u52a8\u52a0\u8f7d<\/p>\n<p>2. \u9009\u62e9\u9700\u8981\u7684\u6a21\u578b\u6dfb\u52a0<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image5.png\" alt=\"image5.png\" width=\"1738\" height=\"733\" loading=\"lazy\"><\/figure>\n<h4>\u65b9\u5f0f\u4e8c\uff1a\u901a\u8fc7\u6570\u636e\u5e93\u76f4\u63a5\u6dfb\u52a0\uff08\u754c\u9762\u62a5\u9519\u65f6\u5907\u7528\uff09<\/h4>\n<pre class=\"cp-code\"><code>-- \u6dfb\u52a0\u6a21\u578b\u5b9e\u4f8b\r\nINSERT INTO tenant_model_instance (id, create_time, create_date, update_time, update_date, instance_name, provider_id, api_key, status, extra)\r\nSELECT '&lt;\u552f\u4e00ID&gt;', UNIX_TIMESTAMP(), NOW(), UNIX_TIMESTAMP(), NOW(),\r\n\u00a0 '&lt;\u5b9e\u4f8b\u540d&gt;', p.id, 'ollama', 'active',\r\n\u00a0 '{\"base_url\": \"http:\/\/ragflow-ollama:11434\", \"region\": \"default\"}'\r\nFROM tenant_model_provider p WHERE p.provider_name = 'Ollama' LIMIT 1;\r\n-- \u6dfb\u52a0\u6a21\u578b\u8bb0\u5f55\r\nINSERT INTO tenant_model (id, create_time, create_date, update_time, update_date,\r\n\u00a0 model_name, provider_id, instance_id, model_type, status, extra)\r\nSELECT '&lt;\u552f\u4e00ID&gt;', UNIX_TIMESTAMP(), NOW(), UNIX_TIMESTAMP(), NOW(),\r\n\u00a0 '&lt;\u6a21\u578b\u540d&gt;', p.id, '&lt;\u5b9e\u4f8bID&gt;', '&lt;\u6a21\u578b\u7c7b\u578b&gt;', 'active', '{}'\r\nFROM tenant_model_provider p WHERE p.provider_name = 'Ollama' LIMIT 1;<\/code><\/pre>\n<p>\u6ce8\uff1aextra \u5b57\u6bb5\u5fc5\u987b\u662f\u5408\u6cd5 JSON\uff08\u53cc\u5f15\u53f7\uff09\uff0c\u5426\u5219\u4f1a\u89e6\u53d1 JSONDecodeError \u5bfc\u81f4 102 \u9519\u8bef\u3002<\/p>\n<h3>2.4 \u8bbe\u7f6e\u9ed8\u8ba4\u6a21\u578b<\/h3>\n<p>\u8fdb\u5165 <strong>\u7cfb\u7edf\u8bbe\u7f6e \u2192 \u7cfb\u7edf\u6a21\u578b\u8bbe\u7f6e\uff08Set default models\uff09<\/strong>\uff1a<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image6.png\" alt=\"image6.png\" width=\"632\" height=\"268\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u4e09\u3001\u77e5\u8bc6\u5e93\u521b\u5efa\u4e0e\u914d\u7f6e<\/h2>\n<h3>3.1 \u521b\u5efa\u77e5\u8bc6\u5e93<\/h3>\n<p>1. \u70b9\u51fb\u9876\u90e8\u5bfc\u822a <strong>\u77e5\u8bc6\u5e93<\/strong> \u2192 <strong>+ \u65b0\u5efa\u77e5\u8bc6\u5e93<\/strong><\/p>\n<p>2. \u586b\u5199\u57fa\u672c\u4fe1\u606f\uff1a<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image7.png\" alt=\"image7.png\" width=\"639\" height=\"228\" loading=\"lazy\"><\/figure>\n<h3>3.2 \u89e3\u6790\u65b9\u5f0f\u9009\u62e9<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image8.png\" alt=\"image8.png\" width=\"639\" height=\"347\" loading=\"lazy\"><\/figure>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image9.png\" alt=\"image9.png\" width=\"941\" height=\"617\" loading=\"lazy\"><\/figure>\n<h3>3.3 \u4e0a\u4f20\u6587\u6863<\/h3>\n<p>1. \u8fdb\u5165\u77e5\u8bc6\u5e93 \u2192 <strong>\u6587\u4ef6\u5217\u8868<\/strong> \u2192 <strong>+ \u65b0\u589e\u6587\u4ef6<\/strong><\/p>\n<p>2. \u652f\u6301\u683c\u5f0f\uff1aPDF\u3001Word\u3001Excel\u3001PPT\u3001TXT\u3001Markdown\u3001\u56fe\u7247\u7b49<\/p>\n<p>3. \u4e0a\u4f20\u540e\u81ea\u52a8\u5f00\u59cb\u89e3\u6790\uff0c\u7b49\u5f85\u8fdb\u5ea6\u5230 100%<\/p>\n<h3>3.4 \u89e3\u6790\u8fc7\u7a0b\u8be6\u89e3<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image10.png\" alt=\"image10.png\" width=\"1873\" height=\"582\" loading=\"lazy\"><\/figure>\n<p><strong>\u5206\u5757\uff08Chunking\uff09<\/strong>\uff1a\u5c06\u957f\u6587\u6863\u6309\u8bed\u4e49\u5207\u5206\u4e3a 500-1000 token \u7684\u5c0f\u5757\uff0c\u6bcf\u5757\u72ec\u7acb\u5411\u91cf\u5316\uff0c\u68c0\u7d22\u65f6\u6309\u5757\u5339\u914d\u3002<\/p>\n<hr>\n<h2>\u56db\u3001\u5bf9\u8bdd\u52a9\u624b\u914d\u7f6e<\/h2>\n<h3>4.1 \u521b\u5efa\u5bf9\u8bdd<\/h3>\n<p>1. \u70b9\u51fb\u9876\u90e8\u5bfc\u822a <strong>\u804a\u5929<\/strong> \u2192 <strong>+ \u65b0\u5efa\u5bf9\u8bdd<\/strong><\/p>\n<p>2. \u914d\u7f6e\uff1a<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image11.png\" alt=\"image11.png\" width=\"633\" height=\"149\" loading=\"lazy\"><\/figure>\n<h3>4.2 Prompt\uff08\u7cfb\u7edf\u63d0\u793a\u8bcd\uff09\u914d\u7f6e<\/h3>\n<p>RAGFlow \u9ed8\u8ba4 Prompt \u6a21\u677f\uff1a<\/p>\n<p>\u4f60\u662f\u4e00\u4e2a\u667a\u80fd\u52a9\u624b\uff0c\u8bf7\u603b\u7ed3\u77e5\u8bc6\u5e93\u7684\u5185\u5bb9\u6765\u56de\u7b54\u95ee\u9898\uff0c\u8bf7\u5217\u4e3e\u77e5\u8bc6\u5e93\u4e2d\u7684\u6570\u636e\u8be6\u7ec6\u56de\u7b54\u3002<\/p>\n<p>\u5f53\u6240\u6709\u77e5\u8bc6\u5e93\u5185\u5bb9\u90fd\u4e0e\u95ee\u9898\u65e0\u5173\u65f6\uff0c\u4f60\u7684\u56de\u7b54\u5fc5\u987b\u5305\u62ec&#8221;\u77e5\u8bc6\u5e93\u4e2d\u672a\u627e\u5230\u60a8\u8981\u7684\u7b54\u6848\uff01&#8221;\u8fd9\u53e5\u8bdd\u3002<\/p>\n<p>\u56de\u7b54\u9700\u8981\u8003\u8651\u804a\u5929\u5386\u53f2\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u77e5\u8bc6\u5e93\uff1a<\/p>\n<p>{knowledge}<\/p>\n<p>\u4ee5\u4e0a\u662f\u77e5\u8bc6\u5e93\u3002<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image12.png\" alt=\"image12.png\" width=\"741\" height=\"171\" loading=\"lazy\"><\/figure>\n<h3>4.3 \u9ad8\u7ea7\u914d\u7f6e<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image13.png\" alt=\"image13.png\" width=\"748\" height=\"300\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u4e94\u3001\u8bb0\u5fc6\uff08Memory\uff09\u914d\u7f6e<\/h2>\n<h3>5.1 \u529f\u80fd\u8bf4\u660e<\/h3>\n<p>\u8bb0\u5fc6\u6a21\u5757\u8ba9\u5bf9\u8bdd\u52a9\u624b\u80fd<strong>\u8de8\u4f1a\u8bdd\u8bb0\u4f4f\u7528\u6237\u4fe1\u606f<\/strong>\uff0c\u5b9e\u73b0\u957f\u671f\u4e2a\u6027\u5316\u5bf9\u8bdd\u3002<\/p>\n<h3>5.2 \u521b\u5efa\u8bb0\u5fc6<\/h3>\n<p>1. \u70b9\u51fb\u9876\u90e8\u5bfc\u822a <strong>\u8bb0\u5fc6<\/strong> \u2192 <strong>+ \u65b0\u5efa\u8bb0\u5fc6<\/strong><\/p>\n<p>2. \u914d\u7f6e\uff1a<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image14.png\" alt=\"image14.png\" width=\"743\" height=\"188\" loading=\"lazy\"><\/figure>\n<h3>5.3 \u5de5\u4f5c\u6d41\u7a0b<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image15.png\" alt=\"image15.png\" width=\"1893\" height=\"317\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u516d\u3001\u516c\u5f00\u8bbf\u95ee\u914d\u7f6e<\/h2>\n<h3>6.1 \u65b9\u5f0f\u4e00\uff1a\u5bf9\u8bdd\u5206\u4eab\u94fe\u63a5\uff08\u63a8\u8350\uff09<\/h3>\n<p>1. \u8fdb\u5165 <strong>\u804a\u5929<\/strong> \u2192 \u70b9\u51fb\u5df2\u521b\u5efa\u5bf9\u8bdd\u7684 <strong>\u22ef<\/strong> \u2192 <strong>\u5d4c\u5165\uff08Embed\uff09<\/strong><\/p>\n<p>2. \u83b7\u53d6\u5206\u4eab\u94fe\u63a5\u6216 iframe \u4ee3\u7801<\/p>\n<p>3. \u4efb\u4f55\u4eba\u901a\u8fc7\u94fe\u63a5\u5373\u53ef\u76f4\u63a5\u95ee\u7b54\uff0c\u65e0\u9700\u767b\u5f55<\/p>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image16.png\" alt=\"image16.png\" width=\"1191\" height=\"506\" loading=\"lazy\"><\/figure>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image17.png\" alt=\"image17.png\" width=\"1089\" height=\"665\" loading=\"lazy\"><\/figure>\n<h3>6.2 \u65b9\u5f0f\u4e8c\uff1aAPI \u5bf9\u5916\u670d\u52a1<\/h3>\n<pre class=\"cp-code\"><code># \u83b7\u53d6 API Key\uff1a\u7cfb\u7edf\u8bbe\u7f6e \u2192 API Key\r\ncurl http:\/\/localhost:9380\/api\/v1\/chats\/{chat_id}\/completions \r\n\u00a0 -H \"Authorization: Bearer ragflow-xxxxxxxx\" \r\n\u00a0 -H \"Content-Type: application\/json\" \r\n\u00a0 -d '{\r\n\u00a0 \u00a0 \"question\": \"VMware NSX \u5982\u4f55\u914d\u7f6e\u5fae\u5206\u6bb5\uff1f\",\r\n\u00a0 \u00a0 \"stream\": false\r\n\u00a0 }'<\/code><\/pre>\n<h3>6.3 \u65b9\u5f0f\u4e09\uff1aOpenAI \u517c\u5bb9 API<\/h3>\n<p>RAGFlow \u63d0\u4f9b OpenAI \u683c\u5f0f\u7684\u517c\u5bb9\u63a5\u53e3\uff0c\u53ef\u76f4\u63a5\u63a5\u5165\u5176\u4ed6\u5e94\u7528\uff1a<\/p>\n<pre class=\"cp-code\"><code>curl http:\/\/localhost:9380\/api\/v1\/openai\/completions \r\n\u00a0 -H \"Authorization: Bearer ragflow-xxxxxxxx\" \r\n\u00a0 -H \"Content-Type: application\/json\" \r\n\u00a0 -d '{\r\n\u00a0 \u00a0 \"model\": \"qwen2.5:14b\",\r\n\u00a0 \u00a0 \"messages\": [{\"role\": \"user\", \"content\": \"\u4f60\u7684\u95ee\u9898\"}],\r\n\u00a0 \u00a0 \"stream\": false\r\n\u00a0 }'<\/code><\/pre>\n<hr>\n<h2>\u4e03\u3001\u5b8c\u6574\u914d\u7f6e\u68c0\u67e5\u6e05\u5355<\/h2>\n<h3>\u57fa\u7840\u8bbe\u65bd\u5c42<\/h3>\n<ul class=\"cp-checklist\">\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> Docker + Docker Compose \u5df2\u5b89\u88c5<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> NVIDIA Container Toolkit \u5df2\u5b89\u88c5<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> NVIDIA runtime \u5df2\u6ce8\u518c\u5230 Docker<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> RAGFlow \u5bb9\u5668\u5168\u90e8\u8fd0\u884c\uff086 \u4e2a\u670d\u52a1\uff09<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> Ollama \u5bb9\u5668\u8fd0\u884c\u4e14 GPU \u53ef\u7528<\/li>\n<\/ul>\n<h3>\u6a21\u578b\u5c42<\/h3>\n<ul class=\"cp-checklist\">\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> <code>qwen2.5:14b<\/code> \u2014 Chat \u6a21\u578b\u5df2\u6dfb\u52a0\u5e76\u6fc0\u6d3b<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> <code>bge-m3:latest<\/code> \u2014 Embedding \u6a21\u578b\u5df2\u6dfb\u52a0\u5e76\u6fc0\u6d3b<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> <code>minicpm-v:latest<\/code> \u2014 Vision \u6a21\u578b\u5df2\u6dfb\u52a0\u5e76\u6fc0\u6d3b<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u7cfb\u7edf\u9ed8\u8ba4\u6a21\u578b\u5df2\u8bbe\u7f6e\uff08LLM \/ Embedding \/ VLM\uff09<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> <code>LLM_TIMEOUT_SECONDS=60<\/code> \u5df2\u914d\u7f6e\uff08\u907f\u514d\u9a8c\u8bc1\u8d85\u65f6\uff09<\/li>\n<\/ul>\n<h3>\u77e5\u8bc6\u5e93\u5c42<\/h3>\n<ul class=\"cp-checklist\">\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u77e5\u8bc6\u5e93\u5df2\u521b\u5efa\uff0cEmbedding \u6a21\u578b\u9009\u62e9\u6b63\u786e<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u6587\u6863\u5df2\u4e0a\u4f20\u5e76\u89e3\u6790\u5b8c\u6210\uff08100%\uff09<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u68c0\u7d22\u6d4b\u8bd5\u9a8c\u8bc1\u6b63\u5e38<\/li>\n<\/ul>\n<h3>\u5bf9\u8bdd\u5c42<\/h3>\n<ul class=\"cp-checklist\">\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u5bf9\u8bdd\u52a9\u624b\u5df2\u521b\u5efa\u5e76\u5173\u8054\u77e5\u8bc6\u5e93<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> LLM \u6a21\u578b\u9009\u62e9\u6b63\u786e<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> Prompt \u5df2\u914d\u7f6e<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u2713<\/span> \u5f15\u7528\u3001\u591a\u8f6e\u5bf9\u8bdd\u4f18\u5316\u7b49\u9ad8\u7ea7\u914d\u7f6e\u5df2\u8bbe\u7f6e<\/li>\n<\/ul>\n<h3>\u8bbf\u95ee\u5c42<\/h3>\n<ul class=\"cp-checklist\">\n<li class=\"cp-check\"><span class=\"cp-box\">\u25a1<\/span> \u5206\u4eab\u94fe\u63a5\u5df2\u751f\u6210\uff08\u6309\u9700\uff09<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u25a1<\/span> API Key \u5df2\u521b\u5efa\uff08\u6309\u9700\uff09<\/li>\n<li class=\"cp-check\"><span class=\"cp-box\">\u25a1<\/span> \u8bb0\u5fc6\u6a21\u5757\u5df2\u914d\u7f6e\uff08\u6309\u9700\uff09<\/li>\n<\/ul>\n<hr>\n<h2>\u516b\u3001\u5173\u952e\u914d\u7f6e\u53c2\u6570\u901f\u67e5<\/h2>\n<h3>.env \u5173\u952e\u53c2\u6570<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image18.png\" alt=\"image18.png\" width=\"745\" height=\"346\" loading=\"lazy\"><\/figure>\n<h3>\u77e5\u8bc6\u5e93\u5173\u952e\u53c2\u6570<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image19.png\" alt=\"image19.png\" width=\"743\" height=\"228\" loading=\"lazy\"><\/figure>\n<h3>\u5bf9\u8bdd\u5173\u952e\u53c2\u6570<\/h3>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image20.png\" alt=\"image20.png\" width=\"749\" height=\"233\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u4e5d\u3001\u6545\u969c\u6392\u67e5\u7d22\u5f15<\/h2>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image21.png\" alt=\"image21.png\" width=\"745\" height=\"304\" loading=\"lazy\"><\/figure>\n<hr>\n<h2>\u5341\u3001\u670d\u52a1\u7aef\u53e3\u4e0e\u8bbf\u95ee\u5730\u5740<\/h2>\n<figure class=\"cp-figure\"><img decoding=\"async\" src=\"http:\/\/nelliemylove.cn\/nelliemylove\/wp-content\/themes\/cyberpunk-blog\/assets\/images\/posts\/rag42\/image22.png\" alt=\"image22.png\" width=\"748\" height=\"273\" loading=\"lazy\"><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4efd\u5728 WSL2 + RTX 3080 \u4e0a\u914d\u7f6e RAGFlow \u77e5\u8bc6\u5e93\u7684\u5168\u7a0b\u5b9e\u64cd\u624b\u518c\u3002\u6db5\u76d6\u6a21\u578b\u63a5\u5165\u3001\u77e5\u8bc6\u5e93\u521b\u5efa\u4e0e\u89e3\u6790\u3001\u5bf9\u8bdd\u52a9\u624b\u4e0e\u8bb0\u5fc6\u3001\u516c\u5f00\u8bbf\u95ee\u3001\u68c0\u67e5\u6e05\u5355\u4e0e\u6545\u969c\u6392\u67e5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,26,45],"tags":[46,47,48],"class_list":["post-654","post","type-post","status-publish","format-standard","hentry","category-ai","category-tech-share","category-small-model-app","tag-ai","tag-tech-share","tag-small-model-app"],"_links":{"self":[{"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/posts\/654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/comments?post=654"}],"version-history":[{"count":1,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":655,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions\/655"}],"wp:attachment":[{"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nelliemylove.cn\/nelliemylove\/index.php\/wp-json\/wp\/v2\/tags?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}