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 rebuild index&csv parsing (#2705)
Charlie.Weifa7ba30ba3c1
diff --git a/api/core/indexing_runner.py b/api/core/indexing_runner.pyindex f5ea49bb5e1..abf21b84f5f 100644--- a/api/core/indexing_runner.py+++ b/api/core/indexing_runner.py@@ -186,7 +186,7 @@ class IndexingRunner:first()index_type = dataset_document.doc_form- index_processor = IndexProcessorFactory(index_type, processing_rule.to_dict()).init_index_processor()+ index_processor = IndexProcessorFactory(index_type).init_index_processor()self._load(index_processor=index_processor,dataset=dataset,diff --git a/api/core/rag/extractor/csv_extractor.py b/api/core/rag/extractor/csv_extractor.pyindex c391d7ae667..a8077971dcb 100644--- a/api/core/rag/extractor/csv_extractor.py+++ b/api/core/rag/extractor/csv_extractor.py@@ -3,6 +3,7 @@ import csvfrom typing import Optionalfrom core.rag.extractor.extractor_base import BaseExtractor+from core.rag.extractor.helpers import detect_file_encodingsfrom core.rag.models.document import Document@@ -36,7 +37,7 @@ class CSVExtractor(BaseExtractor):docs = self._read_from_file(csvfile)except UnicodeDecodeError as e:if self._autodetect_encoding:- detected_encodings = detect_filze_encodings(self._file_path)+ detected_encodings = detect_file_encodings(self._file_path)for encoding in detected_encodings:try:with open(self._file_path, newline="", encoding=encoding.encoding) as csvfile: