<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Memory on OHTLY Blog</title>
    <link>https://blog.ohtly.com/tags/memory/</link>
    <description>Recent content in Memory on OHTLY Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 14 Jun 2026 15:43:39 +0800</lastBuildDate>
    <atom:link href="https://blog.ohtly.com/tags/memory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Memory-Core 混合检索：中文 BM25 的局限与当前做法</title>
      <link>https://blog.ohtly.com/posts/2026-06-14-memory-core-bm25-chinese/</link>
      <pubDate>Sun, 14 Jun 2026 15:43:39 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-06-14-memory-core-bm25-chinese/</guid>
      <description>&lt;h2 id=&#34;背景&#34;&gt;&#xA;  背景&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e8%83%8c%e6%99%af&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;在 OpenClaw 的对话系统中，每次回复前的上下文由以下几个部分组成：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;静态文件&lt;/strong&gt;——&lt;code&gt;AGENTS.md&lt;/code&gt;、&lt;code&gt;MEMORY.md&lt;/code&gt;、&lt;code&gt;SOUL.md&lt;/code&gt; 等 workspace bootstrap 文件在会话开始时注入&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Active Memory&lt;/strong&gt;——可选的子 agent，在每次回复前自动运行 &lt;code&gt;memory_search&lt;/code&gt; / &lt;code&gt;memory_get&lt;/code&gt;，将检索到的记忆以隐藏前缀注入 prompt&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;memory_search / memory_get 工具&lt;/strong&gt;——Agent 可以在对话中主动调用这些工具搜索历史记忆&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;其中 &lt;code&gt;memory_search&lt;/code&gt; 的检索能力由 memory-core 插件提供。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
