Breaking Down Context Engineering

Context Engineering 要解决的四个问题:

  • Context Poisoning 污染: When a hallucination makes it into the context,幻觉何时出现
  • Context Distraction 干扰: When the context overwhelms the training,训练何时被淹没
  • Context Confusion 混淆: When superfluous context influences the response,冗余信息何时出现不当影响
  • Context Clash 冲突: When parts of the context disagreeContext window size. 哪些部分会相互矛盾

Context 的不同类型:

State - Short-Term Memory

Long-Term Memory

Long and Short-Term memory 的图示,

Episodic Memory:片段式记忆

Semantic Memory:语义记忆

Procedural Memory:程序式记忆

Tools

两方面:

  • Tool Definition 工具定义
  • Tool Output 工具调用

Tools via Native Function Calling:

Structured Output

JSON object, an HTML snippet or a SQL query

Last modification:November 16, 2025
If you think my article is useful to you, please feel free to appreciate