浏览代码

Update structured_extraction.py

Suraj Subramanian 2 月之前
父节点
当前提交
ebccc0632e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      end-to-end-use-cases/structured_parser/src/structured_extraction.py

+ 1 - 1
end-to-end-use-cases/structured_parser/src/structured_extraction.py

@@ -504,7 +504,7 @@ def save_results(
             logger.info(f"Extracted table written to {outfile}")
 
         if export_excel:
-            output_path = output_dir / f"tables_{timestamp}.json"
+            output_path = output_dir / f"tables_{timestamp}.xlsx"
             export_csvs_to_excel_tabs(output_dir / f"tables_{timestamp}", output_path)
 
     # Save to SQL and vector databases