Fixes 14217: database retrieve api and chat-messages api response doc_metadata (#14219)

This commit is contained in:
yuhaowin
2025-02-27 14:56:46 +08:00
committed by GitHub
parent 5f692dfce2
commit 1e3197a1ea
6 changed files with 6 additions and 0 deletions

View File

@@ -459,6 +459,7 @@ class LLMNode(BaseNode[LLMNodeData]):
"index_node_hash": metadata.get("segment_index_node_hash"),
"content": context_dict.get("content"),
"page": metadata.get("page"),
"doc_metadata": metadata.get("doc_metadata"),
}
return source