Merge branch 'feat/rag-pipeline' of https://github.com/langgenius/dify into feat/rag-pipeline
commit
841bd35ebb
@ -0,0 +1,46 @@
|
||||
import { VarType } from '@/app/components/workflow/types'
|
||||
|
||||
export const OUTPUT_VARIABLES_MAP = {
|
||||
datasource_type: {
|
||||
name: 'datasource_type',
|
||||
type: VarType.string,
|
||||
description: 'local_file, online_document, website_crawl',
|
||||
},
|
||||
file: {
|
||||
name: 'file',
|
||||
type: VarType.file,
|
||||
description: 'file',
|
||||
subItems: [
|
||||
{
|
||||
name: 'type',
|
||||
type: VarType.string,
|
||||
description: '',
|
||||
},
|
||||
{
|
||||
name: 'upload_file_id',
|
||||
type: VarType.string,
|
||||
description: '',
|
||||
},
|
||||
{
|
||||
name: 'name',
|
||||
type: VarType.string,
|
||||
description: '',
|
||||
},
|
||||
{
|
||||
name: 'size',
|
||||
type: VarType.number,
|
||||
description: '',
|
||||
},
|
||||
{
|
||||
name: 'extension',
|
||||
type: VarType.string,
|
||||
description: '',
|
||||
},
|
||||
{
|
||||
name: 'mime_type',
|
||||
type: VarType.string,
|
||||
description: '',
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
Loading…
Reference in New Issue