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', 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;

View File

@ -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'
} }
] ]