mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-15 05:04:27 +08:00
Fix: Dataset: When configuring the "general chunk method," options such as chunk size and parent-child slicing are unavailable. (#14459)
### What problem does this PR solve? Fix: Dataset: When configuring the "general chunk method," options such as chunk size and parent-child slicing are unavailable. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: balibabu <assassin_cike@163.com>
This commit is contained in:
@@ -197,6 +197,8 @@ def get_dataset(dataset_id: str, tenant_id: str):
|
||||
return False, "Invalid Dataset ID"
|
||||
|
||||
response_data = remap_dictionary_keys(kb.to_dict())
|
||||
response_data["size"] = DocumentService.get_total_size_by_kb_id(dataset_id)
|
||||
response_data["connectors"] = list(Connector2KbService.list_connectors(dataset_id))
|
||||
return True, response_data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user