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
assign dataset indexing_technique to args if not explicitly provided (#20597)
Abdullah AlOsaimiad8e79c440e0
diff --git a/api/controllers/service_api/dataset/document.py b/api/controllers/service_api/dataset/document.pyindex ea8a9f0f417..ab7ab4dcf06 100644--- a/api/controllers/service_api/dataset/document.py+++ b/api/controllers/service_api/dataset/document.py@@ -175,8 +175,11 @@ class DocumentAddByFileApi(DatasetApiResource):if not dataset:raise ValueError("Dataset does not exist.")- if not dataset.indexing_technique and not args.get("indexing_technique"):++ indexing_technique = args.get("indexing_technique") or dataset.indexing_technique+ if not indexing_technique:raise ValueError("indexing_technique is required.")+ args["indexing_technique"] = indexing_technique# save file infofile = request.files["file"]