Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: When Excel is a formula, the parsed result is a formula, but cannot be correctly parsed as a value type (#6613)

donblack010b48a2e0d101
diff --git a/deepdoc/parser/excel_parser.py b/deepdoc/parser/excel_parser.py
index 2e53e5c4a9..8eb726a08c 100644
--- a/deepdoc/parser/excel_parser.py
+++ b/deepdoc/parser/excel_parser.py
@@ -45,7 +45,7 @@ class RAGFlowExcelParser:
raise Exception(f"****wxy: Failed to parse CSV and convert to Excel Workbook: {e_csv}")
try:
- return load_workbook(file_like_object)
+ return load_workbook(file_like_object,data_only= True)
except Exception as e:
logging.info(f"****wxy: openpyxl load error: {e}, try pandas instead")
try: