feat: change document type text

This commit is contained in:
shiweisong.ssw 2023-06-29 17:05:16 +08:00
parent 3456dd8205
commit 76a2987ecb
2 changed files with 10 additions and 10 deletions

View File

@ -38,17 +38,17 @@ const documentTypeList = [
{
type: 'text',
title: 'Text',
subTitle: 'Paste some text'
subTitle: 'Fill your raw text'
},
{
type: 'webPage',
title: 'Web Page',
subTitle: 'Crawl text from a web page'
title: 'URL',
subTitle: 'Fetch the content of a URL'
},
{
type: 'file',
title: 'File',
subTitle: 'It can be: PDF, CSV, JSON, Text, PowerPoint, Word, Excel'
title: 'Document',
subTitle: 'Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown'
}
]
const page_size = 20;

View File

@ -39,17 +39,17 @@ const documentTypeList = [
{
type: 'text',
title: 'Text',
subTitle: 'Paste some text'
subTitle: 'Fill your raw text'
},
{
type: 'webPage',
title: 'Web Page',
subTitle: 'Crawl text from a web page'
title: 'URL',
subTitle: 'Fetch the content of a URL'
},
{
type: 'file',
title: 'File',
subTitle: 'It can be: PDF, CSV, JSON, Text, PowerPoint, Word, Excel'
title: 'Document',
subTitle: 'Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown'
}
]