2024-04-08 18:51:46 +08:00
|
|
|
import { BlockClassificationEnum } from './types'
|
|
|
|
|
|
|
|
|
|
export const BLOCK_CLASSIFICATIONS: string[] = [
|
|
|
|
|
BlockClassificationEnum.Default,
|
|
|
|
|
BlockClassificationEnum.QuestionUnderstand,
|
|
|
|
|
BlockClassificationEnum.Logic,
|
|
|
|
|
BlockClassificationEnum.Transform,
|
|
|
|
|
BlockClassificationEnum.Utilities,
|
|
|
|
|
]
|
2025-09-18 12:49:10 +08:00
|
|
|
|
|
|
|
|
export const DEFAULT_FILE_EXTENSIONS_IN_LOCAL_FILE_DATA_SOURCE = [
|
|
|
|
|
'txt',
|
|
|
|
|
'markdown',
|
|
|
|
|
'mdx',
|
|
|
|
|
'pdf',
|
|
|
|
|
'html',
|
|
|
|
|
'xlsx',
|
|
|
|
|
'xls',
|
|
|
|
|
'vtt',
|
|
|
|
|
'properties',
|
|
|
|
|
'doc',
|
|
|
|
|
'docx',
|
|
|
|
|
'csv',
|
|
|
|
|
'eml',
|
|
|
|
|
'msg',
|
|
|
|
|
'pptx',
|
|
|
|
|
'xml',
|
|
|
|
|
'epub',
|
|
|
|
|
'ppt',
|
|
|
|
|
'md',
|
|
|
|
|
]
|