<?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 潘忠显的技术博客</title>
    <link>https://panzhongxian.cn/tags/ai/</link>
    <description>Recent content in Ai on 潘忠显的技术博客</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 24 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://panzhongxian.cn/tags/ai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>为什么 WorkBuddy 能查企微聊天，而 CodeBuddy 不能？</title>
      <link>https://panzhongxian.cn/cn/2026/11/workbuddy-codebuddy-wecom-chat/</link>
      <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/11/workbuddy-codebuddy-wecom-chat/</guid>
      <description>&lt;h2 id=&#34;1-背景&#34;&gt;1. 背景&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;在 WorkBuddy 中，可以直接查询企业微信聊天记录，也可以创建或编辑企业微信文档。&lt;/li&gt;&#xA;&lt;li&gt;企业微信提供了命令行工具 &lt;code&gt;wecom-cli&lt;/code&gt; 和配套 skill，CodeBuddy 可以加载这些操作说明。&lt;/li&gt;&#xA;&lt;li&gt;在同一环境里，CodeBuddy 按本机消息 skill 查询群聊记录时失败了。我们又在终端直接用官方 CLI 执行 &lt;code&gt;wecom-cli chat groups list&lt;/code&gt;（列出会话）和 &lt;code&gt;wecom-cli chat messages list&lt;/code&gt;（查询消息），两次都返回 &lt;code&gt;853006&lt;/code&gt;，提示该工具对当前企业不可用。&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;2-通过-skill-调用企业微信-cli&#34;&gt;2. 通过 skill 调用企业微信 CLI&lt;/h2&gt;&#xA;&lt;p&gt;从两款助手的默认配置看，CodeBuddy 和 WorkBuddy 读取已知的企业微信文档都采用 &lt;strong&gt;Skill + CLI&lt;/strong&gt; 方式。Skill 说明如何选择命令，助手调用各自配置的 &lt;code&gt;wecom-cli&lt;/code&gt;，以当前授权身份读取正文。Codex、Cursor 等工具也可以复用这一方式，前提是助手能加载相应的 skill、通过终端执行兼容版本的 CLI，并具备目标操作所需的授权。&lt;/p&gt;</description>
    </item>
    <item>
      <title>真智能的推荐活动助手 架构介绍</title>
      <link>https://panzhongxian.cn/cn/2026/07/rec-helper-bot-architecture/</link>
      <pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/07/rec-helper-bot-architecture/</guid>
      <description>&lt;p&gt;本文介绍一下最近做的用于推荐活动的「真智能」的机器人助手。&lt;/p&gt;&#xA;&lt;img src=&#34;https://panzhongxian.cn/images/rec-helper-bot-architecture/image-20260717155002103.png&#34; alt=&#34;image-20260717155002103&#34; style=&#34;zoom:50%;&#34; /&gt;&#xA;&lt;h2 id=&#34;一背景&#34;&gt;一、背景&lt;/h2&gt;&#xA;&lt;p&gt;组内推荐活动有统一的框架和配套平台，活动上线前后除了功能开发之外，存在不少需要人工介入的重复性辅助工作。比如咨询协议、中间组件配置、上传白名单、活动逻辑细节确认、发送测试请求、查询服务部署、排查日志错误原因等等。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Agent 如何使用大模型和工具</title>
      <link>https://panzhongxian.cn/cn/2026/03/how-agent-uses-llm-and-tools/</link>
      <pubDate>Mon, 30 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/03/how-agent-uses-llm-and-tools/</guid>
      <description>&lt;p&gt;Agent 如何使用大模型和工具&lt;/p&gt;&#xA;&lt;p&gt;前段时间，把自己手头的机器人做了一个整理，接入了大语言模型。&lt;/p&gt;&#xA;&lt;p&gt;原来的机器人，需要这样 &lt;code&gt;lol clear_cache openid uid&lt;/code&gt; 类似的方式使用严格的指令来调用工具。&lt;/p&gt;</description>
    </item>
    <item>
      <title>pip install &#34;langchain[openai]&#34; 是什么意思</title>
      <link>https://panzhongxian.cn/cn/2026/03/what-does-pip-install-langchain-openai-mean/</link>
      <pubDate>Fri, 27 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/03/what-does-pip-install-langchain-openai-mean/</guid>
      <description>&lt;p&gt;在 Python 的 &lt;code&gt;pip&lt;/code&gt; 安装命令中，中括号 &lt;code&gt;[...]&lt;/code&gt; 表示安装该软件包的&lt;strong&gt;可选依赖（Optional Dependencies）&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;p&gt;你有没有碰到这种 pip 安装指令？带中括号号的这种：&lt;/p&gt;</description>
    </item>
    <item>
      <title>1天做个「事件影响分析」工具</title>
      <link>https://panzhongxian.cn/cn/2026/03/event-analysis-tool/</link>
      <pubDate>Thu, 12 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/03/event-analysis-tool/</guid>
      <description>&lt;p&gt;每次看到一个重大事件——&lt;strong&gt;美以伊冲突、美国对16个主要贸易伙伴发起301调查&lt;/strong&gt;这类新闻，总觉得很多人的分析停留在第一层：「油价上涨」「股市下跌」。但真正的影响其实是一张网，从事件本身出发，沿着供给链、金融链、政策链等，一步一步传导到你可能完全没想到的地方。如果能借助大模型，从更深和更广的维度去看这些影响，会对我们认识世界和做投资都有很大的帮助。&lt;/p&gt;</description>
    </item>
    <item>
      <title>VibeVoice-Realtime：超快流式输入TTS</title>
      <link>https://panzhongxian.cn/cn/2025/12/vibe-voice-realtime/</link>
      <pubDate>Sun, 14 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2025/12/vibe-voice-realtime/</guid>
      <description>&lt;p&gt;今天看到本周 GitHub 热点有一个非常火的项目，是微软的 VibeVoice-Realtime，周增6950🌟。&lt;/p&gt;&#xA;&lt;p&gt;这个项目上周刚新开源了一个0.5B的实时语音模型&lt;a href=&#34;https://github.com/microsoft/VibeVoice/blob/main/docs/vibevoice-realtime-0.5b.md&#34;&gt;&lt;strong&gt;VibeVoice‑Realtime‑0.5B&lt;/strong&gt;&lt;/a&gt;，支持流式文本输入和强大的长篇语音生成功能。&lt;/p&gt;</description>
    </item>
    <item>
      <title>MiniMind 学习笔记(一)</title>
      <link>https://panzhongxian.cn/cn/2025/10/minimind-learning-notes/</link>
      <pubDate>Mon, 27 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2025/10/minimind-learning-notes/</guid>
      <description>&lt;p&gt;MiniMind 是一个开源的小型大语言模型项目，采用 Transformer 架构实现。该项目完整实现了从预训练到监督微调的训练流程，是学习和理解大语言模型训练的优秀案例。&lt;/p&gt;&#xA;&lt;p&gt;本文详细解析 MiniMind 的训练代码，包括 &lt;code&gt;train_pretrain.py&lt;/code&gt;（预训练）和 &lt;code&gt;train_full_sft.py&lt;/code&gt;（全量监督微调）两个训练脚本，涵盖训练流程、关键技术、模型架构以及实践经验。文档采用循序渐进的方式，从整体概览到详细实现，适合不同水平的读者学习参考。&lt;/p&gt;</description>
    </item>
    <item>
      <title>到底什么是「Embedding」</title>
      <link>https://panzhongxian.cn/cn/2025/09/what-embedding-is/</link>
      <pubDate>Wed, 10 Sep 2025 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2025/09/what-embedding-is/</guid>
      <description>&lt;p&gt;近几年，“大语言模型”（LLM）凭借其强大的文本理解和生成能力，正在改变我们与数字世界的交互方式。&lt;/p&gt;&#xA;&lt;p&gt;而在这背后，一个名为 &lt;strong&gt;Embedding&lt;/strong&gt; 的关键技术，默默地扮演着连接语言与数学的“翻译官”角色。&lt;/p&gt;</description>
    </item>
    <item>
      <title>GitHub Copilot 免费了?!</title>
      <link>https://panzhongxian.cn/cn/2024/12/copilot-free-mode/</link>
      <pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2024/12/copilot-free-mode/</guid>
      <description>&lt;p&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;img&#xA;  src=&#34;https://panzhongxian.cn/images/copilot-free-mode/copilot.png&#34;&#xA;  alt=&#34;copilot&#34;&#xA;  &#xA;  loading=&#34;lazy&#34;&#xA;  decoding=&#34;async&#34;&#xA;&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;本周四收到 GitHub 的一封邮件，标题还挺震惊——You have free access to GitHub Copilot。&lt;/p&gt;&#xA;&lt;img src=&#34;https://panzhongxian.cn/images/copilot-free-mode/copilot-email.png&#34; alt=&#34;copilot-email&#34; style=&#34;zoom:50%;&#34; /&gt;&#xA;&lt;p&gt;我目前是按年订阅 Copilot，目前恰好使用了一年，下周又要续费了。使用以来给不少同事推荐过。&lt;/p&gt;</description>
    </item>
    <item>
      <title>手把手教你不翻墙用上ChatGPT4、OpenAI API</title>
      <link>https://panzhongxian.cn/cn/2024/08/use-openai-in-china/</link>
      <pubDate>Tue, 27 Aug 2024 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2024/08/use-openai-in-china/</guid>
      <description>&lt;p&gt;没有一个 OpenAI 的 API Key，看着 GitHub 上一堆热点项目，如辅助编程的 Aider、多智能体框架 MetaGPT，只有眼馋的份。&lt;/p&gt;&#xA;&lt;p&gt;你之所以没有key，可能因为两个无法逾越的限制：OpenAI 不提供中国地区提供服务，并且如果要使用 API Key 还要使用外国地区的银行卡。前边这个问题相对好解决，后边这个更麻烦一些。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
