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
get dict key indexing_technique in DocumentAddByFileApi (#3615)
sqj88990a56c522ebf5
diff --git a/api/controllers/service_api/dataset/document.py b/api/controllers/service_api/dataset/document.pyindex becfb81da10..ac1ea820a64 100644--- a/api/controllers/service_api/dataset/document.py+++ b/api/controllers/service_api/dataset/document.py@@ -174,7 +174,7 @@ class DocumentAddByFileApi(DatasetApiResource):if not dataset:raise ValueError('Dataset is not exist.')- if not dataset.indexing_technique and not args['indexing_technique']:+ if not dataset.indexing_technique and not args.get('indexing_technique'):raise ValueError('indexing_technique is required.')# save file info