feat(knowledge-base): 增加全局知识库管理

This commit is contained in:
2026-06-08 21:37:32 +08:00
parent e6fa738fd5
commit 5ecf78c5d6
12 changed files with 1425 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ def retrieve_citations(
"source": metadata.get("source", "法规材料"),
"text": document,
"score": distance,
"metadata": metadata,
}
)
return citations