{"id":15538,"date":"2025-04-18T22:02:19","date_gmt":"2025-04-18T14:02:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/15538.html"},"modified":"2025-04-18T22:02:19","modified_gmt":"2025-04-18T14:02:19","slug":"%e8%85%be%e8%ae%af%e4%ba%91hai%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e9%83%a8%e7%bd%b2%e4%b8%8e%e8%b0%83%e7%94%a8deepseek-r1%e5%a4%a7%e6%a8%a1%e5%9e%8b%e7%9a%84%e5%ae%9e%e6%88%98%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/15538.html","title":{"rendered":"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357"},"content":{"rendered":"<p>\u4e0a\u6b21\u6211\u4eec\u5927\u6982\u4e86\u89e3\u4e86\u4e00\u4e0b DeepSeek-R1 \u5927\u6a21\u578b&#xff0c;\u5e76\u7b80\u5355\u63d0\u53ca\u4e86 Ollama \u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\u3002\u4eca\u5929&#xff0c;\u6211\u4eec\u5c06\u6df1\u5165\u5b9e\u9645\u64cd\u4f5c&#xff0c;\u5229\u7528\u817e\u8baf\u4e91\u7684 HAI \u670d\u52a1\u5668\u8fdb\u884c 5 \u5206\u949f\u90e8\u7f72&#xff0c;\u5e76\u5b9e\u73b0\u672c\u5730 DeepSeek-R1 \u5927\u6a21\u578b\u7684\u5b9e\u65f6\u8c03\u7528\u3002\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u76f4\u63a5\u8fdb\u5165\u90e8\u7f72\u8fc7\u7a0b\u3002<\/p>\n<h2>\u670d\u52a1\u5668\u51c6\u5907<\/h2>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u767b\u5f55\u817e\u8baf\u4e91\u5e73\u53f0\u5e76\u8d2d\u4e70 HAI \u5e94\u7528\u670d\u52a1\u3002\u817e\u8baf\u4e91\u63d0\u4f9b\u4e86\u4e24\u79cd\u8ba1\u8d39\u65b9\u5f0f&#xff1a;\u5305\u6708\u8ba1\u8d39\u548c\u6309\u65f6\u8ba1\u8d39\u3002\u7531\u4e8e\u6211\u76ee\u524d\u5e76\u6ca1\u6709\u7279\u522b\u7d27\u8feb\u6216\u5e9e\u5927\u7684\u9700\u6c42&#xff0c;\u56e0\u6b64\u4e3a\u4e86\u8282\u7701\u6210\u672c&#xff0c;\u6211\u9009\u62e9\u4e86\u6309\u65f6\u8ba1\u8d39\u65b9\u5f0f\u3002\u5177\u4f53\u7684\u8d2d\u4e70\u6d41\u7a0b\u548c\u914d\u7f6e\u9009\u9879\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7684\u56fe\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140216-68025b68df11b.png\" alt=\"image\" \/><\/p>\n<p>\u5728\u6211\u5b8c\u6210\u8d2d\u4e70\u540e&#xff0c;\u817e\u8baf\u4e91 HAI \u670d\u52a1\u5668\u4f1a\u81ea\u52a8\u4e3a\u6211\u4eec\u90e8\u7f72 DeepSeek-R1 \u6a21\u578b\u5e76\u542f\u52a8\u8fd0\u884c&#xff0c;\u6574\u4e2a\u8fc7\u7a0b\u975e\u5e38\u7b80\u4fbf\u3002\u540c\u65f6&#xff0c;HAI \u8fd8\u63d0\u4f9b\u4e86\u7b97\u529b\u8fde\u63a5\u7684\u9009\u62e9&#xff0c;\u5177\u4f53\u6709\u4e09\u79cd\u4e0d\u540c\u7684\u65b9\u5f0f&#xff1a;<\/p>\n<li>ChatBotUI&#xff1a;\u8fd9\u662f\u4e00\u79cd\u5e7f\u6cdb\u5e94\u7528\u7684\u53ef\u89c6\u5316\u804a\u5929\u754c\u9762&#xff0c;\u5b83\u4e0d\u4ec5\u652f\u6301\u5b9e\u65f6\u7684\u804a\u5929\u4e92\u52a8&#xff0c;\u8fd8\u5177\u5907\u7ba1\u7406\u804a\u5929\u8bb0\u5f55\u548c\u63d0\u793a\u8bcd\u6a21\u677f\u7b49\u529f\u80fd&#xff0c;\u975e\u5e38\u9002\u5408\u9700\u8981\u5feb\u901f\u6784\u5efa\u5bf9\u8bdd\u7cfb\u7edf\u7684\u573a\u666f\u3002<\/li>\n<li>CloudStudio&#xff1a;CloudStudio \u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u5728\u7ebf\u96c6\u6210\u5f00\u53d1\u73af\u5883&#xff08;IDE&#xff09;\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u7f16\u5199 Python \u811a\u672c\u3001\u8c03\u8bd5\u4ee3\u7801\u3001\u8fdb\u884c\u591a\u79cd\u5e94\u7528\u5f00\u53d1\u548c\u6d4b\u8bd5&#xff0c;\u975e\u5e38\u9002\u5408\u5f00\u53d1\u8005\u8fdb\u884c\u9879\u76ee\u8c03\u8bd5\u548c\u4f18\u5316\u3002<\/li>\n<li>JupyterLab&#xff1a;\u4f5c\u4e3a\u4e00\u79cd\u6781\u4e3a\u6d41\u884c\u7684\u6570\u636e\u79d1\u5b66\u5de5\u5177&#xff0c;JupyterLab \u63d0\u4f9b\u4e86\u591a\u4e2a\u7ec8\u7aef\u9009\u62e9&#xff0c;\u5305\u62ec Linux \u7ec8\u7aef\u548c Python \u811a\u672c\u6267\u884c\u73af\u5883\u3002\u5b83\u4e3a\u6570\u636e\u5206\u6790\u3001\u6a21\u578b\u8bad\u7ec3\u53ca\u6267\u884c\u7b49\u4efb\u52a1\u63d0\u4f9b\u4e86\u975e\u5e38\u4fbf\u6377\u7684\u652f\u6301\u3002<\/li>\n<h3>ChatBotUI<\/h3>\n<p>\u5728\u8fd9\u91cc&#xff0c;\u6211\u4eec\u9996\u5148\u6765\u4e86\u89e3\u4e00\u4e0b\u53ef\u89c6\u5316\u754c\u9762&#xff0c;\u5e76\u6f14\u793a\u5982\u4f55\u5feb\u901f\u4e0a\u624b\u4f7f\u7528\u3002\u901a\u8fc7\u8fd9\u4e00\u754c\u9762&#xff0c;\u7528\u6237\u53ef\u4ee5\u76f4\u89c2\u5730\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c&#xff0c;\u8f7b\u677e\u5b9e\u73b0\u9700\u6c42\u7684\u914d\u7f6e\u548c\u8c03\u6574\u3002\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4\u548c\u754c\u9762\u6548\u679c\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7684\u56fe\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140217-68025b694e55b.png\" alt=\"image\" \/><\/p>\n<p>\u53ef\u4ee5\u9009\u62e9\u5176\u4ed6\u9009\u9879&#xff0c;\u867d\u7136\u6709\u65f6\u5019\u9700\u8981\u8fdb\u884c\u89d2\u8272\u6388\u6743&#xff0c;\u6388\u6743\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355&#xff0c;\u70b9\u51fb\u201c\u6388\u6743\u201d\u6309\u94ae\u5373\u53ef\u5b8c\u6210&#xff0c;\u65e0\u9700\u8fdb\u884c\u590d\u6742\u64cd\u4f5c\u3002\u4e00\u65e6\u6388\u6743\u5b8c\u6210&#xff0c;\u4f60\u4fbf\u53ef\u4ee5\u8fdb\u5165\u804a\u5929\u754c\u9762\u3002\u5728\u8be5\u754c\u9762\u4e2d&#xff0c;HAI\u670d\u52a1\u5668\u63d0\u4f9b\u4e86\u591a\u79cd\u53c2\u6570\u9009\u9879&#xff0c;\u4f8b\u59827B\u548c1.5B\u3002\u9009\u62e9\u5408\u9002\u7684\u53c2\u6570\u540e&#xff0c;\u4f60\u5c31\u53ef\u4ee5\u7acb\u5373\u5f00\u59cb\u5b9e\u65f6\u804a\u5929&#xff0c;\u65e0\u9700\u7b49\u5f85\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140217-68025b696e93a.png\" alt=\"image\" \/><\/p>\n<h3>ollama\u7ec8\u7aef<\/h3>\n<p>\u6211\u4eec\u7ee7\u7eed\u9009\u62e9JupyterLab\u65b9\u5f0f\u8fde\u63a5\u7b97\u529b&#xff0c;\u8fd9\u91cc\u9009\u62e9\u7ec8\u7aef&#xff0c;\u5982\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140217-68025b6999232.png\" alt=\"image\" \/><\/p>\n<p>\u6211\u4eec\u53bb\u770b\u4e0b\u7ec8\u7aef\u547d\u4ee4\u67e5\u770b\u4e0b&#xff0c;\u5982\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140217-68025b69c9c5b.png\" alt=\"image\" \/><\/p>\n<p>\u5728\u8fd9\u91cc&#xff0c;\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u5176\u5b9e\u5b83\u4f7f\u7528\u7684\u4e5f\u662f\u57fa\u4e8eOllama\u8fd0\u884c\u7684DeepSeek-R1\u5927\u6a21\u578b\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f&#xff0c;\u7528\u6237\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u76f4\u63a5\u4f7f\u7528Ollama\u63d0\u4f9b\u7684\u547d\u4ee4&#xff0c;\u6765\u67e5\u770b\u548c\u64cd\u4f5c\u76f8\u5e94\u7684API\u63a5\u53e3\u3002\u5982\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140217-68025b69e8a15.png\" alt=\"image\" \/><\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u6f14\u793a\u7684\u662f\u76f4\u63a5\u4f7f\u7528 Ollama \u8fd0\u884c DeepSeek-R1 \u5927\u6a21\u578b&#xff0c;\u6a21\u578b\u53c2\u6570\u4e3a 1.5B\u3002\u8981\u7ed3\u675f\u5f53\u524d\u4f1a\u8bdd&#xff0c;\u60a8\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e Ctrl &#043; D \u9000\u51fa\u3002\u4e0d\u8fc7&#xff0c;\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u91c7\u7528\u8fd9\u79cd\u65b9\u5f0f\u4ec5\u652f\u6301\u5728\u672c\u5730\u8fd0\u884c\u548c\u542f\u52a8&#xff0c;\u65e0\u6cd5\u8fdb\u884c\u5916\u7f51\u8c03\u7528\u6216\u914d\u7f6e\u8fdc\u7a0b\u8bbf\u95ee\u3002<\/p>\n<p>\u56e0\u6b64&#xff0c;\u5982\u679c\u5e0c\u671b\u5b9e\u73b0\u5916\u7f51\u8bbf\u95ee\u6216\u5176\u4ed6\u66f4\u590d\u6742\u7684\u914d\u7f6e&#xff0c;\u63a5\u4e0b\u6765\u7684\u6b65\u9aa4\u5c06\u4f1a\u4ecb\u7ecd\u76f8\u5173\u65b9\u6cd5\u3002<\/p>\n<h3>ollama-API\u670d\u52a1<\/h3>\n<p>\u8fd9\u91cc\u6211\u4eec\u67e5\u770bollama\u5982\u679c\u60f3\u8981\u542f\u52a8\u5927\u6a21\u578b\u670d\u52a1\u63a5\u53e3&#xff0c;\u53ef\u4ee5\u4f7f\u7528ollama serve\u547d\u4ee4\u542f\u52a8&#xff0c;\u5982\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140218-68025b6a18bb4.png\" alt=\"image\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230&#xff0c;\u7cfb\u7edf\u5df2\u7ecf\u6210\u529f\u5f00\u673a\u5e76\u542f\u52a8&#xff0c;\u4e14\u7ed1\u5b9a\u7684\u7aef\u53e3\u53f7\u4e3a6399\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b&#xff0c;\u6211\u4eec\u53ea\u9700\u76f4\u63a5\u5f00\u653e\u8be5\u7aef\u53e3\u5373\u53ef\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f&#xff0c;HAI\u670d\u52a1\u5668\u8fd8\u63d0\u4f9b\u4e86\u5916\u7f51IP\u5730\u5740&#xff0c;\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee\u8be5IP\u6765\u8fdb\u884c\u7aef\u53e3\u7684\u5f00\u653e\u8bbe\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140218-68025b6a6c303.png\" alt=\"image\" \/><\/p>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u5c06\u6309\u7167Ollama\u7684API\u6587\u6863\u4e2d\u7684\u6307\u5f15&#xff0c;\u5b8c\u6210\u7aef\u53e3\u8bbe\u7f6e\u7684\u64cd\u4f5c\u3002\u5177\u4f53\u64cd\u4f5c\u6d41\u7a0b\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140218-68025b6a8de7b.png\" alt=\"image\" \/><\/p>\n<h3>CloudStudio\u8fde\u63a5<\/h3>\n<p>\u542f\u52a8\u5b8cAPI\u670d\u52a1\u540e&#xff0c;\u6211\u4eec\u76f4\u63a5\u4f7f\u7528CloudStudio\u8fdb\u884c\u672c\u5730\u8c03\u7528\u3002\u65b0\u5efa\u4e00\u4e2apy\u6587\u4ef6&#xff0c;\u4ee3\u7801\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token keyword\">from<\/span> openai <span class=\"token keyword\">import<\/span> OpenAI<\/p>\n<p>client <span class=\"token operator\">&#061;<\/span> OpenAI<span class=\"token punctuation\">(<\/span>api_key<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;ollama&#034;<\/span><span class=\"token punctuation\">,<\/span> base_url<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;http:\/\/localhost:6399\/v1\/&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>response <span class=\"token operator\">&#061;<\/span> client<span class=\"token punctuation\">.<\/span>chat<span class=\"token punctuation\">.<\/span>completions<span class=\"token punctuation\">.<\/span>create<span class=\"token punctuation\">(<\/span><br \/>\n    model<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;deepseek-r1:1.5b&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    messages<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;role&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;system&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;content&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;You are a helpful assistant&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;role&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;user&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;content&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;Hello&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    stream<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>response<span class=\"token punctuation\">.<\/span>choices<span class=\"token punctuation\">[<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span>message<span class=\"token punctuation\">.<\/span>content<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u8fd9\u91cc\u867d\u7136\u5199\u4e86api-key\u4fe1\u606f&#xff0c;\u4f46\u662follama\u662f\u4e0d\u4f1a\u6821\u9a8c\u7684&#xff0c;\u4f60\u53ef\u4ee5\u5199\u4efb\u4f55\u5b57\u7b26\u4e32&#xff0c;\u4ee5\u4e3a\u8fd9\u4e2a\u53c2\u6570\u662f\u65b9\u6cd5\u5fc5\u4f20\u53c2\u6570\u3002\u7ed3\u679c\u8fd0\u884c\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140218-68025b6aab23b.png\" alt=\"image\" \/><\/p>\n<p>\u5982\u679c\u4f60\u5b89\u88c5\u5b8copenai\u4f9d\u8d56\u5305&#xff0c;\u4f46\u4ecd\u662f\u65e0\u6cd5\u627e\u5230&#xff0c;\u90a3\u4e48\u4f60\u5c31\u5728CloudStudio\u4e2d\u6dfb\u52a0\u865a\u62df\u73af\u5883\u5373\u53ef&#xff0c;\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>python -m venv venv<\/p>\n<p>\u7136\u540e\u518d\u6267\u884cpip3 install openai\u547d\u4ee4\u5373\u53ef\u6210\u529f\u8fd0\u884c\u3002\u5f53\u7136\u8fd9\u91cc\u662f\u672c\u5730\u6d4b\u8bd5&#xff0c;\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u516c\u7f51IP\u8fdb\u884c\u914d\u7f6e\u5e76\u8c03\u8bd5\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u672c\u6b21\u5b9e\u8df5&#xff0c;\u6211\u4eec\u6210\u529f\u5730\u4f7f\u7528\u817e\u8baf\u4e91\u7684HAI\u670d\u52a1\u5668\u8fdb\u884c\u4e86DeepSeek-R1\u5927\u6a21\u578b\u7684\u90e8\u7f72\u4e0e\u5b9e\u65f6\u8c03\u7528\u3002\u4ece\u8d2d\u4e70HAI\u5e94\u7528\u670d\u52a1&#xff0c;\u5230\u901a\u8fc7ChatBotUI\u3001JupyterLab\u3001CloudStudio\u7b49\u5de5\u5177\u8fdb\u884c\u914d\u7f6e\u548c\u8c03\u8bd5&#xff0c;\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u6bcf\u4e2a\u6b65\u9aa4\u3002<\/p>\n<p>\u901a\u8fc7\u672c\u5730\u548c\u5916\u7f51API\u7684\u64cd\u4f5c&#xff0c;\u6211\u4eec\u4e0d\u4ec5\u4e86\u89e3\u4e86\u6a21\u578b\u90e8\u7f72\u7684\u57fa\u672c\u6d41\u7a0b&#xff0c;\u8fd8\u638c\u63e1\u4e86\u5982\u4f55\u5229\u7528Ollama\u63d0\u4f9b\u7684API\u670d\u52a1\u8fdb\u884c\u5927\u6a21\u578b\u8c03\u7528\u3002<\/p>\n<hr \/>\n<p>\u6211\u662f\u52aa\u529b\u7684\u5c0f\u96e8&#xff0c;\u4e00\u4e2a\u6b63\u7ecf\u7684 Java \u4e1c\u5317\u670d\u52a1\u7aef\u5f00\u53d1&#xff0c;\u6574\u5929\u7422\u78e8\u7740 AI \u6280\u672f\u8fd9\u5757\u513f\u7684\u5965\u79d8\u3002\u7279\u7231\u8ddf\u4eba\u4ea4\u6d41\u6280\u672f&#xff0c;\u559c\u6b22\u628a\u81ea\u5df1\u7684\u5fc3\u5f97\u548c\u5927\u5bb6\u5206\u4eab\u3002\u8fd8\u5f53\u4e0a\u4e86\u817e\u8baf\u4e91\u521b\u4f5c\u4e4b\u661f&#xff0c;\u963f\u91cc\u4e91\u4e13\u5bb6\u535a\u4e3b&#xff0c;\u534e\u4e3a\u4e91\u4e91\u4eab\u4e13\u5bb6&#xff0c;\u6398\u91d1\u4f18\u79c0\u4f5c\u8005\u3002\u5404\u79cd\u5f81\u6587\u3001\u5f00\u6e90\u6bd4\u8d5b\u7684\u724c\u5b50\u4e5f\u62ff\u4e86\u3002<\/p>\n<p>&#x1f4a1; \u60f3\u628a\u6211\u5728\u6280\u672f\u8def\u4e0a\u8d70\u8fc7\u7684\u5f2f\u8def\u548c\u7ecf\u9a8c\u5168\u90fd\u5206\u4eab\u51fa\u6765&#xff0c;\u7ed9\u4f60\u4eec\u7684\u5b66\u4e60\u548c\u6210\u957f\u5e26\u6765\u70b9\u542f\u53d1&#xff0c;\u5e2e\u4e00\u628a\u3002<\/p>\n<p>&#x1f31f; \u6b22\u8fce\u5173\u6ce8\u52aa\u529b\u7684\u5c0f\u96e8&#xff0c;\u54b1\u4e00\u5757\u513f\u8fdb\u6b65&#xff01;&#x1f31f;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e69\u6b21\uff0c\u6536\u85cf27\u6b21\u3002\u901a\u8fc7\u672c\u6b21\u5b9e\u8df5\uff0c\u6211\u4eec\u6210\u529f\u5730\u4f7f\u7528\u817e\u8baf\u4e91\u7684HAI\u670d\u52a1\u5668\u8fdb\u884c\u4e86DeepSeek-R1\u5927\u6a21\u578b\u7684\u90e8\u7f72\u4e0e\u5b9e\u65f6\u8c03\u7528\u3002\u4ece\u8d2d\u4e70HAI\u5e94\u7528\u670d\u52a1\uff0c\u5230\u901a\u8fc7ChatBotUI\u3001JupyterLab\u3001CloudStudio\u7b49\u5de5\u5177\u8fdb\u884c\u914d\u7f6e\u548c\u8c03\u8bd5\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u6bcf\u4e2a\u6b65\u9aa4\u3002\u901a\u8fc7\u672c\u5730\u548c\u5916\u7f51API\u7684\u64cd\u4f5c\uff0c\u6211\u4eec\u4e0d\u4ec5\u4e86\u89e3\u4e86\u6a21\u578b\u90e8\u7f72\u7684\u57fa\u672c\u6d41\u7a0b\uff0c\u8fd8\u638c\u63e1\u4e86\u5982\u4f55\u5229\u7528Ollama\u63d0\u4f9b\u7684API\u670d\u52a1\u8fdb\u884c\u5927\u6a21\u578b\u8c03\u7528\u3002\u6211\u662f\u52aa\u529b\u7684\u5c0f\u96e8\uff0c\u4e00\u4e2a\u6b63\u7ecf\u7684 Java \u4e1c\u5317\u670d\u52a1\u7aef\u5f00\u53d1\uff0c\u6574\u5929\u7422\u78e8\u7740 AI \u6280\u672f\u8fd9\u5757\u513f\u7684\u5965\u79d8\u3002\u7279\u7231\u8ddf\u4eba\u4ea4\u6d41\u6280\u672f\uff0c\u559c\u6b22\u628a\u81ea\u5df1\u7684\u5fc3\u5f97\u548c\u5927\u5bb6\u5206\u4eab\u3002_\u817e\u8baf\u4e91\u8c03\u7528deepseek<\/p>\n","protected":false},"author":2,"featured_media":15528,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,43,351,1019],"topic":[],"class_list":["post-15538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-43","tag-351","tag-1019"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \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\/15538.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e69\u6b21\uff0c\u6536\u85cf27\u6b21\u3002\u901a\u8fc7\u672c\u6b21\u5b9e\u8df5\uff0c\u6211\u4eec\u6210\u529f\u5730\u4f7f\u7528\u817e\u8baf\u4e91\u7684HAI\u670d\u52a1\u5668\u8fdb\u884c\u4e86DeepSeek-R1\u5927\u6a21\u578b\u7684\u90e8\u7f72\u4e0e\u5b9e\u65f6\u8c03\u7528\u3002\u4ece\u8d2d\u4e70HAI\u5e94\u7528\u670d\u52a1\uff0c\u5230\u901a\u8fc7ChatBotUI\u3001JupyterLab\u3001CloudStudio\u7b49\u5de5\u5177\u8fdb\u884c\u914d\u7f6e\u548c\u8c03\u8bd5\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u6bcf\u4e2a\u6b65\u9aa4\u3002\u901a\u8fc7\u672c\u5730\u548c\u5916\u7f51API\u7684\u64cd\u4f5c\uff0c\u6211\u4eec\u4e0d\u4ec5\u4e86\u89e3\u4e86\u6a21\u578b\u90e8\u7f72\u7684\u57fa\u672c\u6d41\u7a0b\uff0c\u8fd8\u638c\u63e1\u4e86\u5982\u4f55\u5229\u7528Ollama\u63d0\u4f9b\u7684API\u670d\u52a1\u8fdb\u884c\u5927\u6a21\u578b\u8c03\u7528\u3002\u6211\u662f\u52aa\u529b\u7684\u5c0f\u96e8\uff0c\u4e00\u4e2a\u6b63\u7ecf\u7684 Java \u4e1c\u5317\u670d\u52a1\u7aef\u5f00\u53d1\uff0c\u6574\u5929\u7422\u78e8\u7740 AI \u6280\u672f\u8fd9\u5757\u513f\u7684\u5965\u79d8\u3002\u7279\u7231\u8ddf\u4eba\u4ea4\u6d41\u6280\u672f\uff0c\u559c\u6b22\u628a\u81ea\u5df1\u7684\u5fc3\u5f97\u548c\u5927\u5bb6\u5206\u4eab\u3002_\u817e\u8baf\u4e91\u8c03\u7528deepseek\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/15538.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T14:02:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140216-68025b68df11b.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/15538.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/15538.html\",\"name\":\"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T14:02:19+00:00\",\"dateModified\":\"2025-04-18T14:02:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/15538.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/15538.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/15538.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357\"}]},{\"@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":"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \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\/15538.html","og_locale":"zh_CN","og_type":"article","og_title":"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e69\u6b21\uff0c\u6536\u85cf27\u6b21\u3002\u901a\u8fc7\u672c\u6b21\u5b9e\u8df5\uff0c\u6211\u4eec\u6210\u529f\u5730\u4f7f\u7528\u817e\u8baf\u4e91\u7684HAI\u670d\u52a1\u5668\u8fdb\u884c\u4e86DeepSeek-R1\u5927\u6a21\u578b\u7684\u90e8\u7f72\u4e0e\u5b9e\u65f6\u8c03\u7528\u3002\u4ece\u8d2d\u4e70HAI\u5e94\u7528\u670d\u52a1\uff0c\u5230\u901a\u8fc7ChatBotUI\u3001JupyterLab\u3001CloudStudio\u7b49\u5de5\u5177\u8fdb\u884c\u914d\u7f6e\u548c\u8c03\u8bd5\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u6bcf\u4e2a\u6b65\u9aa4\u3002\u901a\u8fc7\u672c\u5730\u548c\u5916\u7f51API\u7684\u64cd\u4f5c\uff0c\u6211\u4eec\u4e0d\u4ec5\u4e86\u89e3\u4e86\u6a21\u578b\u90e8\u7f72\u7684\u57fa\u672c\u6d41\u7a0b\uff0c\u8fd8\u638c\u63e1\u4e86\u5982\u4f55\u5229\u7528Ollama\u63d0\u4f9b\u7684API\u670d\u52a1\u8fdb\u884c\u5927\u6a21\u578b\u8c03\u7528\u3002\u6211\u662f\u52aa\u529b\u7684\u5c0f\u96e8\uff0c\u4e00\u4e2a\u6b63\u7ecf\u7684 Java \u4e1c\u5317\u670d\u52a1\u7aef\u5f00\u53d1\uff0c\u6574\u5929\u7422\u78e8\u7740 AI \u6280\u672f\u8fd9\u5757\u513f\u7684\u5965\u79d8\u3002\u7279\u7231\u8ddf\u4eba\u4ea4\u6d41\u6280\u672f\uff0c\u559c\u6b22\u628a\u81ea\u5df1\u7684\u5fc3\u5f97\u548c\u5927\u5bb6\u5206\u4eab\u3002_\u817e\u8baf\u4e91\u8c03\u7528deepseek","og_url":"https:\/\/www.wsisp.com\/helps\/15538.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T14:02:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418140216-68025b68df11b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/15538.html","url":"https:\/\/www.wsisp.com\/helps\/15538.html","name":"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T14:02:19+00:00","dateModified":"2025-04-18T14:02:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/15538.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/15538.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/15538.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u817e\u8baf\u4e91HAI\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e0e\u8c03\u7528DeepSeek-R1\u5927\u6a21\u578b\u7684\u5b9e\u6218\u6307\u5357"}]},{"@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\/15538","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=15538"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/15538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/15528"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=15538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=15538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=15538"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=15538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}