2.15 排查商评分及废标项

This commit is contained in:
zy123 2025-02-15 11:41:58 +08:00
parent 320ddd30a8
commit 098a340219

View File

@ -228,8 +228,8 @@ def goods_bid_main(output_folder, file_path, file_type, unique_id):
with concurrent.futures.ThreadPoolExecutor() as executor:
# 立即启动不依赖 knowledge_name 和 index 的任务
futures = {
'evaluation_standards': executor.submit(fetch_evaluation_standards,processed_data['invalid_deleted_docx'], #技术评分 商务评分
processed_data['evaluation_method_path'],logger),
# 'evaluation_standards': executor.submit(fetch_evaluation_standards,processed_data['invalid_deleted_docx'], #技术评分 商务评分
# processed_data['evaluation_method_path'],logger),
'invalid_requirements': executor.submit(fetch_invalid_requirements, processed_data['invalid_added_docx'], #无效标与废标项
output_folder,logger),
@ -277,8 +277,8 @@ def goods_bid_main(output_folder, file_path, file_type, unique_id):
}
yield json.dumps(default_evaluation, ensure_ascii=False)
# yield json.dumps({'error': f'Error processing {key}: {str(exc)}'}, ensure_ascii=False)
if collected_good_list is not None:
yield json.dumps({'good_list': transform_json_values(collected_good_list)}, ensure_ascii=False)
# if collected_good_list is not None:
# yield json.dumps({'good_list': transform_json_values(collected_good_list)}, ensure_ascii=False)
#TODO:小解析考虑提速1直接pdf转文本再切分。后期考虑。