diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index b0a674062..2c39158b0 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -64,13 +64,30 @@
知识来源 +
+ + {{ dataset.name }} + +
- - 消耗 tokens: {{ item?.message_tokens + item?.answer_tokens }} - - - 耗时: {{ item.run_time.toFixed(2) }} s - +
+ 引用分段:{{ item.paragraph_list.length }} + + 消耗 tokens: {{ item?.message_tokens + item?.answer_tokens }} + + + 耗时: {{ item.run_time.toFixed(2) }} s + +
diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index ca5f60eb9..999f202c4 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -102,7 +102,7 @@ .el-tag { --el-tag-border-radius: 2px; - height: 22px; + height: 24px; padding: 0 6px; } .el-table { diff --git a/ui/src/views/dataset/index.vue b/ui/src/views/dataset/index.vue index 23e557f11..8adaee0b1 100644 --- a/ui/src/views/dataset/index.vue +++ b/ui/src/views/dataset/index.vue @@ -48,9 +48,9 @@
- + - +