InquiryLoom

最新观点

一条观点一句话:先看标题,想细看再点进去看适用条件和原文依据。

写一个观点

模型在单次会话内和跨会话所能看到的内容。不涉及模型训练(Models & Training)。

译自英文 · 看原文

Context & Memory

What the model can see within one session and across sessions. Not model training (Models & Training).

翻译:deepseek-flash

  1. AI agent 应在每次会话开始时加载一个简短的记忆索引,仅在需要时才检索详细知识。

    拥有长期历史的 AI agent 无法把每一段过往经历都塞进每一次新对话中。Anthropic 描述了持久记忆的四个层次:可搜索的会话记录、关于有用经验的笔记、相互关联的知识(如 wiki),以及启动时加载的少量上下文。一个简短的启动索引告诉 agent 存在哪些知识以及在哪里可以找到它们,而详细笔记则保留下来供按需检索。Claude Code 通过仅加载其 MEMORY.md 索引的前 200 行或 25 KB 来体现这一方法。

    译自英文 · 看原文
    AI agents should load a short memory index at the start of each session and retrieve detailed knowledge only when needed.
    An AI agent with a long history cannot fit every past experience into each new conversation. Anthropic describes four layers of persistent memory: searchable session records, notes about useful experiences, linked knowledge such as wikis, and a small amount of context loaded at startup. A short startup index tells the agent what knowledge exists and where to find it, while detailed notes stay available for on-demand retrieval. Claude Code illustrates this approach by loading only the first 200 lines or 25 KB of its MEMORY.md index.
    Use automatic loading for stable, frequently needed guidance or pointers. Long or inaccurate startup instructions can consume context and repeat mistakes across sessions; even loaded instructions may be ignored. The Claude Code size limit is an implementation example, not a general optimum.

    翻译:deepseek-flash