diff --git a/frontend/src/lib/components/PreviewPanel.svelte b/frontend/src/lib/components/PreviewPanel.svelte index eeecdc4..5b085d1 100644 --- a/frontend/src/lib/components/PreviewPanel.svelte +++ b/frontend/src/lib/components/PreviewPanel.svelte @@ -236,24 +236,48 @@ {/if} - + + {#if doc.ai_domain} +
+

분류

+ +
+ {#each doc.ai_domain.split('/') as part, i} + {#if i > 0}{/if} + {part} + {/each} +
+ +
+ {#if doc.document_type} + {doc.document_type} + {/if} + {#if doc.ai_confidence} + + {(doc.ai_confidence * 100).toFixed(0)}% + + {/if} + {#if doc.importance && doc.importance !== 'medium'} + + {doc.importance} + + {/if} +
+
+ {/if} + +

정보

포맷
-
{doc.file_format}
+
{doc.file_format}{doc.original_format ? ` (원본: ${doc.original_format})` : ''}
크기
{formatSize(doc.file_size)}
- {#if doc.ai_domain} -
-
분류
-
{doc.ai_domain.replace('Knowledge/', '')}{doc.ai_sub_group ? ` / ${doc.ai_sub_group}` : ''}
-
- {/if} {#if doc.source_channel}
출처