Simplify AI memory pipeline

This commit is contained in:
Kevin
2026-04-30 16:22:55 +08:00
parent 7617ea902c
commit 3234396254
35 changed files with 1002 additions and 579 deletions

View File

@@ -58,6 +58,7 @@ def correlation_bind_kwargs(
# bind=True 任务的 positional 与字段名映射kwargs 优先,缺位再填)
_TASK_POSITIONAL_FIELDS: dict[str, tuple[str, ...]] = {
"app.tasks.memory_enrichment_tasks.embed_memory_source": ("user_id", "source_id"),
"app.tasks.memory_enrichment_tasks.enrich_memory_source": ("user_id", "source_id"),
"app.tasks.memory_compaction_tasks.memory_compaction_run": ("user_id",),
"app.tasks.chapter_compose_tasks.recompose_chapter": ("chapter_id",),