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) }} - + @@ -62,6 +62,10 @@ const props = defineProps({ type: Object, default: () => {} }, + content: { + type: String, + default: '' + }, index: { type: Number, default: 0 diff --git a/ui/src/components/card-box/index.vue b/ui/src/components/card-box/index.vue index 8fc81feb..41c8816b 100644 --- a/ui/src/components/card-box/index.vue +++ b/ui/src/components/card-box/index.vue @@ -2,13 +2,13 @@ - + - + {{ title }} diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss index 50d43fb2..90bab9c1 100644 --- a/ui/src/styles/app.scss +++ b/ui/src/styles/app.scss @@ -495,7 +495,7 @@ h5 { } .avatar-light { - background: var(--el-color-primary-light-4); + background: var(--el-color-primary-light-3); } .avatar-purple {