Skip to content

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

fix: scope pending_cell_images by sheet in excel parser (#14120)

FPlust0734fd793a9b
diff --git a/rag/app/table.py b/rag/app/table.py
index 6ace2f59e1..5f4fabd527 100644
--- a/rag/app/table.py
+++ b/rag/app/table.py
@@ -50,11 +50,11 @@ class Excel(ExcelParser):
res, fails, done = [], [], 0
rn = 0
flow_images = []
- pending_cell_images = []
tables = []
for sheet_name in wb.sheetnames:
ws = wb[sheet_name]
images = Excel._extract_images_from_worksheet(ws, sheetname=sheet_name)
+ pending_cell_images = []
if images:
image_descriptions = vision_figure_parser_figure_xlsx_wrapper(images=images, callback=callback,
**kwargs)