{"id":119027,"date":"2026-10-28T18:56:30","date_gmt":"2026-10-28T10:56:30","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/119027.html"},"modified":"2026-10-28T18:56:30","modified_gmt":"2026-10-28T10:56:30","slug":"%e5%a4%a7%e6%a8%a1%e5%9e%8b-rag-%e7%9a%84-c-%e6%80%a7%e8%83%bd%e5%ba%95%e5%b1%82%ef%bc%9afaiss-%e5%90%91%e9%87%8f%e6%a3%80%e7%b4%a2%e5%be%ae%e6%9c%8d%e5%8a%a1%e7%9a%84%e7%ba%bf%e7%a8%8b%e6%b1%a0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/119027.html","title":{"rendered":"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751"},"content":{"rendered":"<p>\u5728\u57fa\u4e8e Faiss \u6784\u5efa\u5728\u7ebf\u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u65f6\uff0c\u4e00\u4e2a\u53cd\u76f4\u89c9\u7684\u6027\u80fd\u74f6\u9888\u5e38\u51fa\u73b0\u5728\u591a\u6838\u6269\u5c55\u9636\u6bb5\uff1a\u5f53\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u5c06\u5355\u6761\u67e5\u8be2\u7684\u6570\u5341\u4e2a\u5012\u6392\u6876\uff08Inverted Lists\uff09\u5206\u53d1\u5230\u6570\u5341\u4e2a\u7269\u7406\u6838\u5fc3\u5e76\u884c\u626b\u63cf\u65f6\uff0cP99 \u5ef6\u8fdf\u4e0d\u4ec5\u672a\u80fd\u6309\u9884\u671f\u4e0b\u964d\uff0c\u53cd\u800c\u53ef\u80fd\u6076\u5316\u6570\u500d\uff1b\u4f34\u968f\u800c\u6765\u7684\u662f\u7cfb\u7edf\u8c03\u7528\u4e0e\u4e0a\u4e0b\u6587\u5207\u6362\u6fc0\u589e\u3001CPU \u8f6f\u4e2d\u65ad\u5360\u6bd4\u5f02\u5e38\uff0c\u4ee5\u53ca\u5355\u6838\u6709\u6548\u541e\u5410\u91cf\u7684\u65ad\u5d16\u5f0f\u4e0b\u8dcc\u3002\u800c\u5728\u6279\u91cf\u67e5\u8be2\u4e0e\u6d41\u5f0f\u6df7\u5408\u8d1f\u8f7d\u5171\u5b58\u7684\u573a\u666f\u4e0b\uff0c\u539f\u5148\u5728\u79bb\u7ebf\u8bc4\u6d4b\u4e2d\u541e\u5410\u4f18\u5f02\u7684\u7d22\u5f15\u914d\u7f6e\uff0c\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u5f80\u5f80\u96be\u4ee5\u7ef4\u7cfb\u7a33\u5b9a\u7684\u670d\u52a1\u8d28\u91cf\u3002<\/p>\n<p>\u8fd9\u4e00\u73b0\u8c61\u7684\u672c\u8d28\uff0c\u662f\u5e76\u884c\u8ba1\u7b97\u6846\u67b6\uff08OpenMP\uff09\u3001\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u8c03\u5ea6\u5668\uff08Linux CFS\uff09\u4e0e Faiss \u5e95\u5c42\u6570\u636e\u7ed3\u6784\u751f\u547d\u5468\u671f\u4e4b\u95f4\u7684\u534f\u540c\u6469\u64e6\u3002\u591a\u7ebf\u7a0b\u5e76\u975e\u5355\u7eaf\u7684\u7b97\u529b\u500d\u589e\u5668\uff0c\u7ebf\u7a0b\u5524\u9192\u3001\u9690\u5f0f\u5185\u5b58\u5c4f\u969c\u3001\u4e92\u65a5\u9501\u89c4\u7ea6\uff0c\u4ee5\u53ca\u6bcf\u6b21\u8fed\u4ee3\u4e2d\u4f18\u5148\u961f\u5217\u9891\u7e41\u521d\u59cb\u5316\u6240\u89e6\u53d1\u7684\u6b21\u8981\u7f3a\u9875\u5f02\u5e38\uff08Minor Page Faults\uff09\uff0c\u90fd\u5728\u6301\u7eed\u4fb5\u8680 CPU \u5468\u671f\u3002\u672c\u6587\u76f4\u63a5\u5207\u5165 Faiss \u6838\u5fc3\u5b9e\u73b0 IndexIVF.cpp\uff0c\u62c6\u89e3 parallel_mode \u56db\u91cd\u8c03\u5ea6\u6a21\u5f0f\u7684\u72b6\u6001\u673a\u903b\u8f91\uff0c\u5206\u6790 PARALLEL_MODE_NO_HEAP_INIT \u4f4d\u63a9\u7801\u6d88\u9664\u5faa\u73af\u5185\u5806\u91cd\u7f6e\u5f00\u9500\u7684\u5fae\u67b6\u6784\u673a\u7406\uff0c\u5e76\u63a8\u5bfc\u5355\u67e5\u8be2\u591a\u6838\u5e76\u884c\u7684\u4e34\u754c\u6536\u76ca\u6a21\u578b\u4e0e\u5bb9\u5668\u5316\u96c6\u6210\u65b9\u6848\u3002<\/p>\n<hr>\n<h3>1. \u5411\u91cf\u68c0\u7d22\u7684\u4e8c\u7ef4\u5e76\u53d1\u7a7a\u95f4\u4e0e\u7ebf\u7a0b\u6c60\u51b2\u7a81<\/h3>\n<p>\u5728\u5206\u6790\u5177\u4f53\u7684\u6e90\u7801\u8c03\u5ea6\u5206\u652f\u524d\uff0c\u9700\u8981\u660e\u786e\u5411\u91cf\u76f8\u4f3c\u5ea6\u68c0\u7d22\u5728\u591a\u6838\u67b6\u6784\u4e0b\u7684\u4efb\u52a1\u5212\u5206\u7ef4\u5ea6\uff0c\u4ee5\u53ca\u5e95\u5c42\u8fd0\u884c\u65f6\u66b4\u9732\u7684\u8c03\u5ea6\u4ee3\u4ef7\u3002<\/p>\n<h4>1.1 \u4e1a\u52a1\u8d1f\u8f7d\u7279\u5f81\u4e0e\u4e8c\u7ef4\u5e76\u884c\u7a7a\u95f4<\/h4>\n<p>\u5728\u7ebf\u4e0e\u79bb\u7ebf\u573a\u666f\u4e0b\u7684\u5411\u91cf\u68c0\u7d22\u8bf7\u6c42\uff0c\u5448\u73b0\u622a\u7136\u4e0d\u540c\u7684\u8ba1\u7b97\u4e0e\u65f6\u5ef6\u7279\u5f81\uff1a<\/p>\n<li><\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u57fa\u4e8e Faiss \u6784\u5efa\u5728\u7ebf\u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u65f6\uff0c\u4e00\u4e2a\u53cd\u76f4\u89c9\u7684\u6027\u80fd\u74f6\u9888\u5e38\u51fa\u73b0\u5728\u591a\u6838\u6269\u5c55\u9636\u6bb5\uff1a\u5f53\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u5c06\u5355\u6761\u67e5\u8be2\u7684\u6570\u5341\u4e2a\u5012\u6392\u6876\uff08Inverted Lists\uff09\u5206\u53d1\u5230\u6570\u5341\u4e2a\u7269\u7406\u6838\u5fc3\u5e76\u884c\u626b\u63cf\u65f6\uff0cP99 \u5ef6\u8fdf\u4e0d\u4ec5\u672a\u80fd\u6309\u9884\u671f\u4e0b\u964d\uff0c\u53cd\u800c\u53ef\u80fd\u6076\u5316\u6570\u500d\uff1b\u4f34\u968f\u800c\u6765\u7684\u662f\u7cfb\u7edf\u8c03\u7528\u4e0e\u4e0a\u4e0b\u6587\u5207\u6362\u6fc0\u589e\u3001CPU \u8f6f\u4e2d\u65ad\u5360\u6bd4\u5f02\u5e38\uff0c\u4ee5\u53ca\u5355\u6838\u6709\u6548\u541e\u5410\u91cf\u7684\u65ad\u5d16\u5f0f\u4e0b\u8dcc\u3002\u800c\u5728\u6279\u91cf\u67e5\u8be2\u4e0e\u6d41\u5f0f\u6df7\u5408\u8d1f\u8f7d\u5171\u5b58\u7684\u573a\u666f\u4e0b\uff0c\u539f\u5148\u5728\u79bb\u7ebf\u8bc4\u6d4b\u4e2d\u541e\u5410\u4f18\u5f02\u7684\u7d22\u5f15\u914d\u7f6e\uff0c\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u5f80\u5f80\u96be\u4ee5\u7ef4\u7cfb\u7a33\u5b9a\u7684\u670d\u52a1\u8d28\u91cf\u3002<br \/>\n\u8fd9\u4e00\u73b0\u8c61\u7684\u672c\u8d28\uff0c\u662f\u5e76\u884c\u8ba1\u7b97\u6846<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10839,55,1348],"topic":[],"class_list":["post-119027","post","type-post","status-publish","format-standard","hentry","category-server","tag-faiss","tag-c","tag-1348"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/119027.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u57fa\u4e8e Faiss \u6784\u5efa\u5728\u7ebf\u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u65f6\uff0c\u4e00\u4e2a\u53cd\u76f4\u89c9\u7684\u6027\u80fd\u74f6\u9888\u5e38\u51fa\u73b0\u5728\u591a\u6838\u6269\u5c55\u9636\u6bb5\uff1a\u5f53\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u5c06\u5355\u6761\u67e5\u8be2\u7684\u6570\u5341\u4e2a\u5012\u6392\u6876\uff08Inverted Lists\uff09\u5206\u53d1\u5230\u6570\u5341\u4e2a\u7269\u7406\u6838\u5fc3\u5e76\u884c\u626b\u63cf\u65f6\uff0cP99 \u5ef6\u8fdf\u4e0d\u4ec5\u672a\u80fd\u6309\u9884\u671f\u4e0b\u964d\uff0c\u53cd\u800c\u53ef\u80fd\u6076\u5316\u6570\u500d\uff1b\u4f34\u968f\u800c\u6765\u7684\u662f\u7cfb\u7edf\u8c03\u7528\u4e0e\u4e0a\u4e0b\u6587\u5207\u6362\u6fc0\u589e\u3001CPU \u8f6f\u4e2d\u65ad\u5360\u6bd4\u5f02\u5e38\uff0c\u4ee5\u53ca\u5355\u6838\u6709\u6548\u541e\u5410\u91cf\u7684\u65ad\u5d16\u5f0f\u4e0b\u8dcc\u3002\u800c\u5728\u6279\u91cf\u67e5\u8be2\u4e0e\u6d41\u5f0f\u6df7\u5408\u8d1f\u8f7d\u5171\u5b58\u7684\u573a\u666f\u4e0b\uff0c\u539f\u5148\u5728\u79bb\u7ebf\u8bc4\u6d4b\u4e2d\u541e\u5410\u4f18\u5f02\u7684\u7d22\u5f15\u914d\u7f6e\uff0c\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u5f80\u5f80\u96be\u4ee5\u7ef4\u7cfb\u7a33\u5b9a\u7684\u670d\u52a1\u8d28\u91cf\u3002 \u8fd9\u4e00\u73b0\u8c61\u7684\u672c\u8d28\uff0c\u662f\u5e76\u884c\u8ba1\u7b97\u6846\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/119027.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-28T10:56:30+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119027.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/119027.html\",\"name\":\"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-28T10:56:30+00:00\",\"dateModified\":\"2026-10-28T10:56:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/119027.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/119027.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119027.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/119027.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u57fa\u4e8e Faiss \u6784\u5efa\u5728\u7ebf\u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u65f6\uff0c\u4e00\u4e2a\u53cd\u76f4\u89c9\u7684\u6027\u80fd\u74f6\u9888\u5e38\u51fa\u73b0\u5728\u591a\u6838\u6269\u5c55\u9636\u6bb5\uff1a\u5f53\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u5c06\u5355\u6761\u67e5\u8be2\u7684\u6570\u5341\u4e2a\u5012\u6392\u6876\uff08Inverted Lists\uff09\u5206\u53d1\u5230\u6570\u5341\u4e2a\u7269\u7406\u6838\u5fc3\u5e76\u884c\u626b\u63cf\u65f6\uff0cP99 \u5ef6\u8fdf\u4e0d\u4ec5\u672a\u80fd\u6309\u9884\u671f\u4e0b\u964d\uff0c\u53cd\u800c\u53ef\u80fd\u6076\u5316\u6570\u500d\uff1b\u4f34\u968f\u800c\u6765\u7684\u662f\u7cfb\u7edf\u8c03\u7528\u4e0e\u4e0a\u4e0b\u6587\u5207\u6362\u6fc0\u589e\u3001CPU \u8f6f\u4e2d\u65ad\u5360\u6bd4\u5f02\u5e38\uff0c\u4ee5\u53ca\u5355\u6838\u6709\u6548\u541e\u5410\u91cf\u7684\u65ad\u5d16\u5f0f\u4e0b\u8dcc\u3002\u800c\u5728\u6279\u91cf\u67e5\u8be2\u4e0e\u6d41\u5f0f\u6df7\u5408\u8d1f\u8f7d\u5171\u5b58\u7684\u573a\u666f\u4e0b\uff0c\u539f\u5148\u5728\u79bb\u7ebf\u8bc4\u6d4b\u4e2d\u541e\u5410\u4f18\u5f02\u7684\u7d22\u5f15\u914d\u7f6e\uff0c\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u5f80\u5f80\u96be\u4ee5\u7ef4\u7cfb\u7a33\u5b9a\u7684\u670d\u52a1\u8d28\u91cf\u3002 \u8fd9\u4e00\u73b0\u8c61\u7684\u672c\u8d28\uff0c\u662f\u5e76\u884c\u8ba1\u7b97\u6846","og_url":"https:\/\/www.wsisp.com\/helps\/119027.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-28T10:56:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/119027.html","url":"https:\/\/www.wsisp.com\/helps\/119027.html","name":"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-28T10:56:30+00:00","dateModified":"2026-10-28T10:56:30+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/119027.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/119027.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/119027.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5927\u6a21\u578b RAG \u7684 C++ \u6027\u80fd\u5e95\u5c42\uff1aFaiss \u5411\u91cf\u68c0\u7d22\u5fae\u670d\u52a1\u7684\u7ebf\u7a0b\u6c60\u8bbe\u8ba1\u4e0e\u5bb9\u5668\u5316\u907f\u5751"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=119027"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119027\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=119027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=119027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=119027"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=119027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}