|
@@ -332,8 +332,8 @@ class AIReviewWorkflow:
|
|
|
# structured_content["chunks"] = chunks
|
|
# structured_content["chunks"] = chunks
|
|
|
|
|
|
|
|
total_chapters = len(review_item_dict_sorted)
|
|
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数量
|
|
# 如果review_item_dict_sorted中只包含check_completeness,则total_chunks 仅计算chunk中is_complete_field = true的chunk数量
|
|
|
all_check_items = []
|
|
all_check_items = []
|
|
|
for check_list in review_item_dict_sorted.values():
|
|
for check_list in review_item_dict_sorted.values():
|