From 0d96f797f162dab1d6e8c02e3783a4216ad2542c Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 18 Feb 2025 16:54:16 +0800 Subject: [PATCH] feat: Multi channel recall execution details optimize style --- .../ai-chat/ExecutionDetailDialog.vue | 48 ++++++------------- .../ai-chat/ParagraphSourceDialog.vue | 3 +- .../ai-chat/component/ParagraphCard.vue | 6 ++- ui/src/components/card-box/index.vue | 4 +- ui/src/styles/app.scss | 2 +- 5 files changed, 24 insertions(+), 39 deletions(-) diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index c4eb2e4e..52c20844 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -147,7 +147,11 @@ )" :key="paragraphIndex" > - + @@ -423,17 +427,11 @@ v-for="(paragraph, paragraphIndex) in item.document_list" :key="paragraphIndex" > - - - + @@ -449,27 +447,11 @@ v-for="(paragraph, paragraphIndex) in item.result_list" :key="paragraphIndex" > - -
- {{ paragraph.metadata.relevance_score?.toFixed(3) }} -
- -
+ diff --git a/ui/src/components/ai-chat/ParagraphSourceDialog.vue b/ui/src/components/ai-chat/ParagraphSourceDialog.vue index ac31dc39..f680c709 100644 --- a/ui/src/components/ai-chat/ParagraphSourceDialog.vue +++ b/ui/src/components/ai-chat/ParagraphSourceDialog.vue @@ -22,7 +22,7 @@
- @@ -79,7 +79,6 @@ defineExpose({ open }) @media only screen and (max-width: 768px) { .paragraph-source { width: 90% !important; - } } diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue index d99ac6f2..de8010de 100644 --- a/ui/src/components/ai-chat/component/ParagraphCard.vue +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -12,7 +12,7 @@
{{ data.similarity?.toFixed(3) }}