mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Import & export the agents. #3851 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -66,27 +66,28 @@ export const LanguageTranslationMap = {
|
||||
Vietnamese: 'vi',
|
||||
};
|
||||
|
||||
export const FileMimeTypeMap = {
|
||||
bmp: 'image/bmp',
|
||||
csv: 'text/csv',
|
||||
odt: 'application/vnd.oasis.opendocument.text',
|
||||
doc: 'application/msword',
|
||||
docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
gif: 'image/gif',
|
||||
htm: 'text/htm',
|
||||
html: 'text/html',
|
||||
jpg: 'image/jpg',
|
||||
jpeg: 'image/jpeg',
|
||||
pdf: 'application/pdf',
|
||||
png: 'image/png',
|
||||
ppt: 'application/vnd.ms-powerpoint',
|
||||
pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
tiff: 'image/tiff',
|
||||
txt: 'text/plain',
|
||||
xls: 'application/vnd.ms-excel',
|
||||
xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
mp4: 'video/mp4',
|
||||
};
|
||||
export enum FileMimeType {
|
||||
Bmp = 'image/bmp',
|
||||
Csv = 'text/csv',
|
||||
Odt = 'application/vnd.oasis.opendocument.text',
|
||||
Doc = 'application/msword',
|
||||
Docx = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
Gif = 'image/gif',
|
||||
Htm = 'text/htm',
|
||||
Html = 'text/html',
|
||||
Jpg = 'image/jpg',
|
||||
Jpeg = 'image/jpeg',
|
||||
Pdf = 'application/pdf',
|
||||
Png = 'image/png',
|
||||
Ppt = 'application/vnd.ms-powerpoint',
|
||||
Pptx = 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
Tiff = 'image/tiff',
|
||||
Txt = 'text/plain',
|
||||
Xls = 'application/vnd.ms-excel',
|
||||
Xlsx = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
Mp4 = 'video/mp4',
|
||||
Json = 'application/json',
|
||||
}
|
||||
|
||||
export const Domain = 'demo.ragflow.io';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user