Fix some RAG bugs (#2570)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong
2024-02-27 11:39:05 +08:00
committed by GitHub
parent 562ca45e07
commit 5b953c1ef2
10 changed files with 33 additions and 59 deletions

View File

@@ -366,7 +366,8 @@ class IndexingRunner:
"notion_workspace_id": data_source_info['notion_workspace_id'],
"notion_obj_id": data_source_info['notion_page_id'],
"notion_page_type": data_source_info['type'],
"document": dataset_document
"document": dataset_document,
"tenant_id": dataset_document.tenant_id
},
document_model=dataset_document.doc_form
)