|
147 | 147 | )"
|
148 | 148 | :key="paragraphIndex"
|
149 | 149 | >
|
150 |
| - <ParagraphCard :data="paragraph" :index="paragraphIndex" /> |
| 150 | + <ParagraphCard |
| 151 | + :data="paragraph" |
| 152 | + :content="paragraph.content" |
| 153 | + :index="paragraphIndex" |
| 154 | + /> |
151 | 155 | </template>
|
152 | 156 | </template>
|
153 | 157 | <template v-else> -</template>
|
|
423 | 427 | v-for="(paragraph, paragraphIndex) in item.document_list"
|
424 | 428 | :key="paragraphIndex"
|
425 | 429 | >
|
426 |
| - <CardBox shadow="never" title="" class="cursor mb-8" :showIcon="false"> |
427 |
| - <template #description> |
428 |
| - <el-scrollbar max-height="150"> |
429 |
| - <MdPreview |
430 |
| - ref="editorRef" |
431 |
| - editorId="preview-only" |
432 |
| - :modelValue="paragraph.page_content" |
433 |
| - /> |
434 |
| - </el-scrollbar> |
435 |
| - </template> |
436 |
| - </CardBox> |
| 430 | + <ParagraphCard |
| 431 | + :data="paragraph.metadata" |
| 432 | + :content="paragraph.page_content" |
| 433 | + :index="paragraphIndex" |
| 434 | + /> |
437 | 435 | </template>
|
438 | 436 | </template>
|
439 | 437 | <template v-else> -</template>
|
|
449 | 447 | v-for="(paragraph, paragraphIndex) in item.result_list"
|
450 | 448 | :key="paragraphIndex"
|
451 | 449 | >
|
452 |
| - <CardBox |
453 |
| - shadow="never" |
454 |
| - :title="`${$t('chat.executionDetails.paragraph')}${paragraphIndex + 1}`" |
455 |
| - class="paragraph-source-card cursor mb-8 paragraph-source-card-height" |
456 |
| - :showIcon="false" |
457 |
| - > |
458 |
| - <div class="active-button primary"> |
459 |
| - {{ paragraph.metadata.relevance_score?.toFixed(3) }} |
460 |
| - </div> |
461 |
| - <template #description> |
462 |
| - <div class="mt-8"> |
463 |
| - <el-scrollbar height="150"> |
464 |
| - <MdPreview |
465 |
| - ref="editorRef" |
466 |
| - editorId="preview-only" |
467 |
| - :modelValue="paragraph.page_content" |
468 |
| - /> |
469 |
| - </el-scrollbar> |
470 |
| - </div> |
471 |
| - </template> |
472 |
| - </CardBox> |
| 450 | + <ParagraphCard |
| 451 | + :data="paragraph.metadata" |
| 452 | + :content="paragraph.page_content" |
| 453 | + :index="paragraphIndex" |
| 454 | + /> |
473 | 455 | </template>
|
474 | 456 | </template>
|
475 | 457 | <template v-else> -</template>
|
|
0 commit comments