Fix/develop memory bug (#274)

* 遗漏的历史映射

* 遗漏的历史映射

* fix_timeline_memories
This commit is contained in:
lixinyue11
2026-02-02 12:31:07 +08:00
committed by GitHub
parent 3464573f17
commit dfe5eeed7b

View File

@@ -877,7 +877,8 @@ RETURN
CASE CASE
WHEN ms:ExtractedEntity THEN { WHEN ms:ExtractedEntity THEN {
text: ms.name, text: ms.name,
created_at: ms.created_at created_at: ms.created_at,
type: "情景记忆"
} }
END END
) AS ExtractedEntity, ) AS ExtractedEntity,
@@ -887,7 +888,8 @@ RETURN
CASE CASE
WHEN n:MemorySummary THEN { WHEN n:MemorySummary THEN {
text: n.content, text: n.content,
created_at: n.created_at created_at: n.created_at,
type: "长期沉淀"
} }
END END
) AS MemorySummary, ) AS MemorySummary,
@@ -895,7 +897,8 @@ RETURN
collect( collect(
DISTINCT { DISTINCT {
text: e.statement, text: e.statement,
created_at: e.created_at created_at: e.created_at,
type: "情绪记忆"
} }
) AS statement; ) AS statement;
""" """