{"id":3721,"date":"2026-11-09T09:00:00","date_gmt":"2026-11-09T01:00:00","guid":{"rendered":"https:\/\/www.ygcloud.com\/knowledge\/?p=3721"},"modified":"2026-11-10T18:55:55","modified_gmt":"2026-11-10T10:55:55","slug":"rag-vector-db-us-de","status":"publish","type":"post","link":"https:\/\/www.ygcloud.com\/knowledge\/3721\/","title":{"rendered":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u6210\u672c\u5bf9\u6bd4"},"content":{"rendered":"<p>\u77e5\u8bc6\u5e93\u7b54\u4e0d\u51c6\uff0c\u5148\u522b\u6025\u7740\u6362\u5927\u6a21\u578b\u3002\u5f88\u591a\u65f6\u5019\u662f\u5411\u91cf\u5e93\u6ca1\u9009\u5bf9\uff1a\u8be5\u8fc7\u6ee4\u7684\u6ca1\u8fc7\u6ee4\uff0c\u8be5\u8d70\u7d22\u5f15\u7684\u8d70\u4e86\u5168\u8868\u626b\u63cf\uff0c\u51e0\u4e07\u6761\u6587\u6863\u5c31\u6162\u5f97\u4e0d\u50cf\u8bdd\u3002RAG \u7684\u53ec\u56de\u8d28\u91cf\uff0c\u4e00\u534a\u5728\u5207\u5206\uff0c\u4e00\u534a\u5728\u5411\u91cf\u5e93\u3002<\/p>\n<h2 id=\"\u4e09\u79cd\u5e38\u89c1\u9009\u62e9\">\u4e09\u79cd\u5e38\u89c1\u9009\u62e9<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u65b9\u6848<\/th>\n<th>\u9002\u5408<\/th>\n<th>\u4ee3\u4ef7<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>pgvector<\/td>\n<td>\u5df2\u6709 Postgres\u3001\u6570\u636e\u91cf\u767e\u4e07\u7ea7\u4ee5\u5185<\/td>\n<td>\u7d22\u5f15\u548c\u8c03\u4f18\u8981\u61c2 Postgres<\/td>\n<\/tr>\n<tr>\n<td>Qdrant<\/td>\n<td>\u4e2d\u7b49\u89c4\u6a21\u3001\u8981\u8fc7\u6ee4\u548c\u6df7\u5408\u68c0\u7d22<\/td>\n<td>\u591a\u4e00\u4e2a\u670d\u52a1\u8981\u7ef4\u62a4<\/td>\n<\/tr>\n<tr>\n<td>Milvus<\/td>\n<td>\u5343\u4e07\u7ea7\u4ee5\u4e0a\u3001\u8981\u5206\u5e03\u5f0f<\/td>\n<td>\u7ec4\u4ef6\u591a\uff0c\u8fd0\u7ef4\u91cd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5c0f\u56e2\u961f\u4ece pgvector \u8d77\u6b65\u6700\u7701\u4e8b\uff1b\u6570\u636e\u91cf\u4e0a\u6765\u518d\u8fc1 Qdrant\uff1bMilvus \u4e0d\u662f\u201c\u66f4\u9ad8\u7ea7\u201d\uff0c\u662f\u201c\u66f4\u91cd\u201d\u3002<\/p>\n<h2 id=\"pgvector-\u600e\u4e48\u7528\">pgvector \u600e\u4e48\u7528<\/h2>\n<pre><code>CREATE EXTENSION vector;\nCREATE TABLE docs (\n  id bigserial PRIMARY KEY,\n  content text,\n  embedding vector(1024)\n);\nCREATE INDEX ON docs USING hnsw (embedding vector_cosine_ops);<\/code><\/pre>\n<p>\u7ef4\u5ea6\u8981\u548c Embedding \u6a21\u578b\u4e00\u81f4\uff0cbge-m3 \u662f 1024 \u7ef4\uff1b\u7d22\u5f15\u5efa HNSW\uff0c\u522b\u7528\u9ed8\u8ba4\u7684 IVFFlat \u5374\u4e0d\u8c03 lists\u3002\u6570\u636e\u91cf\u5c0f\u7684\u65f6\u5019\u5168\u8868\u626b\u63cf\u4e5f\u80fd\u8dd1\uff0c\u4f46\u522b\u62ff\u5b83\u5f53\u957f\u671f\u65b9\u6848\u3002<\/p>\n<h2 id=\"qdrant-\u600e\u4e48\u8dd1\">Qdrant \u600e\u4e48\u8dd1<\/h2>\n<pre><code>docker run -d --name qdrant \\\n  -p 6333:6333 -p 6334:6334 \\\n  -v \/data\/qdrant:\/qdrant\/storage \\\n  qdrant\/qdrant<\/code><\/pre>\n<p>Qdrant \u7684\u5f3a\u9879\u662f payload \u8fc7\u6ee4\uff1a\u6309\u79df\u6237\u3001\u5206\u7c7b\u3001\u65f6\u95f4\u8fc7\u6ee4\u540e\u518d\u68c0\u7d22\uff0c\u6bd4\u201c\u5148\u641c\u518d\u7b5b\u201d\u51c6\u3002\u591a\u79df\u6237\u573a\u666f\u7528 tenant \u5b57\u6bb5\u505a\u8fc7\u6ee4\uff0c\u522b\u4e00\u4e2a collection \u6df7\u6240\u6709\u5ba2\u6237\u3002<\/p>\n<h2 id=\"\u9009\u578b\u770b\u4ec0\u4e48\">\u9009\u578b\u770b\u4ec0\u4e48<\/h2>\n<ol>\n<li><strong>\u6570\u636e\u91cf<\/strong>\uff1a\u5341\u4e07\u7ea7 pgvector \u591f\uff0c\u5343\u4e07\u7ea7\u518d\u8003\u8651 Milvus<\/li>\n<li><strong>\u8fc7\u6ee4\u6761\u4ef6<\/strong>\uff1a\u591a\u79df\u6237\u3001\u6743\u9650\u3001\u65f6\u95f4\u8303\u56f4\uff0cQdrant \u66f4\u987a\u624b<\/li>\n<li><strong>\u56e2\u961f\u6808<\/strong>\uff1a\u5df2\u7ecf\u5728 Postgres \u4e0a\uff0c\u5c31\u522b\u4e3a\u5411\u91cf\u5e93\u518d\u5b66\u4e00\u5957<\/li>\n<li><strong>\u8fd0\u7ef4\u6210\u672c<\/strong>\uff1aMilvus \u8981 etcd\u3001\u5bf9\u8c61\u5b58\u50a8\u3001\u591a\u4e2a\u7ec4\u4ef6<\/li>\n<li><strong>\u5907\u4efd\u6062\u590d<\/strong>\uff1a\u80fd\u4e0d\u80fd\u5feb\u7167\u3001\u80fd\u4e0d\u80fd\u91cd\u5efa\u7d22\u5f15<\/li>\n<\/ol>\n<figure class=\"wp-block-image size-full\"><img width=\"1280\" height=\"720\" src=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/f145db6f616aa62.jpg\" alt=\"\u4e09\u4e2a\u6570\u636e\u5e93\u5706\u67f1\u4e0e\u68c0\u7d22\u955c\" class=\"wp-image-3718\" loading=\"lazy\" decoding=\"async\" srcset=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/f145db6f616aa62.jpg 1280w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/f145db6f616aa62-300x169.jpg 300w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/f145db6f616aa62-1024x576.jpg 1024w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/f145db6f616aa62-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>\u5c0f\u89c4\u6a21 pgvector\uff0c\u4e2d\u7b49 Qdrant\uff0c\u5927\u89c4\u6a21 Milvus\u3002<\/figcaption><\/figure>\n<h2 id=\"\u7f8e\u56fd\u8fd8\u662f\u5fb7\u56fd\">\u7f8e\u56fd\u8fd8\u662f\u5fb7\u56fd<\/h2>\n<p>\u5411\u91cf\u5e93\u662f\u5185\u5b58\u548c\u78c1\u76d8\u5bc6\u96c6\u578b\uff0c\u8282\u70b9\u9009\u62e9\u770b\u7528\u6237\u548c\u6570\u636e\u4f4d\u7f6e\u3002<\/p>\n<ul>\n<li><strong>\u7f8e\u56fd<\/strong>\uff1a\u673a\u578b\u591a\u3001\u5185\u5b58\u4fbf\u5b9c\uff0c\u9002\u5408\u5927\u7d22\u5f15\u548c\u6279\u91cf\u5199\u5165<\/li>\n<li><strong>\u5fb7\u56fd<\/strong>\uff1a\u6b27\u76df\u7528\u6237\u8fd1\uff0c\u6570\u636e\u672c\u5730\u5316\u5408\u89c4\u66f4\u7a33<\/li>\n<li><strong>\u9999\u6e2f\/\u65e5\u672c<\/strong>\uff1a\u4e9a\u6d32\u7528\u6237\u8fd1\uff0c\u9002\u5408\u524d\u53f0\u68c0\u7d22<\/li>\n<\/ul>\n<p>\u5982\u679c\u77e5\u8bc6\u5e93\u542b\u6b27\u76df\u7528\u6237\u6570\u636e\uff0c\u653e\u5fb7\u56fd\u80fd\u51cf\u5c11\u8de8\u5883\u89e3\u91ca\u6210\u672c\uff1b\u5982\u679c\u53ea\u662f\u5185\u90e8\u6587\u6863\uff0c\u7f8e\u56fd\u6027\u4ef7\u6bd4\u66f4\u9ad8\u3002\u522b\u628a\u5411\u91cf\u5e93\u548c\u6a21\u578b\u653e\u592a\u8fdc\uff0c\u68c0\u7d22\u5ef6\u8fdf\u4f1a\u53e0\u5230\u9996 token \u4e0a\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img width=\"1280\" height=\"720\" src=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/c02e0452606ec2c.jpg\" alt=\"\u6587\u6863\u5207\u5757\u6d41\u5165\u5411\u91cf\u7f51\u683c\" class=\"wp-image-3719\" loading=\"lazy\" decoding=\"async\" srcset=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/c02e0452606ec2c.jpg 1280w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/c02e0452606ec2c-300x169.jpg 300w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/c02e0452606ec2c-1024x576.jpg 1024w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/c02e0452606ec2c-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>\u5207\u5206\u548c Embedding \u51b3\u5b9a\u53ec\u56de\u4e0a\u9650\u3002<\/figcaption><\/figure>\n<h2 id=\"\u5907\u4efd\u548c\u91cd\u5efa\">\u5907\u4efd\u548c\u91cd\u5efa<\/h2>\n<p>\u5411\u91cf\u5e93\u7684\u5907\u4efd\u5206\u4e24\u5c42\uff1a\u539f\u59cb\u6587\u6863\u548c\u5411\u91cf\u7d22\u5f15\u3002\u539f\u59cb\u6587\u6863\u5fc5\u987b\u5355\u72ec\u5b58\uff0c\u7d22\u5f15\u574f\u4e86\u53ef\u4ee5\u91cd\u5efa\uff1b\u53ea\u5907\u4efd\u7d22\u5f15\uff0c\u6362\u6a21\u578b\u5c31\u5e9f\u4e86\u3002<\/p>\n<pre><code># Qdrant \u5feb\u7167\ncurl -X POST http:\/\/127.0.0.1:6333\/collections\/docs\/snapshots\n# pgvector \u968f Postgres \u4e00\u8d77\u5907\u4efd\npg_dump -Fc app &gt; app.dump<\/code><\/pre>\n<figure class=\"wp-block-image size-full\"><img width=\"1280\" height=\"720\" src=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/185eee3b1799978.jpg\" alt=\"\u4e24\u4e2a\u8282\u70b9\u7531\u865a\u7ebf\u5f27\u8fde\u63a5\" class=\"wp-image-3720\" loading=\"lazy\" decoding=\"async\" srcset=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/185eee3b1799978.jpg 1280w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/185eee3b1799978-300x169.jpg 300w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/185eee3b1799978-1024x576.jpg 1024w, https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/185eee3b1799978-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>\u6b27\u76df\u6570\u636e\u653e\u5fb7\u56fd\uff0c\u89c4\u6a21\u4f18\u5148\u9009\u7f8e\u56fd\u3002<\/figcaption><\/figure>\n<h2 id=\"\u6027\u80fd\u8c03\u4f18\">\u6027\u80fd\u8c03\u4f18<\/h2>\n<ul>\n<li>HNSW \u7684 m\u3001ef_construct \u522b\u7167\u6284\u9ed8\u8ba4\u503c\uff0c\u6309\u53ec\u56de\u548c\u5185\u5b58\u8c03<\/li>\n<li>\u6279\u91cf\u5199\u5165\uff0c\u522b\u4e00\u6761\u4e00\u6761 insert<\/li>\n<li>\u8fc7\u6ee4\u5b57\u6bb5\u5efa payload \u7d22\u5f15<\/li>\n<li>\u76d1\u63a7\u5185\u5b58\u3001\u78c1\u76d8 IO\u3001\u67e5\u8be2 P95<\/li>\n<li>\u5b9a\u671f\u91cd\u5efa\u7d22\u5f15\uff0c\u5220\u9664\u5927\u91cf\u6570\u636e\u540e\u5c24\u5176\u9700\u8981<\/li>\n<\/ul>\n<h2 id=\"embedding-\u600e\u4e48\u9009\">Embedding \u600e\u4e48\u9009<\/h2>\n<p>bge-m3 \u652f\u6301\u591a\u8bed\u8a00\uff0c1024 \u7ef4\uff1b\u82f1\u6587\u53ef\u4ee5\u7528\u66f4\u5c0f\u7684\u6a21\u578b\u3002\u7ef4\u5ea6\u548c\u5411\u91cf\u5e93\u8981\u5339\u914d\uff0c\u6362\u6a21\u578b\u5c31\u8981\u91cd\u5efa\u7d22\u5f15\uff0c\u522b\u6df7\u7528\u3002<\/p>\n<h2 id=\"\u591a\u79df\u6237\">\u591a\u79df\u6237<\/h2>\n<p>\u591a\u5ba2\u6237\u573a\u666f\u6309 tenant \u8fc7\u6ee4\uff0c\u522b\u628a\u6240\u6709\u6570\u636e\u585e\u4e00\u4e2a\u96c6\u5408\uff1b\u8fc7\u6ee4\u5b57\u6bb5\u5efa\u7d22\u5f15\uff0c\u5426\u5219\u5148\u5168\u91cf\u641c\u518d\u7b5b\uff0c\u6162\u4e14\u4e0d\u51c6\u3002<\/p>\n<h2 id=\"\u76d1\u63a7\">\u76d1\u63a7<\/h2>\n<p>\u770b\u67e5\u8be2 P95\u3001\u5185\u5b58\u3001\u78c1\u76d8 IO\u3001\u7d22\u5f15\u5927\u5c0f\u548c\u53ec\u56de\u7387\uff1b\u53ec\u56de\u7387\u9760\u4eba\u5de5\u6807\u6ce8\u4e00\u5c0f\u6279\u95ee\u9898\uff0c\u522b\u53ea\u770b\u5ef6\u8fdf\u3002<\/p>\n<h2 id=\"\u5e38\u89c1\u8bef\u533a\">\u5e38\u89c1\u8bef\u533a<\/h2>\n<p>\u201c\u5411\u91cf\u5e93\u8d8a\u5927\u8d8a\u597d\u201d\u4f1a\u62d6\u6162\u68c0\u7d22\uff1b\u201c\u6362\u5927\u6a21\u578b\u80fd\u6551\u53ec\u56de\u201d\u901a\u5e38\u6551\u4e0d\u4e86\uff1b\u4e0d\u5907\u4efd\u539f\u59cb\u6587\u6863\uff0c\u6362\u6a21\u578b\u5c31\u91cd\u6765\u3002<\/p>\n<h2 id=\"\u4ec0\u4e48\u65f6\u5019\u8be5\u8fc1\u79fb\">\u4ec0\u4e48\u65f6\u5019\u8be5\u8fc1\u79fb<\/h2>\n<p>\u67e5\u8be2 P95 \u6301\u7eed\u4e0a\u5347\u3001\u8fc7\u6ee4\u8d8a\u6765\u8d8a\u590d\u6742\u3001\u5355\u673a\u5185\u5b58\u4e0d\u591f\uff0c\u5c31\u662f\u8fc1\u79fb\u4fe1\u53f7\uff1b\u522b\u7b49\u6570\u636e\u91cf\u5230\u5343\u4e07\u624d\u52a8\u624b\u3002<\/p>\n<h2 id=\"\u67e5\u8be2\u4f18\u5316\">\u67e5\u8be2\u4f18\u5316<\/h2>\n<p>topK \u4e0d\u8981\u4e00\u6b21\u53d6\u592a\u5927\uff0c\u5148\u53ec\u56de 20 \u6761\u518d\u91cd\u6392\uff1b\u8fc7\u6ee4\u6761\u4ef6\u653e\u524d\u9762\uff0c\u51cf\u5c11\u5019\u9009\u96c6\uff0c\u6bd4\u8c03\u7d22\u5f15\u53c2\u6570\u66f4\u6709\u6548\u3002<\/p>\n<h2 id=\"\u548c\u5168\u6587\u68c0\u7d22\">\u548c\u5168\u6587\u68c0\u7d22<\/h2>\n<p>\u5411\u91cf\u68c0\u7d22\u4e0d\u64c5\u957f\u7cbe\u786e\u5339\u914d\u578b\u53f7\u3001\u8ba2\u5355\u53f7\uff1b\u6df7\u5408\u5173\u952e\u8bcd\u68c0\u7d22\uff08BM25\uff09\u80fd\u8865\u4e0a\uff0c\u522b\u53ea\u9760 embedding\u3002<\/p>\n<h2 id=\"\u9009\u578b\u6e05\u5355\">\u9009\u578b\u6e05\u5355<\/h2>\n<p>\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u3001\u56e2\u961f\u6808\u3001\u5907\u4efd\u3001\u9884\u7b97\uff0c\u4e94\u9879\u6253\u5206\uff1b\u5148\u8dd1\u4e00\u4e2a\u6708\u518d\u5b9a\uff0c\u522b\u53ea\u770b benchmark\u3002<\/p>\n<h2 id=\"\u5fb7\u56fd\u8282\u70b9\">\u5fb7\u56fd\u8282\u70b9<\/h2>\n<p>\u5fb7\u56fd\u673a\u623f\u5bf9\u6b27\u76df\u7528\u6237\u8fd1\uff0c\u5408\u89c4\u89e3\u91ca\u6210\u672c\u4f4e\uff1b\u5e26\u5bbd\u548c\u673a\u578b\u4e0d\u5982\u7f8e\u56fd\u4e30\u5bcc\uff0c\u63d0\u524d\u786e\u8ba4\u5e93\u5b58\u3002<\/p>\n<h2 id=\"\u6570\u636e\u8fc1\u79fb\">\u6570\u636e\u8fc1\u79fb<\/h2>\n<p>\u8fc1\u79fb\u65f6\u4fdd\u7559\u539f\u59cb\u6587\u6863\u548c chunk \u6620\u5c04\uff0c\u65b0\u5e93\u91cd\u5efa\u540e\u62bd\u6837\u5bf9\u6bd4\u53ec\u56de\uff1b\u522b\u76f4\u63a5\u590d\u5236\u5411\u91cf\uff0c\u6a21\u578b\u548c\u7d22\u5f15\u53c2\u6570\u53ef\u80fd\u4e0d\u517c\u5bb9\u3002<\/p>\n<h2 id=\"\u6210\u672c\">\u6210\u672c<\/h2>\n<p>\u5185\u5b58\u548c\u78c1\u76d8\u662f\u5927\u5934\uff0c\u5411\u91cf\u7ef4\u5ea6\u8d8a\u9ad8\u8d8a\u5403\u5185\u5b58\uff1b\u5148\u91cf\u5316\u5230\u4e1a\u52a1\u80fd\u63a5\u53d7\u7684\u7ef4\u5ea6\uff0c\u518d\u8c08\u6269\u5bb9\u3002<\/p>\n<p>\u5148\u8dd1\u5c0f\u89c4\u6a21\uff0c\u518d\u6309\u6570\u636e\u91cf\u6269\u5bb9\uff1b\u5411\u91cf\u5e93\u4e0d\u662f\u8d8a\u5927\u8d8a\u597d\uff0c\u591f\u7528\u6700\u91cd\u8981\u3002<\/p>\n<p>\u9009\u578b\u6ca1\u6709\u6807\u51c6\u7b54\u6848\uff0c\u53ea\u6709\u548c\u4f60\u7684\u6570\u636e\u91cf\u3001\u56e2\u961f\u3001\u9884\u7b97\u5339\u914d\u7684\u7b54\u6848\u3002<\/p>\n<p>\u5148\u5c0f\u89c4\u6a21\u9a8c\u8bc1\u53ec\u56de\uff0c\u518d\u8c08\u6027\u80fd\u548c\u5927\u89c4\u6a21\u3002<\/p>\n<p>\u53ec\u56de\u548c\u5ef6\u8fdf\uff0c\u5148\u4fdd\u4f4f\u53ec\u56de\uff0c\u518d\u4f18\u5316\u5ef6\u8fdf\u3002<\/p>\n<p>\u591f\u7528\u3001\u80fd\u6062\u590d\u3001\u80fd\u8fc1\u79fb\uff0c\u5c31\u662f\u597d\u9009\u578b\u3002<\/p>\n<p>\u5148\u628a\u53ec\u56de\u8dd1\u51c6\uff0c\u518d\u8c08\u522b\u7684\u3002<\/p>\n<p>\u53ec\u56de\u51c6\u4e86\uff0cRAG \u624d\u6210\u7acb\u3002<\/p>\n<p>\u5148\u53ec\u56de\uff0c\u518d\u4f18\u5316\u3002<\/p>\n<p>\u8fd9\u6837\u5c31\u597d\u554a\u3002<\/p>\n<h2 id=\"\u5e38\u89c1\u95ee\u9898-faq\">\u5e38\u89c1\u95ee\u9898 FAQ<\/h2>\n<p><strong>Q1\uff1apgvector \u80fd\u6491\u591a\u5c11\u6570\u636e\uff1f<\/strong><\/p>\n<p>\u767e\u4e07\u7ea7\u4ee5\u5185\u6bd4\u8f83\u7a33\uff0c\u5177\u4f53\u770b\u7ef4\u5ea6\u3001\u7d22\u5f15\u548c\u5185\u5b58\uff1b\u5343\u4e07\u7ea7\u5efa\u8bae Qdrant\/Milvus\u3002<\/p>\n<p><strong>Q2\uff1a\u4e00\u5b9a\u8981\u72ec\u7acb\u7684\u5411\u91cf\u5e93\u5417\uff1f<\/strong><\/p>\n<p>\u4e0d\u4e00\u5b9a\u3002\u5df2\u6709 Postgres \u5c31\u7528 pgvector\uff1b\u8981\u591a\u79df\u6237\u8fc7\u6ee4\u548c\u9ad8\u5e76\u53d1\u518d\u72ec\u7acb\u3002<\/p>\n<p><strong>Q3\uff1a\u7f8e\u56fd\u8fd8\u662f\u5fb7\u56fd\u8282\u70b9\uff1f<\/strong><\/p>\n<p>\u6b27\u76df\u6570\u636e\u653e\u5fb7\u56fd\uff0c\u6210\u672c\u548c\u89c4\u6a21\u4f18\u5148\u9009\u7f8e\u56fd\uff1b\u4e9a\u6d32\u524d\u53f0\u53ef\u4ee5\u9999\u6e2f\/\u65e5\u672c\u3002<\/p>\n<p><strong>Q4\uff1a\u6362 Embedding \u6a21\u578b\u8981\u91cd\u5efa\u5417\uff1f<\/strong><\/p>\n<p>\u8981\u3002\u7ef4\u5ea6\u6216\u8bed\u4e49\u7a7a\u95f4\u53d8\u4e86\uff0c\u65e7\u5411\u91cf\u4e0d\u80fd\u76f4\u63a5\u7528\uff0c\u5fc5\u987b\u91cd\u65b0 embedding\u3002<\/p>\n<p><strong>Q5\uff1a\u600e\u4e48\u5224\u65ad\u53ec\u56de\u5dee\u662f\u5e93\u7684\u95ee\u9898\uff1f<\/strong><\/p>\n<p>\u5148\u770b\u5207\u5206\u548c Embedding\uff0c\u518d\u7528\u540c\u4e00\u6279\u95ee\u9898\u5bf9\u6bd4\u4e0d\u540c topK\uff1b\u5e93\u901a\u5e38\u4e0d\u662f\u7b2c\u4e00\u5acc\u7591\u3002<\/p>\n<h2 id=\"\u603b\u7ed3\">\u603b\u7ed3<\/h2>\n<p>RAG \u5411\u91cf\u5e93\u9009\u578b\uff0c\u5148\u770b\u6570\u636e\u91cf\u548c\u8fc7\u6ee4\u9700\u6c42\uff1a\u5c0f\u89c4\u6a21 pgvector\uff0c\u4e2d\u7b49 Qdrant\uff0c\u5927\u89c4\u6a21 Milvus\u3002\u8282\u70b9\u6309\u7528\u6237\u548c\u6570\u636e\u4f4d\u7f6e\u9009\uff0c\u539f\u59cb\u6587\u6863\u5fc5\u987b\u5355\u72ec\u5907\u4efd\uff0c\u6362\u6a21\u578b\u8981\u91cd\u5efa\u7d22\u5f15\u3002<\/p>\n<p>\u9700\u8981\u4e00\u53f0\u673a\u5668\u8dd1\u5411\u91cf\u5e93\uff0c\u60f3\u5148\u9a8c\u8bc1\uff0c\u6309\u5c0f\u65f6\u5f00\u4e00\u53f0<a href=\"https:\/\/www.ygcloud.com\/vps\/usa-vps\">\u8424\u5149\u4e91\u7f8e\u56fd\u7845\u8c37\u4e91\u670d\u52a1\u5668<\/a>\uff0c\u5148\u628a\u7d22\u5f15\u548c\u53ec\u56de\u8dd1\u901a\u3002<\/p>\n<h2 id=\"\u53c2\u8003\u6765\u6e90\">\u53c2\u8003\u6765\u6e90<\/h2>\n<ul>\n<li><a href=\"https:\/\/qdrant.tech\/documentation\/\" target=\"_blank\" rel=\"noopener\">Qdrant \u5b98\u65b9\u6587\u6863<\/a><\/li>\n<\/ul>\n<p><script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"pgvector \u80fd\u6491\u591a\u5c11\u6570\u636e\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u767e\u4e07\u7ea7\u4ee5\u5185\u6bd4\u8f83\u7a33\uff0c\u5177\u4f53\u770b\u7ef4\u5ea6\u3001\u7d22\u5f15\u548c\u5185\u5b58\uff1b\u5343\u4e07\u7ea7\u5efa\u8bae Qdrant\/Milvus\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u4e00\u5b9a\u8981\u72ec\u7acb\u7684\u5411\u91cf\u5e93\u5417\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u4e0d\u4e00\u5b9a\u3002\u5df2\u6709 Postgres \u5c31\u7528 pgvector\uff1b\u8981\u591a\u79df\u6237\u8fc7\u6ee4\u548c\u9ad8\u5e76\u53d1\u518d\u72ec\u7acb\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u7f8e\u56fd\u8fd8\u662f\u5fb7\u56fd\u8282\u70b9\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u6b27\u76df\u6570\u636e\u653e\u5fb7\u56fd\uff0c\u6210\u672c\u548c\u89c4\u6a21\u4f18\u5148\u9009\u7f8e\u56fd\uff1b\u4e9a\u6d32\u524d\u53f0\u53ef\u4ee5\u9999\u6e2f\/\u65e5\u672c\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u6362 Embedding \u6a21\u578b\u8981\u91cd\u5efa\u5417\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u8981\u3002\u7ef4\u5ea6\u6216\u8bed\u4e49\u7a7a\u95f4\u53d8\u4e86\uff0c\u65e7\u5411\u91cf\u4e0d\u80fd\u76f4\u63a5\u7528\uff0c\u5fc5\u987b\u91cd\u65b0 embedding\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u600e\u4e48\u5224\u65ad\u53ec\u56de\u5dee\u662f\u5e93\u7684\u95ee\u9898\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u5148\u770b\u5207\u5206\u548c Embedding\uff0c\u518d\u7528\u540c\u4e00\u6279\u95ee\u9898\u5bf9\u6bd4\u4e0d\u540c topK\uff1b\u5e93\u901a\u5e38\u4e0d\u662f\u7b2c\u4e00\u5acc\u7591\u3002\"}}]}<\/script><\/p>\n<h2 id=\"\u76f8\u5173\u63a8\u8350\">\u76f8\u5173\u63a8\u8350<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.ygcloud.com\/knowledge\/3703\/\">Ollama \u90e8\u7f72\uff1a\u7f8e\u56fd\/\u65e5\u672c\u8282\u70b9\u8dd1\u672c\u5730\u5927\u6a21\u578b\uff0c\u6210\u672c\u5dee\u591a\u5c11<\/a><\/li>\n<li><a href=\"https:\/\/www.ygcloud.com\/knowledge\/3715\/\">Dify \u90e8\u7f72\uff1a\u9999\u6e2f\u8282\u70b9\u505a\u4f01\u4e1a\u77e5\u8bc6\u5e93\uff0c\u5ef6\u8fdf\u80fd\u4f4e\u591a\u5c11<\/a><\/li>\n<li><a href=\"https:\/\/www.ygcloud.com\/knowledge\/3527\/\">4 \u6838 8G \u4e91\u670d\u52a1\u5668\u80fd\u505a\u4ec0\u4e48\uff1f\u6570\u636e\u5e93\u3001AI \u4e0e\u591a\u7ad9\u70b9<\/a><\/li>\n<li><a href=\"https:\/\/www.ygcloud.com\/knowledge\/3611\/\">\u7f8e\u56fd\u4e1c\u90e8\u8fd8\u662f\u897f\u90e8\u8282\u70b9\uff1f\u6309\u7528\u6237\u4e0e\u7ebf\u8def\u9009<\/a><\/li>\n<li><a href=\"https:\/\/www.ygcloud.com\/knowledge\/3497\/\">2 \u6838 4G \u4e91\u670d\u52a1\u5668\u80fd\u505a\u4ec0\u4e48\uff1f\u5efa\u7ad9\u3001Docker \u4e0e\u5e76\u53d1<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u77e5\u8bc6\u5e93\u7b54\u4e0d\u51c6\uff0c\u5148\u522b\u6025\u7740\u6362\u5927\u6a21\u578b\u3002\u5f88\u591a\u65f6\u5019\u662f\u5411\u91cf\u5e93\u6ca1\u9009\u5bf9\uff1a\u8be5\u8fc7\u6ee4\u7684\u6ca1\u8fc7\u6ee4\uff0c\u8be5\u8d70\u7d22\u5f15\u7684\u8d70\u4e86\u5168\u8868\u626b\u63cf\uff0c\u51e0\u4e07\u6761\u6587\u6863\u5c31\u6162\u5f97\u4e0d\u50cf\u8bdd\u3002RAG \u7684\u53ec\u56de\u8d28\u91cf\uff0c\u4e00\u534a\u5728\u5207\u5206\uff0c\u4e00\u534a\u5728\u5411\u91cf\u5e93\u3002 \u4e09\u79cd\u5e38\u89c1\u9009\u62e9 \u65b9\u6848 \u9002\u5408 \u4ee3\u4ef7 pgvector \u5df2\u6709 Postgres&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3717,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[43,46],"topic":[],"class_list":["post-3721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4<\/title>\n<meta name=\"description\" content=\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ygcloud.com\/knowledge\/3721\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4\" \/>\n<meta property=\"og:description\" content=\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ygcloud.com\/knowledge\/3721\/\" \/>\n<meta property=\"og:site_name\" content=\"VPS\u77e5\u8bc6\u5206\u4eab\u7ad9\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-09T01:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-10T10:55:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u6d77\u5916VPS\u63a8\u8350\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6d77\u5916VPS\u63a8\u8350\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/\"},\"author\":{\"name\":\"\u6d77\u5916VPS\u63a8\u8350\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/#\\\/schema\\\/person\\\/601f21f360aeefaddbdfd0f14953d704\"},\"headline\":\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\\\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u6210\u672c\u5bf9\u6bd4\",\"datePublished\":\"2026-11-09T01:00:00+00:00\",\"dateModified\":\"2026-11-10T10:55:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/\"},\"wordCount\":78,\"image\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/7ee89ad75f80543.jpg\",\"keywords\":[\"VPS\u4e91\u670d\u52a1\u5668\",\"VPS\u5e94\u7528\"],\"articleSection\":[\"AI\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/\",\"url\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/\",\"name\":\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\\\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/7ee89ad75f80543.jpg\",\"datePublished\":\"2026-11-09T01:00:00+00:00\",\"dateModified\":\"2026-11-10T10:55:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/#\\\/schema\\\/person\\\/601f21f360aeefaddbdfd0f14953d704\"},\"description\":\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\\\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/7ee89ad75f80543.jpg\",\"contentUrl\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/7ee89ad75f80543.jpg\",\"width\":1600,\"height\":900,\"caption\":\"\u6241\u5e73\u77e2\u91cf\u98ce\u683c\u7684\u6587\u6863\u3001\u5411\u91cf\u70b9\u4e0e\u6570\u636e\u5e93\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/3721\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\\\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u6210\u672c\u5bf9\u6bd4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/\",\"name\":\"VPS\u77e5\u8bc6\u5206\u4eab\u7ad9\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/#\\\/schema\\\/person\\\/601f21f360aeefaddbdfd0f14953d704\",\"name\":\"\u6d77\u5916VPS\u63a8\u8350\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery\",\"url\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery\",\"contentUrl\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery\",\"caption\":\"\u6d77\u5916VPS\u63a8\u8350\"},\"sameAs\":[\"https:\\\/\\\/www.ygcloud.com\\\/\"],\"url\":\"https:\\\/\\\/www.ygcloud.com\\\/knowledge\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4","description":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ygcloud.com\/knowledge\/3721\/","og_locale":"zh_CN","og_type":"article","og_title":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4","og_description":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002","og_url":"https:\/\/www.ygcloud.com\/knowledge\/3721\/","og_site_name":"VPS\u77e5\u8bc6\u5206\u4eab\u7ad9","article_published_time":"2026-11-09T01:00:00+00:00","article_modified_time":"2026-11-10T10:55:55+00:00","og_image":[{"width":1600,"height":900,"url":"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg","type":"image\/jpeg"}],"author":"\u6d77\u5916VPS\u63a8\u8350","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6d77\u5916VPS\u63a8\u8350","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#article","isPartOf":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/"},"author":{"name":"\u6d77\u5916VPS\u63a8\u8350","@id":"https:\/\/www.ygcloud.com\/knowledge\/#\/schema\/person\/601f21f360aeefaddbdfd0f14953d704"},"headline":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u6210\u672c\u5bf9\u6bd4","datePublished":"2026-11-09T01:00:00+00:00","dateModified":"2026-11-10T10:55:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/"},"wordCount":78,"image":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg","keywords":["VPS\u4e91\u670d\u52a1\u5668","VPS\u5e94\u7528"],"articleSection":["AI"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/","url":"https:\/\/www.ygcloud.com\/knowledge\/3721\/","name":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u6210\u672c\u5bf9\u6bd4","isPartOf":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#primaryimage"},"image":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg","datePublished":"2026-11-09T01:00:00+00:00","dateModified":"2026-11-10T10:55:55+00:00","author":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/#\/schema\/person\/601f21f360aeefaddbdfd0f14953d704"},"description":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1f\u5bf9\u6bd4 pgvector\u3001Qdrant\u3001Milvus \u7684\u6570\u636e\u91cf\u3001\u8fc7\u6ee4\u548c\u8fd0\u7ef4\u6210\u672c\uff0c\u7ed9\u51fa\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u5efa\u8bae\u4e0e\u5907\u4efd\u6e05\u5355\u3002","breadcrumb":{"@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ygcloud.com\/knowledge\/3721\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#primaryimage","url":"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg","contentUrl":"https:\/\/www.ygcloud.com\/knowledge\/wp-content\/uploads\/2026\/11\/7ee89ad75f80543.jpg","width":1600,"height":900,"caption":"\u6241\u5e73\u77e2\u91cf\u98ce\u683c\u7684\u6587\u6863\u3001\u5411\u91cf\u70b9\u4e0e\u6570\u636e\u5e93"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ygcloud.com\/knowledge\/3721\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ygcloud.com\/knowledge\/"},{"@type":"ListItem","position":2,"name":"RAG \u5411\u91cf\u5e93\u600e\u4e48\u9009\uff1a\u7f8e\u56fd\/\u5fb7\u56fd\u8282\u70b9\u90e8\u7f72\u6210\u672c\u5bf9\u6bd4"}]},{"@type":"WebSite","@id":"https:\/\/www.ygcloud.com\/knowledge\/#website","url":"https:\/\/www.ygcloud.com\/knowledge\/","name":"VPS\u77e5\u8bc6\u5206\u4eab\u7ad9","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ygcloud.com\/knowledge\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.ygcloud.com\/knowledge\/#\/schema\/person\/601f21f360aeefaddbdfd0f14953d704","name":"\u6d77\u5916VPS\u63a8\u8350","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/cravatar.cn\/avatar\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery","url":"https:\/\/cravatar.cn\/avatar\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery","contentUrl":"https:\/\/cravatar.cn\/avatar\/795bcb4bf560f9867afb3de2d0d3a94976324007c45ea099ec14e90231540547?s=96&d=mystery","caption":"\u6d77\u5916VPS\u63a8\u8350"},"sameAs":["https:\/\/www.ygcloud.com\/"],"url":"https:\/\/www.ygcloud.com\/knowledge\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/posts\/3721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/comments?post=3721"}],"version-history":[{"count":5,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/posts\/3721\/revisions"}],"predecessor-version":[{"id":4205,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/posts\/3721\/revisions\/4205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/media\/3717"}],"wp:attachment":[{"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/media?parent=3721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/categories?post=3721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/tags?post=3721"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ygcloud.com\/knowledge\/wp-json\/wp\/v2\/topic?post=3721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}