feat: attachment_support
This commit is contained in:
@@ -1864,6 +1864,11 @@ export default {
|
||||
imageTooMany: 'Maximum 5 images allowed',
|
||||
imageTypeSizeError: 'Only JPG/PNG/GIF/WEBP under 10MB supported',
|
||||
imageUploadTooltip: 'Upload image (paste/drop supported)',
|
||||
attachmentUploadTooltip: 'Upload attachment (documents, audio, etc.)',
|
||||
attachmentWithCount: '{count} attachment(s) uploaded',
|
||||
attachmentTooMany: 'Maximum {max} attachments allowed',
|
||||
attachmentTooLarge: 'File {name} exceeds {max}MB limit',
|
||||
attachmentTypeNotSupported: 'Unsupported file type: {name}',
|
||||
},
|
||||
tenant: {
|
||||
title: 'Tenant Information',
|
||||
@@ -3342,6 +3347,13 @@ export default {
|
||||
notConfigured: 'Not Configured',
|
||||
goStorageSettings: 'Go to Storage Settings',
|
||||
},
|
||||
audioUpload: {
|
||||
label: 'Audio Upload',
|
||||
desc: 'When enabled, users can upload audio files in conversations. The system will automatically transcribe them using the ASR model.',
|
||||
asrModel: 'ASR Model',
|
||||
asrModelDesc: 'Speech recognition model for audio transcription. If not configured, audio files will be passed as placeholders.',
|
||||
asrModelPlaceholder: 'Select ASR Model',
|
||||
},
|
||||
faq: {
|
||||
title: 'FAQ Priority Strategy',
|
||||
tooltip: 'When the knowledge base contains FAQ (Q&A pairs), enable this strategy to prioritize FAQ answers over regular documents',
|
||||
|
||||
@@ -413,6 +413,11 @@ export default {
|
||||
imageTooMany: "최대 5장까지 업로드 가능합니다",
|
||||
imageTypeSizeError: "JPG/PNG/GIF/WEBP 형식만 지원하며, 단일 파일 10MB 이하",
|
||||
imageUploadTooltip: "이미지 업로드 (붙여넣기/드래그 지원)",
|
||||
attachmentUploadTooltip: "첨부 파일 업로드 (문서, 오디오 등)",
|
||||
attachmentWithCount: "{count}개 파일 업로드됨",
|
||||
attachmentTooMany: "최대 {max}개 파일까지 업로드 가능합니다",
|
||||
attachmentTooLarge: "파일 {name}이(가) {max}MB 제한을 초과합니다",
|
||||
attachmentTypeNotSupported: "지원하지 않는 파일 형식: {name}",
|
||||
},
|
||||
settings: {
|
||||
title: "설정",
|
||||
@@ -3393,6 +3398,13 @@ export default {
|
||||
notConfigured: '미설정',
|
||||
goStorageSettings: '저장소 설정으로 이동',
|
||||
},
|
||||
audioUpload: {
|
||||
label: '음성 업로드',
|
||||
desc: '활성화하면 사용자가 대화에서 오디오 파일을 업로드할 수 있으며, ASR 모델로 자동 변환됩니다',
|
||||
asrModel: 'ASR 모델',
|
||||
asrModelDesc: '음성 인식 모델입니다. 설정하지 않으면 오디오 파일이 플레이스홀더로 전달됩니다',
|
||||
asrModelPlaceholder: 'ASR 모델 선택',
|
||||
},
|
||||
faq: {
|
||||
title: 'FAQ 우선 전략',
|
||||
tooltip: '지식베이스에 FAQ(질문-답변 쌍)가 포함된 경우, 이 전략을 활성화하면 FAQ 답변이 일반 문서보다 우선됩니다',
|
||||
|
||||
@@ -2032,6 +2032,11 @@ export default {
|
||||
imageTooMany: 'Максимум 5 изображений',
|
||||
imageTypeSizeError: 'Поддерживаются только JPG/PNG/GIF/WEBP до 10 МБ',
|
||||
imageUploadTooltip: 'Загрузить изображение (вставка/перетаскивание)',
|
||||
attachmentUploadTooltip: 'Загрузить вложение (документы, аудио и т.д.)',
|
||||
attachmentWithCount: 'Загружено файлов: {count}',
|
||||
attachmentTooMany: 'Максимум {max} файлов',
|
||||
attachmentTooLarge: 'Файл {name} превышает лимит {max} МБ',
|
||||
attachmentTypeNotSupported: 'Неподдерживаемый тип файла: {name}',
|
||||
thinkingAlt: 'Обдумывание...',
|
||||
deepThoughtCompleted: 'Глубокий анализ завершён',
|
||||
deepThoughtAlt: 'Глубокий анализ'
|
||||
@@ -3009,6 +3014,13 @@ export default {
|
||||
notConfigured: 'Не настроено',
|
||||
goStorageSettings: 'Перейти к настройкам хранилища'
|
||||
},
|
||||
audioUpload: {
|
||||
label: 'Загрузка аудио',
|
||||
desc: 'Позволяет пользователям загружать аудиофайлы в чате. Система автоматически транскрибирует их с помощью ASR-модели.',
|
||||
asrModel: 'ASR-модель',
|
||||
asrModelDesc: 'Модель распознавания речи. Если не настроена, аудиофайлы передаются как заглушки.',
|
||||
asrModelPlaceholder: 'Выберите ASR-модель',
|
||||
},
|
||||
faq: {
|
||||
title: 'Стратегия приоритета FAQ',
|
||||
tooltip: 'Если база знаний содержит FAQ (пары вопрос-ответ), включите эту стратегию для приоритета ответов FAQ над обычными документами',
|
||||
|
||||
@@ -410,6 +410,11 @@ export default {
|
||||
imageTooMany: "最多上传5张图片",
|
||||
imageTypeSizeError: "仅支持 JPG/PNG/GIF/WEBP 格式,单张不超过 10MB",
|
||||
imageUploadTooltip: "上传图片(支持粘贴/拖拽)",
|
||||
attachmentUploadTooltip: "上传附件(文档、音频等)",
|
||||
attachmentWithCount: "已上传 {count} 个附件",
|
||||
attachmentTooMany: "最多上传 {max} 个附件",
|
||||
attachmentTooLarge: "文件 {name} 超过 {max}MB 限制",
|
||||
attachmentTypeNotSupported: "不支持的文件类型:{name}",
|
||||
},
|
||||
settings: {
|
||||
title: "设置",
|
||||
@@ -3341,6 +3346,13 @@ export default {
|
||||
notConfigured: "未配置",
|
||||
goStorageSettings: "去存储设置中配置",
|
||||
},
|
||||
audioUpload: {
|
||||
label: "语音上传",
|
||||
desc: "启用后用户可在对话中上传音频文件,系统将使用 ASR 模型自动转录为文字",
|
||||
asrModel: "ASR 模型",
|
||||
asrModelDesc: "用于音频转录的语音识别模型,未配置时音频文件将以占位符形式传递",
|
||||
asrModelPlaceholder: "请选择 ASR 模型",
|
||||
},
|
||||
faq: {
|
||||
title: "FAQ 优先策略",
|
||||
tooltip: "当知识库中包含 FAQ(问答对)时,可以启用此策略让 FAQ 答案优先于普通文档",
|
||||
|
||||
Reference in New Issue
Block a user