feat(frontend): 更新三种切分模式与PDF定位

This commit is contained in:
caoxiaozhu
2026-07-25 18:00:44 +08:00
parent ea08478a37
commit 9193f10e3e
10 changed files with 81 additions and 44 deletions

View File

@@ -79,16 +79,16 @@ const configLabelMap: Record<string, string> = {
chunk_size: '切片长度',
chunk_overlap: '重叠长度',
min_chunk_size: '最小切片长度',
custom_delimiter: '自定义分隔符',
semantic_breakpoint_percentile: '语义断点百分位',
preserve_tables: '保留表格',
preserve_code_blocks: '保留代码块',
preserve_lists: '保留列表',
}
const chunkMethodLabelMap: Record<string, string> = {
structure: '文档结构',
layout_hybrid: '版面结构混合切分',
semantic: '语义切分',
fixed: '固定 Token',
custom: '自定义分隔符',
}
const preprocessOptionLabelMap: Record<string, string> = {