Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix issue: update document segment setting failed (#10107)
Jyong0154a26e0b1b
diff --git a/api/services/dataset_service.py b/api/services/dataset_service.pyindex 414ef0224a2..9d70357515b 100644--- a/api/services/dataset_service.py+++ b/api/services/dataset_service.py@@ -736,11 +736,12 @@ class DocumentService:dataset.retrieval_model = document_data.get("retrieval_model") or default_retrieval_modeldocuments = []- batch = time.strftime("%Y%m%d%H%M%S") + str(random.randint(100000, 999999))if document_data.get("original_document_id"):document = DocumentService.update_document_with_dataset_id(dataset, document_data, account)documents.append(document)+ batch = document.batchelse:+ batch = time.strftime("%Y%m%d%H%M%S") + str(random.randint(100000, 999999))# save process ruleif not dataset_process_rule:process_rule = document_data["process_rule"]@@ -921,7 +922,7 @@ class DocumentService:if duplicate_document_ids:duplicate_document_indexing_task.delay(dataset.id, duplicate_document_ids)- return documents, batch+ return documents, batch@staticmethoddef check_documents_upload_quota(count: int, features: FeatureModel):