feat: text generation application support run batch (#529)

This commit is contained in:
Joel 2023-07-07 10:35:05 +08:00 • committed by GitHub
commit 11baff6740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1017 additions and 180 deletions

View file

@ -30,7 +30,8 @@ const translation = {
},
generation: {
tabs: {
create: 'Create',
create: 'Run Once',
batch: 'Run Batch',
saved: 'Saved',
},
savedNoData: {
@ -41,10 +42,22 @@ const translation = {
title: 'AI Completion',
queryTitle: 'Query content',
queryPlaceholder: 'Write your query content...',
run: 'RUN',
run: 'Execute',
copy: 'Copy',
resultTitle: 'AI Completion',
noData: 'AI will give you what you want here.',
csvUploadTitle: 'Drag and drop your CSV file here, or ',
browse: 'browse',
csvStructureTitle: 'The CSV file must conform to the following structure:',
downloadTemplate: 'Download the template here',
field: 'Field',
errorMsg: {
empty: 'Please input content in the uploaded file.',
fileStructNotMatch: 'The uploaded CSV file not match the struct.',
emptyLine: 'Row {{rowIndex}} is empty',
invalidLine: 'Row {{rowIndex}}: variables value can not be empty',
atLeastOne: 'Please input at least one row in the uploaded file.',
},
},
}