mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-19 00:37:34 +00:00
feat: change document type text
This commit is contained in:
parent
3456dd8205
commit
76a2987ecb
@ -38,17 +38,17 @@ const documentTypeList = [
|
|||||||
{
|
{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
title: 'Text',
|
title: 'Text',
|
||||||
subTitle: 'Paste some text'
|
subTitle: 'Fill your raw text'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'webPage',
|
type: 'webPage',
|
||||||
title: 'Web Page',
|
title: 'URL',
|
||||||
subTitle: 'Crawl text from a web page'
|
subTitle: 'Fetch the content of a URL'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'file',
|
type: 'file',
|
||||||
title: 'File',
|
title: 'Document',
|
||||||
subTitle: 'It can be: PDF, CSV, JSON, Text, PowerPoint, Word, Excel'
|
subTitle: 'Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
const page_size = 20;
|
const page_size = 20;
|
||||||
|
@ -39,17 +39,17 @@ const documentTypeList = [
|
|||||||
{
|
{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
title: 'Text',
|
title: 'Text',
|
||||||
subTitle: 'Paste some text'
|
subTitle: 'Fill your raw text'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'webPage',
|
type: 'webPage',
|
||||||
title: 'Web Page',
|
title: 'URL',
|
||||||
subTitle: 'Crawl text from a web page'
|
subTitle: 'Fetch the content of a URL'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'file',
|
type: 'file',
|
||||||
title: 'File',
|
title: 'Document',
|
||||||
subTitle: 'It can be: PDF, CSV, JSON, Text, PowerPoint, Word, Excel'
|
subTitle: 'Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user