From 5b1dcb37fa8526516a706ae82bcad6ec26b52957 Mon Sep 17 00:00:00 2001 From: yhjun1026 <460342015@qq.com> Date: Fri, 20 Oct 2023 09:18:20 +0800 Subject: [PATCH] feat(ChatExcel): ChatExcel example file add example excel file use to test ChatExcel --- pilot/scene/chat_agent/chat.py | 1 - pilot/scene/chat_data/chat_excel/excel_analyze/chat.py | 1 - 2 files changed, 2 deletions(-) diff --git a/pilot/scene/chat_agent/chat.py b/pilot/scene/chat_agent/chat.py index 4734c8106..6632c2097 100644 --- a/pilot/scene/chat_agent/chat.py +++ b/pilot/scene/chat_agent/chat.py @@ -53,7 +53,6 @@ class ChatAgent(BaseChat): def stream_plugin_call(self, text): text = text.replace("\n", " ") - print(f"stream_plugin_call:{text}") return self.api_call.run(text) def __list_to_prompt_str(self, list: List) -> str: diff --git a/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py b/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py index 9599c1402..4da5bc0dc 100644 --- a/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py +++ b/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py @@ -78,5 +78,4 @@ class ChatExcel(BaseChat): def stream_plugin_call(self, text): text = text.replace("\n", " ") - print(f"stream_plugin_call:{text}") return self.api_call.run_display_sql(text, self.excel_reader.get_df_by_sql_ex)