diff --git a/assets/chat_agent/agent_hub_1.png b/assets/chat_agent/agent_hub_1.png new file mode 100644 index 000000000..e2b95bf73 Binary files /dev/null and b/assets/chat_agent/agent_hub_1.png differ diff --git a/assets/chat_agent/agent_hub_2.png b/assets/chat_agent/agent_hub_2.png new file mode 100644 index 000000000..9c7c50b02 Binary files /dev/null and b/assets/chat_agent/agent_hub_2.png differ diff --git a/assets/chat_agent/chat_agent0.png b/assets/chat_agent/chat_agent0.png new file mode 100644 index 000000000..14650a744 Binary files /dev/null and b/assets/chat_agent/chat_agent0.png differ diff --git a/assets/chat_agent/chat_agent1.png b/assets/chat_agent/chat_agent1.png index af3f1c715..bd77b9033 100644 Binary files a/assets/chat_agent/chat_agent1.png and b/assets/chat_agent/chat_agent1.png differ diff --git a/assets/chat_agent/chat_agent2.png b/assets/chat_agent/chat_agent2.png new file mode 100644 index 000000000..220266964 Binary files /dev/null and b/assets/chat_agent/chat_agent2.png differ diff --git a/docs/getting_started/application/chatagent/chatagent.md b/docs/getting_started/application/chatagent/chatagent.md index c0d90247d..44b0df15e 100644 --- a/docs/getting_started/application/chatagent/chatagent.md +++ b/docs/getting_started/application/chatagent/chatagent.md @@ -1,25 +1,24 @@ ChatAgent ================================== ChatAgent can automatically select the right tool to answer and solve user problems through LLM. -![ChatAgent](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) +![ChatAgent](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/chat_agent0.png) ### 1.Update Plugins From Git Update the latest plug-in information from the DB-GPT official plug-in repository. -![Update From Github](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) +![Update From Github](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/agent_hub_1.png) ### 2.Install Plugin Install the plugin you want to use from the list of agent hub plugins. -![Install Plugin](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) - +![Update From Github](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/agent_hub_1.png) ### 3.Upload My Local Plugin File If you want to use a private plug-in developed by yourself, you can upload the plug-in first and then use it. -![Upload Private Plugin](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) ### 4.Select installed plug-ins dialog Select an installed plugin to have a conversation. -![Select Plugins](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) +![Select Plugins](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/chat_agent1.png) +![Success Use](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/chat_agent2.png) ### 5.Uninstall My Plugin Uninstall plugins you no longer need. -![Uninstall Plugin](https://github.com/eosphoros-ai/DB-GPT/assets/13723926/) \ No newline at end of file +![Uninstall Plugin](https://github.com/eosphoros-ai/DB-GPT/blob/82d8e4f3bd74bfe7f19b96e51d3483f382227bed/assets/chat_agent/agent_hub_2.png) \ No newline at end of file diff --git a/pilot/scene/chat_agent/chat.py b/pilot/scene/chat_agent/chat.py index ef37f8448..0fc5a0375 100644 --- a/pilot/scene/chat_agent/chat.py +++ b/pilot/scene/chat_agent/chat.py @@ -63,7 +63,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 343afc4bd..9a316cd34 100644 --- a/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py +++ b/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py @@ -88,5 +88,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)