From e6adbf9c7b10559f7c50d1c23c9b23bde0087b8a Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 16 Sep 2024 15:37:18 +0200 Subject: [PATCH] enchance ai --- dashboard/components/CardTitled.vue | 4 +- dashboard/components/SelectButton.vue | 6 +- .../components/analyst/ComposableChart.vue | 39 +++-- .../components/dashboard/ActionableChart.vue | 26 ++-- dashboard/layouts/dashboard.vue | 3 +- dashboard/package.json | 2 + dashboard/pages/analyst.vue | 138 +++++++++++++++--- dashboard/pnpm-lock.yaml | 111 +++++++++++--- .../server/ai/functions/AI_ComposableChart.ts | 2 +- dashboard/server/ai/functions/AI_Events.ts | 17 ++- dashboard/server/services/AiService.ts | 3 +- 11 files changed, 276 insertions(+), 75 deletions(-) diff --git a/dashboard/components/CardTitled.vue b/dashboard/components/CardTitled.vue index 3f8ae35..153817c 100644 --- a/dashboard/components/CardTitled.vue +++ b/dashboard/components/CardTitled.vue @@ -9,10 +9,10 @@ const props = defineProps<{ title: string, sub?: string }>();
-
+
{{ props.title }}
-
+
{{ props.sub }}
diff --git a/dashboard/components/SelectButton.vue b/dashboard/components/SelectButton.vue index 397fd29..3ce8406 100644 --- a/dashboard/components/SelectButton.vue +++ b/dashboard/components/SelectButton.vue @@ -16,10 +16,10 @@ const emits = defineEmits<{