mirror of
https://github.com/langgenius/dify.git
synced 2026-11-13 06:41:07 +08:00
feat: retrieve external_documents add doc_metadata (#22496)
Co-authored-by: profilechenyang <profilechenyang@didiglobal.com> Co-authored-by: Byron.wang <byron@dify.ai>
This commit is contained in:
1 file changed
+1
@@ -537,6 +537,7 @@ class DatasetRetrieval:
|
||||
retriever_from=invoke_from.to_source(),
|
||||
score=item.metadata.get("score"),
|
||||
content=item.page_content,
|
||||
doc_metadata=item.metadata,
|
||||
)
|
||||
retrieval_resource_list.append(source)
|
||||
# deal with dify documents
|
||||
|
||||
Reference in new issue
Block a user