{"id":10020642,"date":"2025-01-27T21:22:28","date_gmt":"2025-01-27T13:22:28","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020642"},"modified":"2025-01-27T21:22:28","modified_gmt":"2025-01-27T13:22:28","slug":"spring-ai-ollama-%e5%ae%9e%e7%8e%b0-deepseek-r1-%e7%9a%84api%e6%9c%8d%e5%8a%a1%e5%92%8c%e8%b0%83%e7%94%a8","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020642","title":{"rendered":"Spring AI + Ollama \u5b9e\u73b0 deepseek-r1 \u7684API\u670d\u52a1\u548c\u8c03\u7528"},"content":{"rendered":"<p>\u6700\u8fd1DeepSeek\u5f00\u6e90\u4e86\u5bf9<code>openai-o1<\/code>\u7684\u7b2c\u4e00\u4ee3\u5f00\u6e90\u63a8\u7406\u5927\u6a21\u578b\uff1a<strong>deepseek-r1<\/strong>\uff0c\u56e0\u5176\u6781\u4f4e\u7684\u6210\u672c\u548c\u4e0e<code>openai-o1<\/code>\u76f8\u5f53\u7684\u6027\u80fd\u5f15\u53d1\u4e86\u56fd\u5185\u5916\u7684\u6fc0\u70c8\u8ba8\u8bba\u3002DD\u5728\u505a\u72ec\u7acb\u4ea7\u54c1\u7684\u65f6\u5019\u4e5f\u4e00\u76f4\u90fd\u6709\u7528DeepSeek\u7684API\u6765\u5b9e\u73b0\u4e00\u4e9b\u529f\u80fd\uff0c\u6bd4\u5982\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=FzEQ0aNUbAnks8g7gLtcow%3D%3D.PkaLgPwXDm77f11%2BUqhazzHaiZIxj2swtu1HWeh4cDI%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">TransDuck<\/a>\u4e2d\u7684\u5b57\u5e55\u7ffb\u8bd1\u3001\u89c6\u9891\u7ffb\u8bd1\uff0c\u6548\u679c\u4e5f\u662f\u975e\u5e38\u4e0d\u9519\u7684\u3002\u4f46\u662f\uff0c\u6700\u8fd1\u56e0\u4e3a\u6536\u5230\u4e00\u4e9b\u79c1\u6709\u5316\u7684\u9700\u6c42\uff0c\u6240\u4ee5\u5bf9\u4e8eAPI\u7684\u8c03\u7528\u5c31\u4e0d\u53ef\u884c\u4e86\uff0c\u4e0d\u5f97\u4e0d\u8f6c\u5411\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\uff0c\u7136\u540e\u63d0\u4f9bAPI\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u3002\u672c\u6587\u5c31\u9488\u5bf9\u8fd9\u6837\u7684\u60c5\u51b5\uff0c\u5c1d\u8bd5\u4e86\u4e00\u4e0b\u4f7f\u7528 Ollama \u5728\u672c\u5730\u8fd0\u884c DeepSeek-R1 \u5e76\u63d0\u4f9b API \u670d\u52a1\uff0c\u7136\u7528\u518d\u4f7f\u7528Spring Boot + Spring AI \u5b9e\u73b0\u5bf9 DeepSeek-R1 \u7684\u8c03\u7528\uff0c\u6709\u7c7b\u4f3c\u9700\u6c42\u6216\u8005\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u4e5f\u53ef\u4ee5\u6839\u636e\u4e0b\u9762\u7684\u5185\u5bb9\u6765\u5b9e\u8df5\u3002<\/p>\n<h2>\u4f7f\u7528 Ollama \u8fd0\u884c deepseek-r1<\/h2>\n<p>\u901a\u8fc7 Ollama \u6765\u8fd0\u884c <strong>deepseek-r1<\/strong> \u975e\u5e38\u7b80\u5355\uff0c\u5728Linux\u670d\u52a1\u5668\u4e0a\u7684\u8bdd\uff0c\u53ea\u9700\u8981\u4e24\u6b65\uff1a<\/p>\n<ol>\n<li>\u5b89\u88c5 Ollama<\/li>\n<\/ol>\n<pre><code class=\"bash\">curl -fsSL https:\/\/ollama.com\/install.sh | sh<\/code><\/pre>\n<p>\u5982\u679c\u672c\u5730MacOS\u6216\u8005Windows\u5f00\u53d1\u73af\u5883\u4f7f\u7528\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u4ece<a href=\"https:\/\/link.segmentfault.com\/?enc=7n7ZFlb%2FywtL%2F2RLGsfBdw%3D%3D.V%2FH%2BjodwD%2FNs8Inm5WK%2BQA1ZQdxQ03DLLTW0EXj%2BLc0%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\u524d\u5f80\u5b98\u7f51<\/a>\u4e0b\u8f7d\u5ba2\u6237\u7aef\u7248\u672c\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"476\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdhrJP\" alt=\"\" title=\"\"><\/p>\n<ol start=\"2\">\n<li>\u8fd0\u884c deepseek-r1<\/li>\n<\/ol>\n<pre><code class=\"bash\">ollama run deepseek-r1:671b<\/code><\/pre>\n<p>\u5982\u679c\u4f60\u7684\u73af\u5883\u6ca1\u6709\u8db3\u591f\u7684\u8d44\u6e90\u8fd0\u884c<code>671b<\/code>\u6a21\u578b\uff0c\u90a3\u4e48\u4e5f\u53ef\u4ee5\u6839\u636e\u4f60\u7684\u7b97\u529b\u8d44\u6e90\u60c5\u51b5\u9009\u62e9\u5176\u4ed6\u51e0\u4e2a\u5c0f\u53c2\u6570\u7248\u672c\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"bash\">ollama run deepseek-r1:1.5b\nollama run deepseek-r1:7b\nollama run deepseek-r1:8b\nollama run deepseek-r1:14b\nollama run deepseek-r1:32b\nollama run deepseek-r1:70b<\/code><\/pre>\n<p>\u66f4\u591a\u5173\u4e8e\u4fe1\u606f\u53ef\u67e5\u770b\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=Col%2F2ChdT%2FDFVLGTiPEncg%3D%3D.tDbD7dE8GA4sYHpNGfa1%2FxXm21t62Q2hPXEYv9%2FDi%2BssKl9dIoBtoF%2FxJg%2FFT5uh\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/ollama.com\/library\/deepseek-r1<\/a><\/p>\n<h2>\u4f7f\u7528Spring Boot + Spring AI<\/h2>\n<p>\u5728\u4f7f\u7528Ollama\u628adeepseek-r1\u8dd1\u8d77\u6765\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528Spring Boot + Spring AI\u6765\u8c03\u7528\u4e86\u3002<\/p>\n<ol>\n<li>\u4f7f\u7528 <code>https:\/\/start.spring.io\/<\/code> \u6784\u5efa\u4e00\u4e2aSpring Boot\u9879\u76ee\u3002\u70b9\u51fb<code>ADD DEPENDENCIES<\/code>\uff0c\u641c\u7d22<code>Ollama<\/code>\u6dfb\u52a0\u4f9d\u8d56\uff0c\u8fd9\u662fSpring AI\u5bf9Ollama\u7684\u5b9e\u73b0\u652f\u6301\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" width=\"723\" height=\"200\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdhrJQ\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"2\">\n<li>\u6253\u5f00\u751f\u6210\u7684\u9879\u76ee\uff0c\u67e5\u770b<code>pom.xml<\/code>\uff0c\u53ef\u4ee5\u770b\u5230\u6838\u5fc3\u4f9d\u8d56\uff1a<\/li>\n<\/ol>\n<pre><code class=\"xml\">&lt;dependency&gt;\n    &lt;groupId&gt;org.springframework.ai&lt;\/groupId&gt;\n    &lt;artifactId&gt;spring-ai-ollama-spring-boot-starter&lt;\/artifactId&gt;\n&lt;\/dependency&gt;<\/code><\/pre>\n<p>\u5982\u679c\u4f60\u8981\u5728\u73b0\u6709\u9879\u76ee\u4e2d\u96c6\u6210\u7684\u8bdd\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u6dfb\u52a0\u8fd9\u4e2a\u4f9d\u8d56\u5373\u53ef\u3002<\/p>\n<ol start=\"3\">\n<li>\u914d\u7f6eOllama\u7684\u76f8\u5173\u4fe1\u606f\uff1a<\/li>\n<\/ol>\n<pre><code>spring.ai.ollama.base-url=http:\/\/localhost:11434\nspring.ai.ollama.chat.model=deepseek-r1:1.5b<\/code><\/pre>\n<ul>\n<li><code>spring.ai.ollama.base-url<\/code>: Ollama\u7684API\u670d\u52a1\u5730\u5740\uff0c\u5982\u679c\u90e8\u7f72\u5728\u975e\u672c\u673a\uff0c\u5c31\u9700\u8981\u505a\u5bf9\u5e94\u7684\u4fee\u6539<\/li>\n<li><code>spring.ai.ollama.chat.model<\/code>: \u8981\u8c03\u7528\u7684\u6a21\u578b\u540d\u79f0\uff0c\u5bf9\u5e94\u4e0a\u4e00\u8282<code>ollama run<\/code>\u547d\u4ee4\u8fd0\u884c\u7684\u6a21\u578b\u540d\u79f0<\/li>\n<\/ul>\n<ol start=\"4\">\n<li>\u5199\u4e2a\u5355\u5143\u6d4b\u8bd5\uff0c\u5c1d\u8bd5\u8c03\u7528Ollama\u4e2d\u7684deepseek-r1\u6a21\u578b\uff0c\u8fd9\u91cc\u5c1d\u8bd5\u5b9e\u73b0\u4e00\u4e2a\u7ffb\u8bd1\u7684\u529f\u80fd\u3002<\/li>\n<\/ol>\n<pre><code class=\"java\">@SpringBootTest(classes = DemoApplication.class)\npublic class TestOllama {\n\n    @Autowired\n    private OllamaChatModel ollamaChatModel;\n\n    @Test\n    public void testChatModel() {\n        String prompt = &quot;&quot;&quot;\n                \u4f60\u662f\u4e00\u4e2a\u7cbe\u901a\u4e2d\u6587\u548c\u82f1\u6587\u7684\u7ffb\u8bd1\u5927\u5e08\u3002\u5982\u679c\u6211\u7ed9\u4f60\u82f1\u6587\u5c31\u7ffb\u8bd1\u6210\u4e2d\u6587\uff0c\u7ed9\u4f60\u4e2d\u6587\u5c31\u7ffb\u8bd1\u6210\u82f1\u6587\u3002\n                &quot;&quot;&quot;;\n        String message = &quot;&quot;&quot;\n                Ollama now supports tool calling with popular models such as Llama 3.1.\n                This enables a model to answer a given prompt using tool(s) it knows about,\n                making it possible for models to perform more complex tasks or interact with the outside world.\n                &quot;&quot;&quot;;\n\n        String result = ollamaChatModel.call(prompt + &quot;:&quot; + message);\n\n        System.out.println(result);\n    }\n\n}<\/code><\/pre>\n<ol start=\"4\">\n<li>\u8fd0\u884c\u5355\u5143\u6d4b\u8bd5\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n<pre><code>&lt;think&gt;\n\u597d\uff0c\u6211\u73b0\u5728\u9700\u8981\u628a\u7528\u6237\u63d0\u4f9b\u7684\u82f1\u6587\u5185\u5bb9\u7ffb\u8bd1\u6210\u4e2d\u6587\u3002\u9996\u5148\uff0c\u6211\u4ed4\u7ec6\u9605\u8bfb\u539f\u6587\uff1a\u201cOllama now supports tool calling with popular models such as Llama 3.1.\u201d \u8fd9\u53e5\u8bdd\u7684\u610f\u601d\u662f\u8bf4 Olla \u73b0\u5728\u652f\u6301\u6a21\u578b\u4f7f\u7528\u5e38\u7528\u6a21\u578b\u5982 Llama 3.1 \u8fdb\u884c\u5de5\u5177\u8c03\u7528\u3002\u63a5\u4e0b\u6765\u7684\u90e8\u5206\u8bf4\u660e\u4e86\u8fd9\u6837\u505a\u7684\u597d\u5904\uff1a\u5b83\u5141\u8bb8\u6a21\u578b\u901a\u8fc7\u5de5\u5177\u6765\u56de\u7b54\u95ee\u9898\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u4efb\u52a1\u6216\u4e0e\u5916\u754c\u4ea4\u4e92\u3002\n\n\u73b0\u5728\u6211\u5f00\u59cb\u9010\u53e5\u7ffb\u8bd1\u3002\u7b2c\u4e00\u53e5\uff1a\u201cOllama now supports tool calling with popular models such as Llama 3.1.\u201d \u76f4\u63a5\u7ffb\u8bd1\u5c31\u662f\u201c Olla \u73b0\u5728\u652f\u6301\u5e38\u7528\u6a21\u578b\u5982 Llama 3.1 \u8fdb\u884c\u5de5\u5177\u8c03\u7528\u3002\u201d\u8fd9\u91cc\u8981\u6ce8\u610f\u201cnow\u201d\u8981\u4fdd\u7559\uff0c\u4fdd\u6301\u65f6\u6001\u4e0d\u53d8\u3002\n\n\u7b2c\u4e8c\u53e5\uff1a\u201cThis enables a model to answer a given prompt using tool(s) it knows about, making it possible for models to perform more complex tasks or interact with the outside world.\u201d \u6211\u7406\u89e3\u4e3a\u8fd9\u53e5\u8bdd\u7684\u610f\u601d\u662f\u8bf4\u8fd9\u4e2a\u529f\u80fd\u8ba9\u6a21\u578b\u53ef\u4ee5\u4f7f\u7528\u5b83\u77e5\u9053\u7684\u5de5\u5177\u6765\u56de\u7b54\u7ed9\u5b9a\u7684\u63d0\u793a\uff0c\u4ece\u800c\u8ba9\u6a21\u578b\u5b8c\u6210\u66f4\u590d\u6742\u7684\u4efb\u52a1\u6216\u4e0e\u5916\u754c\u4ea4\u4e92\u3002\u7ffb\u8bd1\u65f6\u8981\u51c6\u786e\u4f20\u8fbe\u51fa\u6280\u672f\u4e0a\u7684\u4f18\u52bf\u548c\u5e94\u7528\u6269\u5c55\u3002\n\n\u7b2c\u4e09\u53e5\uff1a\u201cMaking it possible for models to perform more complex tasks or interact with the outside world.\u201d \u53ef\u4ee5\u7b80\u5355\u7ffb\u8bd1\u4e3a\u201c\u4f7f\u6a21\u578b\u80fd\u591f\u6267\u884c\u66f4\u590d\u6742\u7684\u4efb\u52a1\u6216\u4e0e\u5916\u754c\u4ea4\u4e92\u3002\u201d\u8fd9\u91cc\u8981\u6ce8\u610f\u4fdd\u6301\u539f\u610f\u7684\u540c\u65f6\uff0c\u7528\u8f83\u4e3a\u6d41\u7545\u7684\u4e2d\u6587\u8868\u8fbe\u3002\n\n\u5728\u7ffb\u8bd1\u8fc7\u7a0b\u4e2d\uff0c\u6211\u8fd8\u9700\u8981\u6ce8\u610f\u8bed\u5883\u548c\u8bed\u6c14\u7684\u4e00\u81f4\u6027\u3002\u6bd4\u5982\uff0c\u5c06\u201cpopular models\u201d\u7ffb\u8bd1\u6210\u201c\u5e38\u7528\u6a21\u578b\u201d\uff0c\u662f\u5426\u9700\u8981\u8c03\u6574\uff1f\u5728\u8fd9\u91cc\uff0c\u201c\u5e38\u7528\u6a21\u578b\u201d\u672c\u8eab\u5df2\u7ecf\u662f\u7279\u5b9a\u7684\u8bcd\u6c47\uff0c\u76f4\u63a5\u4f7f\u7528\u5c31\u53ef\u4ee5\u4e86\u3002\n\n\u53e6\u5916\uff0c\u53e5\u53f7\u548c\u9017\u53f7\u7684\u6b63\u786e\u4f7f\u7528\u4e5f\u5f88\u91cd\u8981\uff0c\u786e\u4fdd\u53e5\u5b50\u7ed3\u6784\u6e05\u6670\uff0c\u8bfb\u8d77\u6765\u987a\u7545\u3002\u6bd4\u5982\uff0c\u5728\u7b2c\u4e00\u53e5\u4e2d\u7528\u4e00\u4e2a\u53e5\u53f7\u7ed3\u675f\uff0c\u7b2c\u4e8c\u53e5\u548c\u7b2c\u4e09\u53e5\u4e5f\u5206\u5f00\u5904\u7406\uff0c\u4fdd\u6301\u903b\u8f91\u5173\u7cfb\u3002\n\n\u73b0\u5728\uff0c\u628a\u7ffb\u8bd1\u540e\u7684\u4e2d\u6587\u6574\u5408\u6210\u4e00\u6bb5\u8bdd\uff1a\n\n\u201cOllama \u73b0\u5728\u652f\u6301\u5e38\u7528\u6a21\u578b\u5982 Llama 3.1 \u8fdb\u884c\u5de5\u5177\u8c03\u7528\u3002\u201d \u8fd9\u4e2a\u90e8\u5206\u5df2\u7ecf\u5f88\u6e05\u6670\u4e86\u3002\u63a5\u4e0b\u6765\u7684\u7ffb\u8bd1\u8981\u51c6\u786e\u4f20\u8fbe\u5de5\u5177\u8c03\u7528\u5e26\u6765\u7684\u597d\u5904\uff0c\u6240\u4ee5\u6211\u53ef\u80fd\u4f1a\u8fd9\u6837\u5199\uff1a\u201c\u8fd9\u4f7f\u5176\u6210\u4e3a\u53ef\u80fd\uff0c\u8ba9\u6a21\u578b\u80fd\u591f\u901a\u8fc7\u5b83\u77e5\u9053\u7684\u5de5\u5177\u6765\u56de\u7b54\u7ed9\u5b9a\u7684\u95ee\u9898\uff0c\u5e76\u5141\u8bb8\u6a21\u578b\u6267\u884c\u66f4\u590d\u6742\u7684\u4efb\u52a1\u6216\u4e0e\u5916\u754c\u4ea4\u4e92\u3002\u201d\n\n\u6700\u540e\uff0c\u6574\u4e2a\u53e5\u5b50\u5e94\u8be5\u8fde\u8d2f\u8d77\u6765\uff0c\u786e\u4fdd\u903b\u8f91\u8fde\u8d2f\uff0c\u6ca1\u6709\u9057\u6f0f\u4efb\u4f55\u4fe1\u606f\u3002\u5b8c\u6210\u7ffb\u8bd1\u540e\uff0c\u518d\u901a\u8bfb\u4e00\u904d\uff0c\u770b\u770b\u6709\u6ca1\u6709\u4e0d\u901a\u987a\u6216\u8005\u4e0d\u51c6\u786e\u7684\u5730\u65b9\u3002\n\n\u603b\u7ed3\u4e00\u4e0b\uff0c\u7ffb\u8bd1\u7684\u91cd\u70b9\u662f\u4fdd\u6301\u539f\u6587\u7684\u6280\u672f\u610f\u4e49\u548c\u610f\u56fe\uff0c\u540c\u65f6\u7528\u81ea\u7136\u6d41\u7545\u7684\u4e2d\u6587\u8868\u8fbe\u51fa\u6765\u3002\n&lt;\/think&gt;\n\nOllama \u73b0\u5728\u652f\u6301\u5e38\u7528\u6a21\u578b\u5982 Llama 3.1 \u8fdb\u884c\u5de5\u5177\u8c03\u7528\u3002\u8fd9\u4f7f\u5176\u6210\u4e3a\u53ef\u80fd\uff0c\u8ba9\u6a21\u578b\u80fd\u591f\u901a\u8fc7\u5b83\u77e5\u9053\u7684\u5de5\u5177\u6765\u56de\u7b54\u7ed9\u5b9a\u7684\u95ee\u9898\uff0c\u5e76\u5141\u8bb8\u6a21\u578b\u6267\u884c\u66f4\u590d\u6742\u7684\u4efb\u52a1\u6216\u4e0e\u5916\u754c\u4ea4\u4e92\u3002<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\u7ed3\u679c\u54cd\u5e94\u5206\u6210\u4e24\u90e8\u5206\uff0c\u5148\u662f<code>&lt;think&gt;<\/code>\u6807\u7b7e\u5305\u542b\u7684\u5185\u5bb9\uff0c\u8fd9\u662f\u6a21\u578b\u6839\u636e\u63d0\u4f9b\u7684\u63d0\u793a\uff0c\u751f\u6210\u4e86\u4e00\u4e2a\u601d\u8003\u7684\u8fc7\u7a0b\uff0c\u6700\u540e\u624d\u8f93\u51fa\u4e86\u7ffb\u8bd1\u540e\u7684\u7ed3\u679c\u3002<\/p>\n<blockquote><p>\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u516c\u4f17\u53f7\uff1a\u7a0b\u5e8f\u733fDD\u3002\u7b2c\u4e00\u65f6\u95f4\u4e86\u89e3\u524d\u6cbf\u884c\u4e1a\u6d88\u606f\u3001\u5206\u4eab\u6df1\u5ea6\u6280\u672f\u5e72\u8d27\u3001\u83b7\u53d6\u4f18\u8d28\u5b66\u4e60\u8d44\u6e90<\/p><\/blockquote>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000046064865\">https:\/\/segmentfault.com\/a\/1190000046064865<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1DeepSeek\u5f00\u6e90\u4e86\u5bf9openai-o1\u7684\u7b2c\u4e00\u4ee3\u5f00\u6e90\u63a8\u7406\u5927\u6a21\u578b\uff1adeepseek-r1\uff0c\u56e0\u5176\u6781\u4f4e\u7684\u6210\u672c\u548c [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020642","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020642"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020642\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}