feat(knowledge-base): 增加全局知识库管理
This commit is contained in:
@@ -37,6 +37,7 @@ def retrieve_citations(
|
||||
"source": metadata.get("source", "法规材料"),
|
||||
"text": document,
|
||||
"score": distance,
|
||||
"metadata": metadata,
|
||||
}
|
||||
)
|
||||
return citations
|
||||
|
||||
Reference in New Issue
Block a user