优化意图识别示例,更新文档相关性判断逻辑,增强Excel数据验证功能,改进日志记录,调整参数以提升代码可读性和灵活性。

This commit is contained in:
2025-06-25 09:10:28 +08:00
parent 7142c7c43e
commit 33bc91f0fe
4 changed files with 35 additions and 55 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ class TermMerger:
else:
return term_list[0]
except Exception as e:
logging.error(f"处理词条 {name} 时出错: {e}")
logging.error(f"处理词条 {name} 时出错: {e}", exc_info=True)
return term_list[0]
def merge(self):