From f738ddc9343f68c1ff7bc41d92f923046eacd683 Mon Sep 17 00:00:00 2001 From: "tuyang.yhj" Date: Tue, 4 Jul 2023 11:16:51 +0800 Subject: [PATCH] WEB API independent --- pilot/openapi/api_v1/api_v1.py | 2 +- pilot/scene/chat_dashboard/template/sales_report/dashboard.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pilot/openapi/api_v1/api_v1.py b/pilot/openapi/api_v1/api_v1.py index 2d9eaf6e1..414d3cfad 100644 --- a/pilot/openapi/api_v1/api_v1.py +++ b/pilot/openapi/api_v1/api_v1.py @@ -127,8 +127,8 @@ async def dialogue_scenes(): new_modes: List[ChatScene] = [ ChatScene.ChatWithDbExecute, ChatScene.ChatWithDbQA, - ChatScene.ChatDashboard, ChatScene.ChatKnowledge, + ChatScene.ChatDashboard, ChatScene.ChatExecution, ] for scene in new_modes: diff --git a/pilot/scene/chat_dashboard/template/sales_report/dashboard.json b/pilot/scene/chat_dashboard/template/sales_report/dashboard.json index f08142122..5a7f836e9 100644 --- a/pilot/scene/chat_dashboard/template/sales_report/dashboard.json +++ b/pilot/scene/chat_dashboard/template/sales_report/dashboard.json @@ -3,7 +3,7 @@ "name": "sale_report", "introduce": "", "layout": "TODO", - "supported_chart_type":["HeatMap","sheet", "LineChart", "PieChart", "BarChart"], + "supported_chart_type":["HeatMap","sheet", "LineChart", "PieChart", "BarChart", "Scatterplot", "IndicatorValue", "Table"], "key_metrics":[], "trends": [] } \ No newline at end of file