feat: support json and draftsExport file in knowledge base (#1717)

This commit is contained in:
Wenwei Lin
2025-02-17 08:25:07 +08:00
committed by GitHub
parent 51692ad3a4
commit 616b95f8fa
4 changed files with 52 additions and 4 deletions
+1
View File
@@ -2,6 +2,7 @@ export const imageExts = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.webp']
export const videoExts = ['.mp4', '.avi', '.mov', '.wmv', '.flv', '.mkv']
export const audioExts = ['.mp3', '.wav', '.ogg', '.flac', '.aac']
export const documentExts = ['.pdf', '.docx', '.pptx', '.xlsx', '.odt', '.odp', '.ods']
export const thirdPartyApplicationExts = ['.draftsExport']
export const bookExts = ['.epub']
export const textExts = [
'.txt', // 普通文本文件