mirror of https://github.com/langgenius/dify.git
32 lines
547 B
TypeScript
32 lines
547 B
TypeScript
import { BlockClassificationEnum } from './types'
|
|
|
|
export const BLOCK_CLASSIFICATIONS: string[] = [
|
|
BlockClassificationEnum.Default,
|
|
BlockClassificationEnum.QuestionUnderstand,
|
|
BlockClassificationEnum.Logic,
|
|
BlockClassificationEnum.Transform,
|
|
BlockClassificationEnum.Utilities,
|
|
]
|
|
|
|
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',
|
|
]
|