更新 .gitignore 文件以忽略特定 Excel 文件,删除多个不再需要的 Excel 文件,优化对话转工单处理类,添加用户问题列表解析功能,增强代码可读性和结构。

This commit is contained in:
2025-05-28 15:59:23 +08:00
parent 6270513688
commit 6d9412b244
13 changed files with 858 additions and 795 deletions
+3 -3
View File
@@ -160,7 +160,7 @@ class DifyTool:
应用信息、消息详情以及工作流节点执行情况。
"""
@staticmethod
def get_message_debug_info_id(message_id:str)->dict | None:
def get_message_debug_info_by_id(message_id:str)->dict | None:
"""
根据消息 ID 从 'messages' 表中获取消息信息。
"""
@@ -178,7 +178,7 @@ class DifyTool:
@staticmethod
def get_message_debug_info(appid:str, query:str)->dict:
def get_message_debug_info_by_query(appid:str, query:str)->dict:
"""
获取指定应用和查询相关的调试信息。
@@ -212,4 +212,4 @@ class DifyTool:
if __name__ == "__main__":
print(DifyTool.get_message_debug_info("ccf92b97-2789-4a3f-90e0-135a869a37c5", "电力建设计价通软件,导入结算后没有暂列金怎么办?要手动添加么?"))
print(DifyTool.get_message_debug_info_by_query("ccf92b97-2789-4a3f-90e0-135a869a37c5", "电力建设计价通软件,导入结算后没有暂列金怎么办?要手动添加么?"))