{"id":83163,"date":"2026-07-25T18:10:23","date_gmt":"2026-07-25T10:10:23","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83163.html"},"modified":"2026-07-25T18:10:23","modified_gmt":"2026-07-25T10:10:23","slug":"kotaemon%e8%be%b9%e7%bc%98%e9%83%a8%e7%bd%b2%ef%bc%9a%e7%a7%81%e6%9c%89%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%a6%bb%e7%ba%bf%e8%bf%90%e8%a1%8c%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83163.html","title":{"rendered":"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b"},"content":{"rendered":"<h2>Kotaemon\u8fb9\u7f18\u90e8\u7f72&#xff1a;\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b<\/h2>\n<h3>1. \u5f15\u8a00<\/h3>\n<p>\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u624b\u5934\u6709\u4e00\u5806\u6280\u672f\u6587\u6863\u3001\u4ea7\u54c1\u624b\u518c\u6216\u8005\u5185\u90e8\u8d44\u6599&#xff0c;\u6bcf\u6b21\u60f3\u4ece\u4e2d\u5feb\u901f\u627e\u5230\u67d0\u4e2a\u95ee\u9898\u7684\u7b54\u6848&#xff0c;\u90fd\u5f97\u624b\u52a8\u7ffb\u627e\u534a\u5929&#xff0c;\u6548\u7387\u4f4e\u4e0d\u8bf4&#xff0c;\u8fd8\u5bb9\u6613\u9057\u6f0f\u5173\u952e\u4fe1\u606f\u3002\u5982\u679c\u6709\u4e00\u4e2a\u667a\u80fd\u52a9\u624b&#xff0c;\u80fd\u50cf\u5bf9\u8bdd\u4e00\u6837&#xff0c;\u76f4\u63a5\u56de\u7b54\u4f60\u5173\u4e8e\u8fd9\u4e9b\u6587\u6863\u7684\u4efb\u4f55\u95ee\u9898&#xff0c;\u662f\u4e0d\u662f\u80fd\u7701\u4e0b\u5927\u628a\u65f6\u95f4&#xff1f;<\/p>\n<p>\u4eca\u5929\u8981\u4ecb\u7ecd\u7684Kotaemon&#xff0c;\u5c31\u662f\u8fd9\u6837\u4e00\u4e2a\u5e2e\u4f60\u628a\u6587\u6863\u53d8\u6210\u201c\u77e5\u8bc6\u5e93\u201d\u7684\u5229\u5668\u3002\u5b83\u662f\u4e00\u4e2a\u5f00\u6e90\u7684RAG&#xff08;\u68c0\u7d22\u589e\u5f3a\u751f\u6210&#xff09;\u7528\u6237\u754c\u9762&#xff0c;\u7b80\u5355\u6765\u8bf4&#xff0c;\u5c31\u662f\u7ed9\u4f60\u4e00\u4e2a\u6f02\u4eae\u7684\u7f51\u9875&#xff0c;\u8ba9\u4f60\u80fd\u8f7b\u677e\u4e0a\u4f20\u6587\u6863&#xff0c;\u7136\u540e\u50cf\u804a\u5929\u4e00\u6837\u5411\u5b83\u63d0\u95ee&#xff0c;\u5b83\u4f1a\u4ece\u6587\u6863\u91cc\u627e\u5230\u76f8\u5173\u4fe1\u606f&#xff0c;\u5e76\u751f\u6210\u51c6\u786e\u7684\u7b54\u6848\u3002<\/p>\n<p>\u66f4\u68d2\u7684\u662f&#xff0c;Kotaemon\u652f\u6301\u5728\u79c1\u6709\u670d\u52a1\u5668\u4e0a\u79bb\u7ebf\u90e8\u7f72\u3002\u8fd9\u610f\u5473\u7740\u4f60\u6240\u6709\u7684\u6587\u6863\u6570\u636e\u3001\u63d0\u95ee\u8bb0\u5f55\u548c\u6a21\u578b\u63a8\u7406\u8fc7\u7a0b&#xff0c;\u90fd\u5b8c\u5168\u638c\u63e1\u5728\u81ea\u5df1\u624b\u91cc&#xff0c;\u65e0\u9700\u62c5\u5fc3\u6570\u636e\u6cc4\u9732\u5230\u516c\u7f51&#xff0c;\u4e5f\u65e0\u9700\u4f9d\u8d56\u4e0d\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5\u3002\u65e0\u8bba\u662f\u4f01\u4e1a\u5185\u90e8\u7684\u77e5\u8bc6\u7ba1\u7406\u3001\u7814\u53d1\u56e2\u961f\u7684\u6587\u6863\u67e5\u8be2&#xff0c;\u8fd8\u662f\u4e2a\u4eba\u5b66\u4e60\u8d44\u6599\u7684\u6574\u7406&#xff0c;\u79bb\u7ebf\u8fd0\u884c\u7684Kotaemon\u90fd\u80fd\u63d0\u4f9b\u4e00\u4e2a\u5b89\u5168\u3001\u79c1\u5bc6\u4e14\u9ad8\u6548\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u672c\u6559\u7a0b\u5c06\u624b\u628a\u624b\u5e26\u4f60\u5b8c\u6210Kotaemon\u5728\u79c1\u6709\u670d\u52a1\u5668\u4e0a\u7684\u79bb\u7ebf\u90e8\u7f72\u548c\u57fa\u7840\u914d\u7f6e&#xff0c;\u8ba9\u4f60\u5feb\u901f\u62e5\u6709\u4e00\u4e2a\u4e13\u5c5e\u7684\u3001\u79bb\u7ebf\u7684\u667a\u80fd\u6587\u6863\u95ee\u7b54\u52a9\u624b\u3002<\/p>\n<h3>2. \u73af\u5883\u51c6\u5907\u4e0e\u90e8\u7f72<\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u6211\u4eec\u9700\u8981\u786e\u4fdd\u670d\u52a1\u5668\u73af\u5883\u5c31\u7eea\u3002Kotaemon\u7684\u90e8\u7f72\u975e\u5e38\u7075\u6d3b&#xff0c;\u4f46\u4e3a\u4e86\u83b7\u5f97\u6700\u4f73\u7684\u79bb\u7ebf\u4f53\u9a8c\u548c\u6027\u80fd&#xff0c;\u5efa\u8bae\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\u3002<\/p>\n<h4>2.1 \u7cfb\u7edf\u4e0e\u786c\u4ef6\u8981\u6c42<\/h4>\n<p>\u9996\u5148&#xff0c;\u786e\u8ba4\u4f60\u7684\u670d\u52a1\u5668\u6ee1\u8db3\u57fa\u672c\u8981\u6c42&#xff1a;<\/p>\n<ul>\n<li>\u64cd\u4f5c\u7cfb\u7edf&#xff1a;\u63a8\u8350 Ubuntu 20.04 LTS \u6216\u66f4\u9ad8\u7248\u672c&#xff0c;CentOS 7\/8 \u4e5f\u53ef\u884c\u3002<\/li>\n<li>\u5185\u5b58&#xff1a;\u81f3\u5c11 8GB RAM\u3002\u5982\u679c\u8ba1\u5212\u8fd0\u884c\u8f83\u5927\u7684\u8bed\u8a00\u6a21\u578b&#xff08;\u5982 Llama2 13B&#xff09;&#xff0c;\u5efa\u8bae 16GB \u6216\u4ee5\u4e0a\u3002<\/li>\n<li>\u5b58\u50a8&#xff1a;\u81f3\u5c11 20GB \u53ef\u7528\u78c1\u76d8\u7a7a\u95f4&#xff0c;\u7528\u4e8e\u5b58\u653e\u7cfb\u7edf\u3001\u6a21\u578b\u548c\u6587\u6863\u3002<\/li>\n<li>\u7f51\u7edc&#xff1a;\u90e8\u7f72\u9636\u6bb5\u9700\u8981\u4ece\u955c\u50cf\u4ed3\u5e93\u62c9\u53d6\u955c\u50cf\u3002\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u53ef\u5207\u65ad\u5916\u7f51\u5b9e\u73b0\u7eaf\u79bb\u7ebf\u8fd0\u884c\u3002<\/li>\n<li>Docker&#xff1a;\u8fd9\u662f\u8fd0\u884cKotaemon\u6700\u4fbf\u6377\u7684\u65b9\u5f0f\u3002\u786e\u4fdd\u670d\u52a1\u5668\u4e0a\u5df2\u5b89\u88c5Docker\u548cDocker Compose\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u5c1a\u672a\u5b89\u88c5Docker&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5&#xff08;\u4ee5Ubuntu\u4e3a\u4f8b&#xff09;&#xff1a;<\/p>\n<p># \u66f4\u65b0\u8f6f\u4ef6\u5305\u7d22\u5f15<br \/>\nsudo apt-get update<\/p>\n<p># \u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u5305<br \/>\nsudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common<\/p>\n<p># \u6dfb\u52a0Docker\u5b98\u65b9GPG\u5bc6\u94a5<br \/>\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add &#8211;<\/p>\n<p># \u6dfb\u52a0Docker\u4ed3\u5e93<br \/>\nsudo add-apt-repository &#034;deb [arch&#061;amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable&#034;<\/p>\n<p># \u518d\u6b21\u66f4\u65b0\u5e76\u5b89\u88c5Docker<br \/>\nsudo apt-get update<br \/>\nsudo apt-get install -y docker-ce docker-ce-cli containerd.io<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5<br \/>\nsudo docker &#8211;version<\/p>\n<p># \u5b89\u88c5Docker Compose<br \/>\nsudo curl -L &#034;https:\/\/github.com\/docker\/compose\/releases\/download\/v2.20.0\/docker-compose-$(uname -s)-$(uname -m)&#034; -o \/usr\/local\/bin\/docker-compose<br \/>\nsudo chmod &#043;x \/usr\/local\/bin\/docker-compose<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5<br \/>\ndocker-compose &#8211;version<\/p>\n<h4>2.2 \u83b7\u53d6\u4e0e\u542f\u52a8Kotaemon\u955c\u50cf<\/h4>\n<p>\u5f97\u76ca\u4e8e\u5bb9\u5668\u5316\u6280\u672f&#xff0c;\u90e8\u7f72Kotaemon\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u3002\u6211\u4eec\u4f7f\u7528\u9884\u7f6e\u7684Docker\u955c\u50cf\u6765\u4e00\u952e\u542f\u52a8\u3002<\/p>\n<li>\n<p>\u62c9\u53d6\u955c\u50cf&#xff1a;\u5728\u670d\u52a1\u5668\u4e0a\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u4ece\u955c\u50cf\u4ed3\u5e93\u62c9\u53d6Kotaemon\u7684\u6700\u65b0\u955c\u50cf\u3002<\/p>\n<p> sudo docker pull registry.cn-hangzhou.aliyuncs.com\/csdn_mirrors\/kotaemon:latest<\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u4e0b\u8f7d\u8fd0\u884cKotaemon\u6240\u9700\u7684\u6240\u6709\u7ec4\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fd0\u884c\u5bb9\u5668&#xff1a;\u955c\u50cf\u62c9\u53d6\u5b8c\u6210\u540e&#xff0c;\u4f7f\u7528\u4e00\u6761\u547d\u4ee4\u5373\u53ef\u542f\u52a8Kotaemon\u670d\u52a1\u3002<\/p>\n<p> sudo docker run -d &#8211;name kotaemon -p 7860:7860 registry.cn-hangzhou.aliyuncs.com\/csdn_mirrors\/kotaemon:latest<\/p>\n<ul>\n<li>-d \u53c2\u6570\u8868\u793a\u5728\u540e\u53f0\u8fd0\u884c\u5bb9\u5668\u3002<\/li>\n<li>&#8211;name kotaemon \u4e3a\u5bb9\u5668\u6307\u5b9a\u4e00\u4e2a\u540d\u5b57&#xff0c;\u65b9\u4fbf\u540e\u7eed\u7ba1\u7406\u3002<\/li>\n<li>-p 7860:7860 \u5c06\u5bb9\u5668\u5185\u90e8\u76847860\u7aef\u53e3\u6620\u5c04\u5230\u670d\u52a1\u5668\u76847860\u7aef\u53e3\u3002\u8fd9\u610f\u5473\u7740\u4f60\u901a\u8fc7\u8bbf\u95ee\u670d\u52a1\u5668\u7684IP:7860\u5c31\u80fd\u6253\u5f00Kotaemon\u7684\u7f51\u9875\u754c\u9762\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u8fd0\u884c&#xff1a;\u8fd0\u884c\u540e&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u5bb9\u5668\u72b6\u6001\u3002<\/p>\n<p> sudo docker ps<\/p>\n<p>\u5982\u679c\u770b\u5230\u540d\u4e3a kotaemon \u7684\u5bb9\u5668\u72b6\u6001\u4e3a Up&#xff0c;\u8bf4\u660e\u670d\u52a1\u5df2\u6210\u529f\u542f\u52a8\u3002<\/p>\n<\/li>\n<p>\u81f3\u6b64&#xff0c;Kotaemon\u7684\u6838\u5fc3\u670d\u52a1\u5df2\u7ecf\u5728\u4f60\u79c1\u6709\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u8d77\u6765\u4e86\u3002\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u901a\u8fc7\u6d4f\u89c8\u5668\u8fdb\u884c\u521d\u59cb\u914d\u7f6e\u3002<\/p>\n<h3>3. \u521d\u59cb\u767b\u5f55\u4e0e\u754c\u9762\u6982\u89c8<\/h3>\n<p>\u670d\u52a1\u542f\u52a8\u540e&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u7f51\u9875\u6765\u8bbf\u95ee\u548c\u914d\u7f6eKotaemon\u4e86\u3002<\/p>\n<h4>3.1 \u8bbf\u95eeWeb\u754c\u9762<\/h4>\n<p>\u6253\u5f00\u4f60\u7535\u8111\u4e0a\u7684\u6d4f\u89c8\u5668&#xff0c;\u5728\u5730\u5740\u680f\u8f93\u5165\u4f60\u7684\u670d\u52a1\u5668IP\u5730\u5740\u548c\u7aef\u53e3\u53f7\u3002\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/p>\n<p>http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP\u5730\u5740:7860<\/p>\n<p>\u4f8b\u5982&#xff0c;\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u5185\u7f51IP\u662f 192.168.1.100&#xff0c;\u90a3\u4e48\u5c31\u8bbf\u95ee http:\/\/192.168.1.100:7860\u3002<\/p>\n<p>\u9996\u6b21\u8bbf\u95ee&#xff0c;\u4f60\u4f1a\u770b\u5230Kotaemon\u7684\u767b\u5f55\u754c\u9762\u3002<\/p>\n<h4>3.2 \u767b\u5f55\u7cfb\u7edf<\/h4>\n<p>\u5728\u767b\u5f55\u754c\u9762&#xff0c;\u8f93\u5165\u9ed8\u8ba4\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801&#xff1a;<\/p>\n<ul>\n<li>\u7528\u6237\u540d&#xff1a;admin<\/li>\n<li>\u5bc6\u7801&#xff1a;admin<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725101020-6a648b8c858e5.png\" alt=\"Kotaemon\u767b\u5f55\u754c\u9762\" \/><\/p>\n<p>\u70b9\u51fb\u767b\u5f55&#xff0c;\u7cfb\u7edf\u4f1a\u63d0\u793a\u4f60\u4fee\u6539\u9ed8\u8ba4\u5bc6\u7801\u3002\u4e3a\u4e86\u5b89\u5168\u8d77\u89c1&#xff0c;\u8bf7\u52a1\u5fc5\u8bbe\u7f6e\u4e00\u4e2a\u5f3a\u5bc6\u7801\u3002\u4fee\u6539\u6210\u529f\u540e&#xff0c;\u4f60\u5c06\u8fdb\u5165Kotaemon\u7684\u4e3b\u754c\u9762\u3002<\/p>\n<h4>3.3 \u4e3b\u754c\u9762\u529f\u80fd\u5bfc\u89c8<\/h4>\n<p>\u767b\u5f55\u540e\u7684\u9996\u9875\u901a\u5e38\u662f\u4e00\u4e2a\u4eea\u8868\u76d8\u6216\u9879\u76ee\u5217\u8868\u9875\u9762&#xff0c;\u754c\u9762\u8bbe\u8ba1\u6e05\u6670\u76f4\u89c2\u3002\u4e3b\u8981\u529f\u80fd\u533a\u57df\u901a\u5e38\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u9879\u76ee\u5217\u8868&#xff1a;\u663e\u793a\u4f60\u521b\u5efa\u7684\u6240\u6709RAG\u95ee\u7b54\u9879\u76ee\u3002<\/li>\n<li>\u65b0\u5efa\u9879\u76ee&#xff1a;\u6309\u94ae\u6216\u5165\u53e3&#xff0c;\u7528\u4e8e\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u6863\u77e5\u8bc6\u5e93\u3002<\/li>\n<li>\u6a21\u578b\u7ba1\u7406&#xff1a;\u914d\u7f6e\u540e\u7aef\u8bed\u8a00\u6a21\u578b\u7684\u5730\u65b9&#xff08;\u8fd9\u662f\u6211\u4eec\u4e0b\u4e00\u6b65\u8981\u505a\u7684\u5173\u952e\u914d\u7f6e&#xff09;\u3002<\/li>\n<li>\u5bf9\u8bdd\u5386\u53f2&#xff1a;\u67e5\u770b\u8fc7\u5f80\u7684\u63d0\u95ee\u548c\u56de\u7b54\u8bb0\u5f55\u3002<\/li>\n<\/ul>\n<p>\u73b0\u5728\u754c\u9762\u5df2\u7ecf\u53ef\u4ee5\u8bbf\u95ee&#xff0c;\u4f46\u8981\u8ba9Kotaemon\u771f\u6b63\u201c\u667a\u80fd\u201d\u8d77\u6765&#xff0c;\u80fd\u56de\u7b54\u5173\u4e8e\u6587\u6863\u7684\u95ee\u9898&#xff0c;\u6211\u4eec\u8fd8\u9700\u8981\u4e3a\u5b83\u914d\u7f6e\u4e00\u4e2a\u201c\u5927\u8111\u201d\u2014\u2014\u4e5f\u5c31\u662f\u5927\u8bed\u8a00\u6a21\u578b\u3002<\/p>\n<h3>4. \u914d\u7f6e\u79bb\u7ebf\u8bed\u8a00\u6a21\u578b&#xff08;Ollama&#xff09;<\/h3>\n<p>Kotaemon\u672c\u8eab\u662f\u4e00\u4e2a\u4f18\u79c0\u7684\u754c\u9762\u548cRAG\u6d41\u7a0b\u8c03\u5ea6\u6846\u67b6&#xff0c;\u4f46\u5b83\u4e0d\u5305\u542b\u751f\u6210\u7b54\u6848\u7684\u8bed\u8a00\u6a21\u578b\u3002\u4e3a\u4e86\u5b9e\u73b0\u5b8c\u5168\u79bb\u7ebf&#xff0c;\u6211\u4eec\u9700\u8981\u5728\u672c\u5730\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e00\u4e2a\u8bed\u8a00\u6a21\u578b\u670d\u52a1\u3002Ollama \u662f\u4e00\u4e2a\u5b8c\u7f8e\u5951\u5408\u6b64\u9700\u6c42\u7684\u5de5\u5177&#xff0c;\u5b83\u80fd\u8ba9\u4f60\u5728\u672c\u5730\u8f7b\u677e\u8fd0\u884c\u5404\u79cd\u5f00\u6e90\u5927\u6a21\u578b\u3002<\/p>\n<h4>4.1 \u90e8\u7f72Ollama\u670d\u52a1<\/h4>\n<p>\u5728\u4f60\u7684\u79c1\u6709\u670d\u52a1\u5668\u4e0a&#xff0c;\u6253\u5f00\u7ec8\u7aef&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5e76\u8fd0\u884cOllama&#xff1a;<\/p>\n<p># \u4f7f\u7528\u5b98\u65b9\u811a\u672c\u5b89\u88c5Ollama<br \/>\ncurl -fsSL https:\/\/ollama.com\/install.sh | sh<\/p>\n<p># \u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u542f\u52a8Ollama\u670d\u52a1&#xff08;\u5b83\u4f1a\u4ee5\u540e\u53f0\u670d\u52a1\u5f62\u5f0f\u8fd0\u884c&#xff09;<br \/>\nollama serve &amp;<\/p>\n<p>Ollama\u9ed8\u8ba4\u4f1a\u5728 11434 \u7aef\u53e3\u542f\u52a8\u4e00\u4e2aAPI\u670d\u52a1&#xff0c;\u7528\u4e8e\u63a5\u6536Kotaemon\u7684\u8bf7\u6c42\u3002<\/p>\n<h4>4.2 \u62c9\u53d6\u5e76\u8fd0\u884c\u6a21\u578b<\/h4>\n<p>Ollama\u5b89\u88c5\u597d\u540e&#xff0c;\u6211\u4eec\u9700\u8981\u4e3a\u5b83\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u6a21\u578b\u3002\u5bf9\u4e8e\u6587\u6863\u95ee\u7b54\u573a\u666f&#xff0c;\u4e00\u4e2a7B\u53c2\u6570\u5de6\u53f3\u7684\u6a21\u578b\u5728\u7cbe\u5ea6\u548c\u8d44\u6e90\u6d88\u8017\u4e0a\u6bd4\u8f83\u5e73\u8861\u3002\u8fd9\u91cc\u4ee5\u8f7b\u91cf\u4e14\u6027\u80fd\u4e0d\u9519\u7684 llama3.2:1b \u4e3a\u4f8b&#xff08;\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u914d\u7f6e\u66f4\u9ad8&#xff0c;\u53ef\u4ee5\u9009\u62e9 llama3.2:3b \u6216 mistral:7b \u7b49&#xff09;\u3002<\/p>\n<p>\u5728\u670d\u52a1\u5668\u7ec8\u7aef\u6267\u884c&#xff1a;<\/p>\n<p># \u4eceOllama\u4ed3\u5e93\u62c9\u53d6llama3.2:1b\u6a21\u578b&#xff08;\u9996\u6b21\u8fd0\u884c\u4f1a\u81ea\u52a8\u4e0b\u8f7d&#xff09;<br \/>\nollama run llama3.2:1b<\/p>\n<p>\u8fd0\u884c\u8fd9\u4e2a\u547d\u4ee4\u540e&#xff0c;Ollama\u4f1a\u4e0b\u8f7d\u6a21\u578b\u6587\u4ef6&#xff08;\u7ea60.6GB&#xff09;\u5e76\u542f\u52a8\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u5bf9\u8bdd\u3002\u4f60\u53ef\u4ee5\u6309 Ctrl&#043;C \u9000\u51fa\u4ea4\u4e92\u754c\u9762&#xff0c;\u4f46Ollama\u670d\u52a1\u4ecd\u5728\u540e\u53f0\u8fd0\u884c&#xff0c;\u6a21\u578b\u4e5f\u5df2\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u7b49\u5f85\u8c03\u7528\u3002<\/p>\n<p>\u9a8c\u8bc1\u6a21\u578b\u670d\u52a1&#xff1a;\u6253\u5f00\u53e6\u4e00\u4e2a\u7ec8\u7aef&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6d4b\u8bd5Ollama API\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>curl http:\/\/localhost:11434\/api\/generate -d &#039;{<br \/>\n  &#034;model&#034;: &#034;llama3.2:1b&#034;,<br \/>\n  &#034;prompt&#034;: &#034;Hello, how are you?&#034;,<br \/>\n  &#034;stream&#034;: false<br \/>\n}&#039;<\/p>\n<p>\u5982\u679c\u770b\u5230\u8fd4\u56de\u4e86\u4e00\u6bb5JSON\u683c\u5f0f\u7684\u6587\u672c\u56de\u7b54&#xff0c;\u8bf4\u660eOllama\u548c\u6a21\u578b\u90fd\u5df2\u5c31\u7eea\u3002<\/p>\n<h4>4.3 \u5728Kotaemon\u4e2d\u914d\u7f6e\u6a21\u578b<\/h4>\n<p>\u73b0\u5728&#xff0c;\u56de\u5230Kotaemon\u7684Web\u754c\u9762&#xff0c;\u6211\u4eec\u9700\u8981\u544a\u8bc9\u5b83\u53bb\u54ea\u91cc\u627e\u5230\u6211\u4eec\u521a\u90e8\u7f72\u597d\u7684\u201c\u5927\u8111\u201d\u3002<\/p>\n<li>\u5728Kotaemon\u4e3b\u754c\u9762&#xff0c;\u627e\u5230 \u8bbe\u7f6e&#xff08;Settings&#xff09;\u3001\u6a21\u578b\u7ba1\u7406&#xff08;Model Management&#xff09; \u6216\u7c7b\u4f3c\u7684\u914d\u7f6e\u5165\u53e3\u3002<\/li>\n<li>\u5728\u6a21\u578b\u914d\u7f6e\u9875\u9762&#xff0c;\u4f60\u9700\u8981\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u6a21\u578b\u7aef\u70b9&#xff08;Endpoint&#xff09;\u3002\n<ul>\n<li>\u6a21\u578b\u540d\u79f0&#xff1a;\u53ef\u4ee5\u81ea\u5b9a\u4e49&#xff0c;\u4f8b\u5982 My-Local-Llama\u3002<\/li>\n<li>\u6a21\u578b\u7c7b\u578b&#xff1a;\u9009\u62e9 Ollama\u3002<\/li>\n<li>API\u5730\u5740&#xff1a;\u586b\u5199\u4f60\u7684Ollama\u670d\u52a1\u5730\u5740\u3002\u56e0\u4e3aKotaemon\u548cOllama\u90fd\u8fd0\u884c\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a&#xff0c;\u6240\u4ee5\u5730\u5740\u662f http:\/\/localhost:11434\u3002\u5982\u679cOllama\u90e8\u7f72\u5728\u5176\u4ed6\u673a\u5668&#xff0c;\u5219\u9700\u586b\u5199\u90a3\u53f0\u673a\u5668\u7684IP\u3002<\/li>\n<li>\u6a21\u578b\u6807\u8bc6&#xff1a;\u586b\u5199\u4f60\u5728Ollama\u4e2d\u62c9\u53d6\u7684\u6a21\u578b\u540d\u79f0&#xff0c;\u5373 llama3.2:1b\u3002<\/li>\n<\/ul>\n<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725101021-6a648b8d3b8e8.png\" alt=\"\u5728Kotaemon\u4e2d\u914d\u7f6eOllama\u6a21\u578b\" \/><\/p>\n<li>\u70b9\u51fb\u201c\u6d4b\u8bd5\u8fde\u63a5\u201d\u6216\u201c\u4fdd\u5b58\u201d\u3002\u5982\u679c\u914d\u7f6e\u6b63\u786e&#xff0c;Kotaemon\u4f1a\u63d0\u793a\u8fde\u63a5\u6210\u529f\u3002<\/li>\n<p>\u81f3\u6b64&#xff0c;\u4e00\u4e2a\u5b8c\u5168\u79bb\u7ebf\u7684RAG\u7cfb\u7edf\u6838\u5fc3\u5c31\u642d\u5efa\u5b8c\u6210\u4e86\u3002Kotaemon&#xff08;\u754c\u9762\u548c\u68c0\u7d22&#xff09;\u548c Ollama&#xff08;\u8bed\u8a00\u6a21\u578b&#xff09;\u90fd\u5728\u4f60\u7684\u79c1\u6709\u670d\u52a1\u5668\u4e0a\u8fd0\u884c&#xff0c;\u6240\u6709\u6570\u636e\u5904\u7406\u548c\u95ee\u7b54\u751f\u6210\u90fd\u5728\u5185\u7f51\u5b8c\u6210\u3002<\/p>\n<h3>5. \u521b\u5efa\u4f60\u7684\u7b2c\u4e00\u4e2a\u6587\u6863\u95ee\u7b54\u9879\u76ee<\/h3>\n<p>\u7cfb\u7edf\u914d\u7f6e\u597d\u540e&#xff0c;\u8ba9\u6211\u4eec\u6765\u5b9e\u9645\u521b\u5efa\u4e00\u4e2a\u77e5\u8bc6\u5e93\u5e76\u4f53\u9a8c\u667a\u80fd\u95ee\u7b54\u3002<\/p>\n<h4>5.1 \u65b0\u5efa\u9879\u76ee\u4e0e\u4e0a\u4f20\u6587\u6863<\/h4>\n<li>\u5728Kotaemon\u9996\u9875&#xff0c;\u70b9\u51fb \u201c\u65b0\u5efa\u9879\u76ee\u201d \u6216\u7c7b\u4f3c\u7684\u6309\u94ae\u3002<\/li>\n<li>\u4e3a\u9879\u76ee\u8d77\u4e00\u4e2a\u540d\u5b57&#xff0c;\u4f8b\u5982\u201c\u4ea7\u54c1\u6280\u672f\u624b\u518c\u201d\u3002<\/li>\n<li>\u8fdb\u5165\u9879\u76ee\u540e&#xff0c;\u5bfb\u627e \u201c\u4e0a\u4f20\u6587\u6863\u201d \u6216 \u201c\u77e5\u8bc6\u5e93\u7ba1\u7406\u201d \u533a\u57df\u3002Kotaemon\u652f\u6301\u591a\u79cd\u683c\u5f0f&#xff0c;\u5305\u62ec&#xff1a;\n<ul>\n<li>\u6587\u672c\u6587\u4ef6&#xff1a;.txt, .md<\/li>\n<li>\u529e\u516c\u6587\u6863&#xff1a;.pdf, .docx, .pptx<\/li>\n<li>\u7f51\u9875&#xff1a;.html<\/li>\n<li>\u7535\u5b50\u4e66&#xff1a;.epub<\/li>\n<\/ul>\n<\/li>\n<li>\u5c06\u4f60\u7684\u6587\u6863&#xff08;\u6bd4\u5982\u4e00\u4efdPDF\u683c\u5f0f\u7684\u4ea7\u54c1\u8bf4\u660e\u4e66&#xff09;\u62d6\u62fd\u5230\u4e0a\u4f20\u533a\u57df\u6216\u70b9\u51fb\u9009\u62e9\u6587\u4ef6\u4e0a\u4f20\u3002<\/li>\n<p>\u4e0a\u4f20\u540e&#xff0c;Kotaemon\u4f1a\u5728\u540e\u53f0\u81ea\u52a8\u8fdb\u884c\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<ul>\n<li>\u6587\u6863\u89e3\u6790&#xff1a;\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u3002<\/li>\n<li>\u6587\u672c\u5206\u5272&#xff1a;\u5c06\u957f\u6587\u6863\u5207\u6210\u4e00\u6bb5\u6bb5\u6709\u610f\u4e49\u7684\u6587\u672c\u5757&#xff08;Chunks&#xff09;\u3002<\/li>\n<li>\u5411\u91cf\u5316&#xff1a;\u4f7f\u7528\u5d4c\u5165\u6a21\u578b&#xff08;Embedding Model&#xff09;\u5c06\u6bcf\u4e00\u6bb5\u6587\u672c\u8f6c\u6362\u6210\u6570\u5b66\u5411\u91cf\u3002\u8bf7\u6ce8\u610f&#xff1a;\u9996\u6b21\u8fd0\u884c\u65f6&#xff0c;Kotaemon\u53ef\u80fd\u9700\u8981\u4e0b\u8f7d\u4e00\u4e2a\u5d4c\u5165\u6a21\u578b&#xff08;\u5982 BAAI\/bge-small-zh-v1.5&#xff09;\u3002\u4f60\u53ef\u4ee5\u5728\u9879\u76ee\u8bbe\u7f6e\u4e2d\u6307\u5b9a\u4f7f\u7528\u672c\u5730\u5df2\u6709\u7684\u6a21\u578b&#xff0c;\u6216\u8005\u5141\u8bb8\u5b83\u5728\u7ebf\u4e0b\u8f7d\u4e00\u6b21&#xff0c;\u4e4b\u540e\u4fbf\u53ef\u79bb\u7ebf\u4f7f\u7528\u3002\u5411\u91cf\u5316\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u540e\u7eed\u7684\u201c\u68c0\u7d22\u201d\u3002<\/li>\n<\/ul>\n<h4>5.2 \u8fdb\u884c\u667a\u80fd\u95ee\u7b54<\/h4>\n<p>\u6587\u6863\u5904\u7406\u5b8c\u6210\u540e&#xff08;\u754c\u9762\u4f1a\u6709\u63d0\u793a&#xff09;&#xff0c;\u4f60\u5c31\u53ef\u4ee5\u5f00\u59cb\u63d0\u95ee\u4e86\u3002<\/p>\n<li>\u5728\u9879\u76ee\u754c\u9762\u627e\u5230\u660e\u663e\u7684\u5bf9\u8bdd\u8f93\u5165\u6846\u3002<\/li>\n<li>\u8f93\u5165\u4f60\u7684\u95ee\u9898\u3002\u4f8b\u5982&#xff0c;\u5982\u679c\u4f60\u4e0a\u4f20\u7684\u662f\u4e00\u4efd\u8f6f\u4ef6API\u6587\u6863&#xff0c;\u53ef\u4ee5\u95ee&#xff1a;\u201c\u8bf7\u95ee\u7528\u6237\u767b\u5f55\u63a5\u53e3\u7684\u8bf7\u6c42\u53c2\u6570\u6709\u54ea\u4e9b&#xff1f;\u201d<\/li>\n<li>\u70b9\u51fb\u53d1\u9001\u6216\u8fd0\u884c\u6309\u94ae\u3002<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725101021-6a648b8dccb93.png\" alt=\"\u5728Kotaemon\u4e2d\u8fdb\u884c\u95ee\u7b54\" \/><\/p>\n<p>\u5e55\u540e\u53d1\u751f\u4e86\u4ec0\u4e48&#xff1f; \u5f53\u4f60\u63d0\u95ee\u65f6&#xff0c;Kotaemon\u4f1a\u6267\u884c\u4e00\u4e2a\u6807\u51c6\u7684RAG\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u68c0\u7d22&#xff08;Retrieval&#xff09;&#xff1a;\u5c06\u4f60\u7684\u95ee\u9898\u4e5f\u8f6c\u6362\u6210\u5411\u91cf&#xff0c;\u7136\u540e\u5728\u6587\u6863\u6240\u6709\u6587\u672c\u5757\u7684\u5411\u91cf\u5e93\u4e2d&#xff0c;\u5feb\u901f\u627e\u5230\u4e0e\u95ee\u9898\u5411\u91cf\u6700\u76f8\u4f3c\u7684\u51e0\u4e2a\u6587\u672c\u5757\u3002\u8fd9\u5c31\u662f\u201c\u8bed\u4e49\u641c\u7d22\u201d&#xff0c;\u6bd4\u5173\u952e\u8bcd\u5339\u914d\u66f4\u667a\u80fd\u3002<\/li>\n<li>\u589e\u5f3a&#xff08;Augmentation&#xff09;&#xff1a;\u5c06\u627e\u5230\u7684\u76f8\u5173\u6587\u672c\u5757\u548c\u4f60\u7684\u539f\u59cb\u95ee\u9898&#xff0c;\u4e00\u8d77\u7ec4\u5408\u6210\u4e00\u4e2a\u66f4\u4e30\u5bcc\u7684\u201c\u63d0\u793a\u8bcd\u201d&#xff08;Prompt&#xff09;\u3002<\/li>\n<li>\u751f\u6210&#xff08;Generation&#xff09;&#xff1a;\u5c06\u8fd9\u4e2a\u589e\u5f3a\u540e\u7684\u63d0\u793a\u8bcd&#xff0c;\u53d1\u9001\u7ed9\u6211\u4eec\u914d\u7f6e\u597d\u7684Ollama\u672c\u5730\u6a21\u578b&#xff08;llama3.2:1b&#xff09;\u3002\u6a21\u578b\u57fa\u4e8e\u8fd9\u4e9b\u53ef\u9760\u7684\u6587\u6863\u7247\u6bb5&#xff0c;\u751f\u6210\u4e00\u4e2a\u51c6\u786e\u3001\u53ef\u9760\u7684\u7b54\u6848&#xff0c;\u5e76\u663e\u793a\u5728\u5bf9\u8bdd\u754c\u9762\u4e0a\u3002<\/li>\n<p>\u4f60\u4f1a\u770b\u5230&#xff0c;\u7b54\u6848\u4e2d\u901a\u5e38\u4f1a\u5f15\u7528\u6765\u6e90\u6587\u6863\u7684\u7247\u6bb5&#xff0c;\u5e76\u53ef\u80fd\u6807\u6ce8\u51fa\u5904&#xff0c;\u8fd9\u5927\u5927\u589e\u52a0\u4e86\u7b54\u6848\u7684\u53ef\u4fe1\u5ea6\u3002<\/p>\n<h3>6. \u8fdb\u9636\u914d\u7f6e\u4e0e\u4f7f\u7528\u6280\u5de7<\/h3>\n<p>\u638c\u63e1\u4e86\u57fa\u7840\u64cd\u4f5c\u540e&#xff0c;\u8fd9\u91cc\u6709\u4e00\u4e9b\u8fdb\u9636\u6280\u5de7\u80fd\u8ba9\u4f60\u7684\u79c1\u6709\u77e5\u8bc6\u5e93\u66f4\u597d\u7528\u3002<\/p>\n<h4>6.1 \u4f18\u5316\u68c0\u7d22\u6548\u679c<\/h4>\n<p>\u5982\u679c\u53d1\u73b0\u7b54\u6848\u4e0d\u592a\u51c6&#xff0c;\u53ef\u80fd\u662f\u68c0\u7d22\u73af\u8282\u51fa\u4e86\u95ee\u9898&#xff0c;\u53ef\u4ee5\u8c03\u6574&#xff1a;<\/p>\n<ul>\n<li>\u6587\u672c\u5206\u5272\u7b56\u7565&#xff1a;\u5728\u9879\u76ee\u8bbe\u7f6e\u4e2d&#xff0c;\u53ef\u4ee5\u8c03\u6574\u6587\u672c\u5757\u7684\u5927\u5c0f&#xff08;chunk size&#xff09;\u548c\u91cd\u53e0\u533a\u95f4&#xff08;chunk overlap&#xff09;\u3002\u5bf9\u4e8e\u6280\u672f\u6587\u6863&#xff0c;\u8f83\u5c0f\u7684\u5757&#xff08;\u5982256\u5b57&#xff09;\u548c\u4e00\u5b9a\u7684\u91cd\u53e0&#xff08;\u598250\u5b57&#xff09;\u53ef\u80fd\u6548\u679c\u66f4\u597d\u3002<\/li>\n<li>\u68c0\u7d22\u6570\u91cf&#xff1a;\u8c03\u6574\u6bcf\u6b21\u68c0\u7d22\u8fd4\u56de\u7684\u6587\u672c\u5757\u6570\u91cf\u3002\u9ed8\u8ba4\u53ef\u80fd\u662f3-5\u4e2a&#xff0c;\u5bf9\u4e8e\u590d\u6742\u95ee\u9898&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u589e\u52a0\u52305-7\u4e2a&#xff0c;\u7ed9\u6a21\u578b\u66f4\u591a\u4e0a\u4e0b\u6587\u3002<\/li>\n<\/ul>\n<h4>6.2 \u5c1d\u8bd5\u4e0d\u540c\u7684\u672c\u5730\u6a21\u578b<\/h4>\n<p>Ollama\u652f\u6301\u4f17\u591a\u6a21\u578b&#xff0c;\u4f60\u53ef\u4ee5\u6839\u636e\u4efb\u52a1\u9700\u6c42\u548c\u670d\u52a1\u5668\u6027\u80fd\u5207\u6362&#xff1a;<\/p>\n<ul>\n<li>\u8f7b\u91cf\u5feb\u901f&#xff1a;llama3.2:1b, phi3:mini<\/li>\n<li>\u5747\u8861\u6027\u80fd&#xff1a;llama3.2:3b, mistral:7b, qwen2.5:7b<\/li>\n<li>\u4e2d\u6587\u4f18\u5316&#xff1a;qwen2.5:7b \u5bf9\u4e2d\u6587\u652f\u6301\u975e\u5e38\u53cb\u597d\u3002<\/li>\n<\/ul>\n<p>\u66f4\u6362\u6a21\u578b\u53ea\u9700\u5728Ollama\u4e2d\u62c9\u53d6\u65b0\u6a21\u578b&#xff0c;\u5e76\u5728Kotaemon\u7684\u6a21\u578b\u914d\u7f6e\u4e2d\u66f4\u65b0\u201c\u6a21\u578b\u6807\u8bc6\u201d\u5373\u53ef\u3002<\/p>\n<p># \u62c9\u53d6\u4e00\u4e2a\u65b0\u6a21\u578b<br \/>\nollama pull qwen2.5:7b<br \/>\n# \u4e4b\u540e\u5728Kotaemon\u8bbe\u7f6e\u4e2d\u5c06\u6a21\u578b\u6807\u8bc6\u6539\u4e3a qwen2.5:7b<\/p>\n<h4>6.3 \u5b9e\u73b0\u5b8c\u5168\u79bb\u7ebf<\/h4>\n<p>\u4e3a\u4e86\u8fbe\u5230\u6781\u81f4\u7684\u79bb\u7ebf\u72b6\u6001&#xff0c;\u4f60\u9700\u8981\u786e\u4fdd&#xff1a;<\/p>\n<li>\u5d4c\u5165\u6a21\u578b\u672c\u5730\u5316&#xff1a;\u5728Kotaemon\u7684\u8bbe\u7f6e\u4e2d&#xff0c;\u5c06\u5d4c\u5165\u6a21\u578b&#xff08;Embedding Model&#xff09;\u4e5f\u6307\u5411\u4e00\u4e2a\u672c\u5730\u8def\u5f84\u6216\u5df2\u7ecf\u4e0b\u8f7d\u597d\u7684\u6a21\u578b\u540d\u79f0&#xff0c;\u907f\u514d\u6bcf\u6b21\u542f\u52a8\u65f6\u5c1d\u8bd5\u8054\u7f51\u4e0b\u8f7d\u3002<\/li>\n<li>\u5173\u95ed\u6240\u6709\u5916\u90e8\u8fde\u63a5&#xff1a;\u786e\u8ba4Kotaemon\u548cOllama\u7684\u914d\u7f6e\u4e2d\u6ca1\u6709\u4efb\u4f55\u6307\u5411\u5916\u90e8\u4e92\u8054\u7f51\u670d\u52a1\u7684URL\u3002\u4e4b\u540e&#xff0c;\u4f60\u7684\u670d\u52a1\u5668\u751a\u81f3\u53ef\u4ee5\u65ad\u5f00\u5916\u7f51&#xff0c;\u6574\u4e2a\u7cfb\u7edf\u4ecd\u80fd\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<h3>7. \u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u672c\u7bc7\u6559\u7a0b&#xff0c;\u6211\u4eec\u5b8c\u6210\u4e86\u4e00\u4e2a\u5b8c\u5168\u8fd0\u884c\u5728\u79c1\u6709\u73af\u5883\u4e0b\u7684\u667a\u80fd\u6587\u6863\u95ee\u7b54\u7cfb\u7edf\u7684\u642d\u5efa\u3002\u56de\u987e\u4e00\u4e0b\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u73af\u5883\u51c6\u5907&#xff1a;\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Docker&#xff0c;\u4e3a\u5bb9\u5668\u5316\u90e8\u7f72\u6253\u597d\u57fa\u7840\u3002<\/li>\n<li>\u4e00\u952e\u90e8\u7f72&#xff1a;\u4f7f\u7528Docker\u62c9\u53d6\u5e76\u8fd0\u884cKotaemon\u955c\u50cf&#xff0c;\u5feb\u901f\u542f\u52a8RAG\u7528\u6237\u754c\u9762\u670d\u52a1\u3002<\/li>\n<li>\u6a21\u578b\u672c\u5730\u5316&#xff1a;\u90e8\u7f72Ollama\u670d\u52a1\u5e76\u62c9\u53d6\u5f00\u6e90\u5927\u8bed\u8a00\u6a21\u578b&#xff08;\u5982llama3.2&#xff09;&#xff0c;\u4e3a\u7cfb\u7edf\u88c5\u4e0a\u79bb\u7ebf\u7684\u201c\u667a\u80fd\u5927\u8111\u201d\u3002<\/li>\n<li>\u7cfb\u7edf\u5bf9\u63a5&#xff1a;\u5728Kotaemon\u4e2d\u914d\u7f6e\u672c\u5730Ollama\u670d\u52a1\u5730\u5740&#xff0c;\u5b8c\u6210\u754c\u9762\u4e0e\u6a21\u578b\u7684\u8fde\u63a5\u3002<\/li>\n<li>\u77e5\u8bc6\u5e93\u6784\u5efa&#xff1a;\u4e0a\u4f20\u4f60\u7684\u79c1\u6709\u6587\u6863&#xff0c;\u7cfb\u7edf\u81ea\u52a8\u5b8c\u6210\u89e3\u6790\u3001\u5411\u91cf\u5316&#xff0c;\u6784\u5efa\u53ef\u68c0\u7d22\u7684\u77e5\u8bc6\u5e93\u3002<\/li>\n<li>\u667a\u80fd\u95ee\u7b54&#xff1a;\u50cf\u804a\u5929\u4e00\u6837\u63d0\u95ee&#xff0c;\u7cfb\u7edf\u901a\u8fc7\u201c\u68c0\u7d22-\u589e\u5f3a-\u751f\u6210\u201d\u7684\u6d41\u7a0b&#xff0c;\u4ece\u4f60\u7684\u6587\u6863\u4e2d\u63d0\u70bc\u51fa\u7cbe\u51c6\u7b54\u6848\u3002<\/li>\n<p>\u8fd9\u5957\u65b9\u6848\u7684\u6838\u5fc3\u4f18\u52bf\u5728\u4e8e\u5b89\u5168\u3001\u79c1\u5bc6\u548c\u53ef\u63a7\u3002\u6240\u6709\u6570\u636e\u2014\u2014\u4f60\u7684\u6587\u6863\u3001\u751f\u6210\u7684\u5411\u91cf\u3001\u63d0\u95ee\u548c\u56de\u7b54\u2014\u2014\u90fd\u7559\u5b58\u5728\u4f60\u81ea\u5df1\u7684\u670d\u52a1\u5668\u4e2d&#xff0c;\u5f7b\u5e95\u675c\u7edd\u4e86\u6570\u636e\u6cc4\u9732\u7684\u98ce\u9669\u3002\u540c\u65f6&#xff0c;\u79bb\u7ebf\u8fd0\u884c\u610f\u5473\u7740\u4e0d\u53d7\u7f51\u7edc\u6ce2\u52a8\u5f71\u54cd&#xff0c;\u54cd\u5e94\u901f\u5ea6\u66f4\u7a33\u5b9a\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u7acb\u5373\u5c06\u8fd9\u4e2a\u7cfb\u7edf\u7528\u4e8e&#xff1a;<\/p>\n<ul>\n<li>\u4f01\u4e1a\u5185\u90e8\u77e5\u8bc6\u5e93&#xff1a;\u5feb\u901f\u67e5\u8be2\u516c\u53f8\u5236\u5ea6\u3001\u6280\u672f\u65b9\u6848\u3001\u9879\u76ee\u6587\u6863\u3002<\/li>\n<li>\u4ea7\u54c1\u652f\u6301\u4e2d\u5fc3&#xff1a;\u8ba9\u5ba2\u670d\u6216\u7528\u6237\u81ea\u52a9\u67e5\u8be2\u4ea7\u54c1\u624b\u518c\u548cFAQ\u3002<\/li>\n<li>\u4e2a\u4eba\u5b66\u4e60\u7814\u7a76&#xff1a;\u7ba1\u7406\u5e76\u6df1\u5ea6\u4ea4\u4e92\u4f60\u7684\u4e2a\u4eba\u9605\u8bfb\u7b14\u8bb0\u3001\u8bba\u6587\u5408\u96c6\u3002<\/li>\n<\/ul>\n<p>\u73b0\u5728&#xff0c;\u4f60\u7684\u79c1\u6709\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u62e5\u6709\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684\u77e5\u8bc6\u5927\u8111\u3002\u63a5\u4e0b\u6765&#xff0c;\u5c31\u662f\u4e0d\u65ad\u7528\u4f60\u7684\u6587\u6863\u53bb\u5582\u517b\u5b83&#xff0c;\u63a2\u7d22\u66f4\u590d\u6742\u7684\u95ee\u7b54\u573a\u666f&#xff0c;\u8ba9\u5b83\u6210\u4e3a\u4f60\u5de5\u4f5c\u548c\u5b66\u4e60\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u9ad8\u6548\u4f19\u4f34\u3002<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kotaemon\u8fb9\u7f18\u90e8\u7f72&#xff1a;\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b<br \/>\n1. \u5f15\u8a00<br \/>\n\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u624b\u5934\u6709\u4e00\u5806\u6280\u672f\u6587\u6863\u3001\u4ea7\u54c1\u624b\u518c\u6216\u8005\u5185\u90e8\u8d44\u6599&#xff0c;\u6bcf\u6b21\u60f3\u4ece\u4e2d\u5feb\u901f\u627e\u5230\u67d0\u4e2a\u95ee\u9898\u7684\u7b54\u6848&#xff0c;\u90fd\u5f97\u624b\u52a8\u7ffb\u627e\u534a\u5929&#xff0c;\u6548\u7387\u4f4e\u4e0d\u8bf4&#xff0c;\u8fd8\u5bb9\u6613\u9057\u6f0f\u5173\u952e\u4fe1\u606f\u3002\u5982\u679c\u6709\u4e00\u4e2a\u667a\u80fd\u52a9\u624b&#xff0c;\u80fd\u50cf\u5bf9\u8bdd\u4e00\u6837&#xff0c;\u76f4\u63a5\u56de\u7b54\u4f60\u5173\u4e8e\u8fd9\u4e9b\u6587\u6863\u7684\u4efb\u4f55\u95ee\u9898&#xff0c;\u662f\u4e0d\u662f\u80fd\u7701\u4e0b\u5927\u628a\u65f6\u95f4&#xff1f;<br \/>\n\u4eca\u5929\u8981\u4ecb\u7ecd\u7684Kotaemon&amp;#xff0c<\/p>\n","protected":false},"author":2,"featured_media":83160,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9293,9292,4119,1367],"topic":[],"class_list":["post-83163","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9293","tag-9292","tag-rag","tag-1367"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \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\/83163.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Kotaemon\u8fb9\u7f18\u90e8\u7f72&#xff1a;\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b 1. \u5f15\u8a00 \u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u624b\u5934\u6709\u4e00\u5806\u6280\u672f\u6587\u6863\u3001\u4ea7\u54c1\u624b\u518c\u6216\u8005\u5185\u90e8\u8d44\u6599&#xff0c;\u6bcf\u6b21\u60f3\u4ece\u4e2d\u5feb\u901f\u627e\u5230\u67d0\u4e2a\u95ee\u9898\u7684\u7b54\u6848&#xff0c;\u90fd\u5f97\u624b\u52a8\u7ffb\u627e\u534a\u5929&#xff0c;\u6548\u7387\u4f4e\u4e0d\u8bf4&#xff0c;\u8fd8\u5bb9\u6613\u9057\u6f0f\u5173\u952e\u4fe1\u606f\u3002\u5982\u679c\u6709\u4e00\u4e2a\u667a\u80fd\u52a9\u624b&#xff0c;\u80fd\u50cf\u5bf9\u8bdd\u4e00\u6837&#xff0c;\u76f4\u63a5\u56de\u7b54\u4f60\u5173\u4e8e\u8fd9\u4e9b\u6587\u6863\u7684\u4efb\u4f55\u95ee\u9898&#xff0c;\u662f\u4e0d\u662f\u80fd\u7701\u4e0b\u5927\u628a\u65f6\u95f4&#xff1f; \u4eca\u5929\u8981\u4ecb\u7ecd\u7684Kotaemon&amp;#xff0c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83163.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T10:10:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725101020-6a648b8c858e5.png\" \/>\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\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83163.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83163.html\",\"name\":\"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T10:10:23+00:00\",\"dateModified\":\"2026-07-25T10:10:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83163.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83163.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83163.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b\"}]},{\"@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":"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \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\/83163.html","og_locale":"zh_CN","og_type":"article","og_title":"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Kotaemon\u8fb9\u7f18\u90e8\u7f72&#xff1a;\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b 1. \u5f15\u8a00 \u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u624b\u5934\u6709\u4e00\u5806\u6280\u672f\u6587\u6863\u3001\u4ea7\u54c1\u624b\u518c\u6216\u8005\u5185\u90e8\u8d44\u6599&#xff0c;\u6bcf\u6b21\u60f3\u4ece\u4e2d\u5feb\u901f\u627e\u5230\u67d0\u4e2a\u95ee\u9898\u7684\u7b54\u6848&#xff0c;\u90fd\u5f97\u624b\u52a8\u7ffb\u627e\u534a\u5929&#xff0c;\u6548\u7387\u4f4e\u4e0d\u8bf4&#xff0c;\u8fd8\u5bb9\u6613\u9057\u6f0f\u5173\u952e\u4fe1\u606f\u3002\u5982\u679c\u6709\u4e00\u4e2a\u667a\u80fd\u52a9\u624b&#xff0c;\u80fd\u50cf\u5bf9\u8bdd\u4e00\u6837&#xff0c;\u76f4\u63a5\u56de\u7b54\u4f60\u5173\u4e8e\u8fd9\u4e9b\u6587\u6863\u7684\u4efb\u4f55\u95ee\u9898&#xff0c;\u662f\u4e0d\u662f\u80fd\u7701\u4e0b\u5927\u628a\u65f6\u95f4&#xff1f; \u4eca\u5929\u8981\u4ecb\u7ecd\u7684Kotaemon&amp;#xff0c","og_url":"https:\/\/www.wsisp.com\/helps\/83163.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T10:10:23+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725101020-6a648b8c858e5.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83163.html","url":"https:\/\/www.wsisp.com\/helps\/83163.html","name":"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T10:10:23+00:00","dateModified":"2026-07-25T10:10:23+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83163.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83163.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83163.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Kotaemon\u8fb9\u7f18\u90e8\u7f72\uff1a\u79c1\u6709\u670d\u52a1\u5668\u79bb\u7ebf\u8fd0\u884c\u6559\u7a0b"}]},{"@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\/83163","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=83163"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83163\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83160"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83163"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}