diff --git a/ui/src/components/ai-chat/KnowledgeSource.vue b/ui/src/components/ai-chat/KnowledgeSource.vue new file mode 100644 index 000000000..e158e9271 --- /dev/null +++ b/ui/src/components/ai-chat/KnowledgeSource.vue @@ -0,0 +1,56 @@ + + + diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index b719a048c..acf080c92 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -73,38 +73,9 @@ +
- 知识来源 -
- - {{ dataset.name }} - -
- -
- 引用分段:{{ item.paragraph_list?.length || 0 }} - - 消耗 tokens: {{ item?.message_tokens + item?.answer_tokens }} - - - 耗时: {{ item.run_time?.toFixed(2) }} s - -
+
@@ -168,8 +139,6 @@
- -