feat: attachment_support

This commit is contained in:
MaoMengww
2026-04-10 12:49:20 +08:00
parent 69785ad0a3
commit aaee5f044a
26 changed files with 1029 additions and 19 deletions
+12
View File
@@ -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',