# 技术博客

介绍撸猫特殊的工程结构

* 用树状消息链结构，代替Silly Tavern的单一消息链。—— 这让各种“if线剧情”，“支线剧情”，“平行时空叙事剧情”将来真的有可能变成玩儿法。
* 基于上述独特的消息链构造，搭建的“树状存储+二级渐进式压缩+无缝衔接滑动窗口”的记忆工程。 —— 也是因为我们不满市面上那些“闭眼RAG召回的记忆方式”，“野蛮截断的记忆方式”，“无限自增拖垮消息窗口的记忆方式”，“故事线只有一份长期记忆,一旦被污染就很难清洗的记忆方式”
* 剧情变量管理方面，在门槛太高的“Sillytavern MVU JS”和 过度冗余的“在每条消息里写状态面板”之间，尝试取长补短的更优解。
* 尝试在以上创新基础上，兼容Silly Tavern生态下的各种共创内容和玩儿法，给Lumeow叠加上云酒馆的能力。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lumiao.ai/docs/guan-fang-bo-ke/ji-shu-bo-ke.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
