mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
docs(readme): update mermaid graph syntax in Chinese documentation
This commit is contained in:
parent
c1e9faaeb2
commit
2af9f329d2
2 changed files with 20 additions and 20 deletions
20
README.md
20
README.md
|
|
@ -175,18 +175,18 @@ inherits `ReMeLight` and integrates memory capabilities into the Agent reasoning
|
|||
|
||||
```mermaid
|
||||
graph TB
|
||||
CoPaw["CoPaw MemoryManager\n(inherits ReMeLight)"] -->|pre_reasoning hook| Hook[MemoryCompactionHook]
|
||||
CoPaw["CoPaw MemoryManager<br>(inherits ReMeLight)"] -->|pre_reasoning hook| Hook[MemoryCompactionHook]
|
||||
CoPaw --> ReMeLight[ReMeLight]
|
||||
Hook -->|exceeds threshold| ReMeLight
|
||||
ReMeLight --> CompactMemory[compact_memory\nHistory compaction]
|
||||
ReMeLight --> SummaryMemory[summary_memory\nWrite memory to files]
|
||||
ReMeLight --> CompactToolResult[compact_tool_result\nOversized tool output compaction]
|
||||
ReMeLight --> MemSearch[memory_search\nSemantic search]
|
||||
ReMeLight --> InMemory[get_in_memory_memory\nReMeInMemoryMemory]
|
||||
CompactMemory --> Compactor[Compactor\nReActAgent]
|
||||
SummaryMemory --> Summarizer[Summarizer\nReActAgent + file tools]
|
||||
CompactToolResult --> ToolResultCompactor[ToolResultCompactor\nTruncate + save to file]
|
||||
Summarizer --> FileIO[FileIO\nread / write / edit]
|
||||
ReMeLight --> CompactMemory[compact_memory<br>History compaction]
|
||||
ReMeLight --> SummaryMemory[summary_memory<br>Write memory to files]
|
||||
ReMeLight --> CompactToolResult[compact_tool_result<br>Oversized tool output compaction]
|
||||
ReMeLight --> MemSearch[memory_search<br>Semantic search]
|
||||
ReMeLight --> InMemory[get_in_memory_memory<br>ReMeInMemoryMemory]
|
||||
CompactMemory --> Compactor[Compactor<br>ReActAgent]
|
||||
SummaryMemory --> Summarizer[Summarizer<br>ReActAgent + file tools]
|
||||
CompactToolResult --> ToolResultCompactor[ToolResultCompactor<br>Truncate + save to file]
|
||||
Summarizer --> FileIO[FileIO<br>read / write / edit]
|
||||
FileIO --> MemoryFiles[memory/YYYY-MM-DD.md]
|
||||
ToolResultCompactor --> ToolResultFiles[tool_result/*.txt]
|
||||
MemoryFiles -.->|File change| FileWatcher[Async File Watcher]
|
||||
|
|
|
|||
20
README_ZH.md
20
README_ZH.md
|
|
@ -169,18 +169,18 @@ if __name__ == "__main__":
|
|||
|
||||
```mermaid
|
||||
graph TB
|
||||
CoPaw["CoPaw MemoryManager\n(继承 ReMeLight)"] -->|pre_reasoning hook| Hook[MemoryCompactionHook]
|
||||
CoPaw["CoPaw MemoryManager<br>(继承 ReMeLight)"] -->|pre_reasoning hook| Hook[MemoryCompactionHook]
|
||||
CoPaw --> ReMeLight[ReMeLight]
|
||||
Hook -->|超出阈值| ReMeLight
|
||||
ReMeLight --> CompactMemory[compact_memory\n历史对话压缩]
|
||||
ReMeLight --> SummaryMemory[summary_memory\n记忆写入文件]
|
||||
ReMeLight --> CompactToolResult[compact_tool_result\n超长工具输出压缩]
|
||||
ReMeLight --> MemSearch[memory_search\n语义搜索]
|
||||
ReMeLight --> InMemory[get_in_memory_memory\nReMeInMemoryMemory]
|
||||
CompactMemory --> Compactor[Compactor\nReActAgent]
|
||||
SummaryMemory --> Summarizer[Summarizer\nReActAgent + 文件工具]
|
||||
CompactToolResult --> ToolResultCompactor[ToolResultCompactor\n截断 + 转存文件]
|
||||
Summarizer --> FileIO[FileIO\nread / write / edit]
|
||||
ReMeLight --> CompactMemory[compact_memory<br>历史对话压缩]
|
||||
ReMeLight --> SummaryMemory[summary_memory<br>记忆写入文件]
|
||||
ReMeLight --> CompactToolResult[compact_tool_result<br>超长工具输出压缩]
|
||||
ReMeLight --> MemSearch[memory_search<br>语义搜索]
|
||||
ReMeLight --> InMemory[get_in_memory_memory<br>ReMeInMemoryMemory]
|
||||
CompactMemory --> Compactor[Compactor<br>ReActAgent]
|
||||
SummaryMemory --> Summarizer[Summarizer<br>ReActAgent + 文件工具]
|
||||
CompactToolResult --> ToolResultCompactor[ToolResultCompactor<br>截断 + 转存文件]
|
||||
Summarizer --> FileIO[FileIO<br>read / write / edit]
|
||||
FileIO --> MemoryFiles[memory/YYYY-MM-DD.md]
|
||||
ToolResultCompactor --> ToolResultFiles[tool_result/*.txt]
|
||||
MemoryFiles -.->|文件变更| FileWatcher[异步文件监控]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue