Browse Source

v0.0.5-debug
- 注释去除调试保存文件

WangXuMing 1 tháng trước cách đây
mục cha
commit
ee968b0e5c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      core/construction_review/workflows/ai_review_workflow.py

+ 2 - 2
core/construction_review/workflows/ai_review_workflow.py

@@ -332,8 +332,8 @@ class AIReviewWorkflow:
             # structured_content["chunks"] = chunks
 
             total_chapters = len(review_item_dict_sorted)
-            with open("temp/filtered_chunks/review_item_dict_sorted.json", "w", encoding="utf-8") as f:
-                json.dump(review_item_dict_sorted, f, ensure_ascii=False, indent=4)
+            # with open("temp/filtered_chunks/review_item_dict_sorted.json", "w", encoding="utf-8") as f:
+            #     json.dump(review_item_dict_sorted, f, ensure_ascii=False, indent=4)
             # 如果review_item_dict_sorted中只包含check_completeness,则total_chunks 仅计算chunk中is_complete_field = true的chunk数量
             all_check_items = []
             for check_list in review_item_dict_sorted.values():