Feature/episodic memory (#64)

* [feature]episodic memory

* [feature]episodic memory

* [changes]AI review and modify code
This commit is contained in:
乐力齐
2026-01-10 16:35:32 +08:00
committed by GitHub
parent 7d28717030
commit 539821454a
10 changed files with 825 additions and 9 deletions

View File

@@ -211,6 +211,7 @@ async def add_memory_summary_nodes(summaries: List[MemorySummaryNode], connector
"dialog_id": s.dialog_id,
"chunk_ids": s.chunk_ids,
"content": s.content,
"memory_type": s.memory_type, # 添加 memory_type 字段
"summary_embedding": s.summary_embedding if s.summary_embedding else None,
"config_id": s.config_id, # 添加 config_id
})