<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI on Weiming's Blog</title><link>https://axerzone.cn/categories/ai/</link><description>Recent content in AI on Weiming's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 Weiming</copyright><lastBuildDate>Tue, 10 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://axerzone.cn/categories/ai/index.xml" rel="self" type="application/rss+xml"/><item><title>Prompt Engineering 技巧整理</title><link>https://axerzone.cn/posts/prompt-engineering-tips/</link><pubDate>Tue, 10 Mar 2026 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/prompt-engineering-tips/</guid><description>&lt;h1 class="relative group"&gt;Prompt Engineering 实用技巧，我总结了这些
 &lt;div id="prompt-engineering-实用技巧我总结了这些" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#prompt-engineering-%e5%ae%9e%e7%94%a8%e6%8a%80%e5%b7%a7%e6%88%91%e6%80%bb%e7%bb%93%e4%ba%86%e8%bf%99%e4%ba%9b" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;
&lt;p&gt;用大模型一年多了，写了不少 Prompt。从最开始&amp;quot;帮我写个 xxx&amp;quot;的大白话，到现在能让模型按我要的格式和风格精确输出，走了不少弯路。把真正实用的技巧整理一下。&lt;/p&gt;

&lt;h2 class="relative group"&gt;零样本和少样本提示
 &lt;div id="零样本和少样本提示" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e9%9b%b6%e6%a0%b7%e6%9c%ac%e5%92%8c%e5%b0%91%e6%a0%b7%e6%9c%ac%e6%8f%90%e7%a4%ba" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;零样本（Zero-shot）&lt;/strong&gt;：直接给指令，不带示例。&lt;/p&gt;</description></item><item><title>Spring AI 初探</title><link>https://axerzone.cn/posts/spring-ai-first-look/</link><pubDate>Tue, 20 Jan 2026 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/spring-ai-first-look/</guid><description>&lt;h1 class="relative group"&gt;Spring AI 初探：Spring 生态的 AI 新成员
 &lt;div id="spring-ai-初探spring-生态的-ai-新成员" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#spring-ai-%e5%88%9d%e6%8e%a2spring-%e7%94%9f%e6%80%81%e7%9a%84-ai-%e6%96%b0%e6%88%90%e5%91%98" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;Spring AI 是什么
 &lt;div id="spring-ai-是什么" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#spring-ai-%e6%98%af%e4%bb%80%e4%b9%88" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Spring 官方终于下场做 AI 框架了。Spring AI 是 Spring 生态里的新成员，目标是让 Java/Spring 开发者能方便地集成各种 AI 能力。&lt;/p&gt;</description></item><item><title>Ollama 本地部署大模型</title><link>https://axerzone.cn/posts/ollama-local-llm/</link><pubDate>Fri, 05 Dec 2025 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/ollama-local-llm/</guid><description>&lt;h1 class="relative group"&gt;用 Ollama 在本地跑大模型，真的可以
 &lt;div id="用-ollama-在本地跑大模型真的可以" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e7%94%a8-ollama-%e5%9c%a8%e6%9c%ac%e5%9c%b0%e8%b7%91%e5%a4%a7%e6%a8%a1%e5%9e%8b%e7%9c%9f%e7%9a%84%e5%8f%af%e4%bb%a5" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;Ollama 是什么
 &lt;div id="ollama-是什么" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#ollama-%e6%98%af%e4%bb%80%e4%b9%88" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;一直觉得跑大模型得有好几块 A100 才行，直到有人跟我说&amp;quot;试试 Ollama&amp;quot;。&lt;/p&gt;</description></item><item><title>RAG 检索增强生成实践</title><link>https://axerzone.cn/posts/rag-practice/</link><pubDate>Wed, 15 Oct 2025 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/rag-practice/</guid><description>&lt;h1 class="relative group"&gt;RAG 检索增强生成，让大模型不再胡说八道
 &lt;div id="rag-检索增强生成让大模型不再胡说八道" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#rag-%e6%a3%80%e7%b4%a2%e5%a2%9e%e5%bc%ba%e7%94%9f%e6%88%90%e8%ae%a9%e5%a4%a7%e6%a8%a1%e5%9e%8b%e4%b8%8d%e5%86%8d%e8%83%a1%e8%af%b4%e5%85%ab%e9%81%93" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;RAG 是什么
 &lt;div id="rag-是什么" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#rag-%e6%98%af%e4%bb%80%e4%b9%88" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;RAG，Retrieval-Augmented Generation，检索增强生成。名字挺唬人，但思路很简单：先从你自己的知识库里检索相关内容，把检索结果塞进 Prompt 里一起给大模型，让模型基于这些内容来回答。&lt;/p&gt;</description></item><item><title>LangChain4j 入门</title><link>https://axerzone.cn/posts/langchain4j-getting-started/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/langchain4j-getting-started/</guid><description>&lt;h1 class="relative group"&gt;LangChain4j 初体验：Java 也能玩 LLM
 &lt;div id="langchain4j-初体验java-也能玩-llm" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#langchain4j-%e5%88%9d%e4%bd%93%e9%aa%8cjava-%e4%b9%9f%e8%83%bd%e7%8e%a9-llm" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;LangChain4j 是什么
 &lt;div id="langchain4j-是什么" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#langchain4j-%e6%98%af%e4%bb%80%e4%b9%88" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;说到 AI 开发，大家第一反应都是 Python。LangChain、LlamaIndex 清一色 Python 的。但我主力语言是 Java，难道就只能干看着？&lt;/p&gt;</description></item><item><title>大语言模型（LLM）入门</title><link>https://axerzone.cn/posts/llm-introduction/</link><pubDate>Tue, 10 Jun 2025 00:00:00 +0000</pubDate><guid>https://axerzone.cn/posts/llm-introduction/</guid><description>&lt;h1 class="relative group"&gt;大模型入门：到底什么是 LLM
 &lt;div id="大模型入门到底什么是-llm" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%85%a5%e9%97%a8%e5%88%b0%e5%ba%95%e4%bb%80%e4%b9%88%e6%98%af-llm" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;Transformer 到底是什么
 &lt;div id="transformer-到底是什么" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#transformer-%e5%88%b0%e5%ba%95%e6%98%af%e4%bb%80%e4%b9%88" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;最近到处都在聊大模型、AI，感觉不了解点 LLM 都不好意思说自己学计算机的。但说实话，一开始我也是一头雾水。GPT、Transformer、Token，这些词满天飞，搜了好多资料才慢慢理出头绪。&lt;/p&gt;</description></item></channel></rss>