mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-22 00:32:49 +00:00
- Introduce Application class for managing application lifecycle - Add base component classes for LLM formatters and token counters - Implement embedding model base with caching and batching support - Create file watcher base with watchfiles integration - Add job and step base components for workflow execution - Update base component with async locks and improved lifecycle management - Register new component types in component registry - Add application context and runtime context for dependency injection
1.6 KiB
1.6 KiB
all @jinli
reme help reme start reme restart reme version reme vault="My Vault"
daily
daily:path reme daily:xxx
crud
reme create file="New Note" content="# Hello" title="xxx" tags="[]" status="" reme read file=Recipe/path="Templates/Recipe.md" reme edit file=Recipe/path="Templates/Recipe.md" old="xxx" new="xxx" reme append file="My Note" content="New line" reme prepend file="My Note" content="New line" reme delete file="My Note"/path
reme
reme stat file/path reme list file/path
search
reme search query="search term" limit=10 tag="[]" score=0.1 copy=true
property
reme property:read reme property:update file="My Note" status=done xx=xxx reme property:delete keys="[xxxx, xxxx]"
全局所有标签
reme tags
show link
reme backlinks file="My Note" reme links file="My Note"
记忆的类型
- daily -> daily/xxxx-mm-dd/overview.md -> xxxx.md
- topic -> topic/personal(agent)/xxxx.md
记忆的被动总结
- 是否需要:是需要,不会主动触发
- 什么时候调用:
- freq (every_n_turn、compact) -> daily_summarizer
- topic (/dream ) -> topic_summarizer(daily_xx -> topic_xx)
- proactive -> proactive_summarizer(personal_xxx -> proactive_query)
- pre_query
记忆的搜索 file watch
- start 全量扫描 -> 文件变化结果
- 增量扫描 -> 文件变化结果
如果有变化,检测 增加、删除、修改 cud:
- file -> metadata 存json
- path
- mtime
- header: tags/kv/title/desc
- file -> link 存json
- 读全量修改的文件的全量,识别link
- file -> chunk 存db/json
- 切片 -> file+start+end: preview(100)