diff --git a/pilot/openapi/api_v1/api_v1.py b/pilot/openapi/api_v1/api_v1.py index ddded45ef..958f14f24 100644 --- a/pilot/openapi/api_v1/api_v1.py +++ b/pilot/openapi/api_v1/api_v1.py @@ -236,7 +236,7 @@ async def chat_completions(dialogue: ConversationVo = Body()): elif ChatScene.ChatDashboard.value() == dialogue.chat_mode: chat_param.update({"db_name": dialogue.select_param}) ## DEFAULT - chat_param.update({"report_name": "sales_report"}) + chat_param.update({"report_name": "report"}) elif ChatScene.ChatExecution.value() == dialogue.chat_mode: chat_param.update({"plugin_selector": dialogue.select_param}) elif ChatScene.ChatKnowledge.value() == dialogue.chat_mode: diff --git a/pilot/scene/chat_dashboard/template/sales_report/dashboard.json b/pilot/scene/chat_dashboard/template/report/dashboard.json similarity index 75% rename from pilot/scene/chat_dashboard/template/sales_report/dashboard.json rename to pilot/scene/chat_dashboard/template/report/dashboard.json index 4054688c8..c10f208a6 100644 --- a/pilot/scene/chat_dashboard/template/sales_report/dashboard.json +++ b/pilot/scene/chat_dashboard/template/report/dashboard.json @@ -1,6 +1,6 @@ { - "title": "Sales Report", - "name": "sale_report", + "title": "Report", + "name": "report", "introduce": "", "layout": "TODO", "supported_chart_type":[ "Table", "LineChart", "BarChart", "IndicatorValue"],