diff --git a/web/src/components/ChatComponent.vue b/web/src/components/ChatComponent.vue index e1cf86cc..71acf758 100644 --- a/web/src/components/ChatComponent.vue +++ b/web/src/components/ChatComponent.vue @@ -137,8 +137,18 @@

ID: #{{ res.id }}

-

相似度距离: {{ res.distance }}

-

重排序分数: {{ res.rerank_score }}

+

+ 相似度距离: +

+ +
+

+

+ 重排序分数: +

+ +
+

{{ res.entity.text }}

@@ -664,6 +674,18 @@ watch( .result-text { margin: 5px 0; } + + .scorebar { + margin-left: 10px; + display: inline-block; + width: 200px; + padding-bottom: 2px; + + + & > * { + margin: 0; + } + } } }