diff --git a/ui/src/locales/lang/en-US/ai-chat.ts b/ui/src/locales/lang/en-US/ai-chat.ts index a09eb6922..235377e8c 100644 --- a/ui/src/locales/lang/en-US/ai-chat.ts +++ b/ui/src/locales/lang/en-US/ai-chat.ts @@ -23,7 +23,7 @@ export default { oppose: 'Dislike', cancelOppose: 'Cancel Dislike', continue: 'Continue', - stopChat: 'Stop Answering' + stopChat: 'Stop Output' }, tip: { error500Message: 'Sorry, the service is currently under maintenance. Please try again later!', @@ -32,8 +32,8 @@ export default { 'Sorry, you have reached the maximum number of questions. Please try again tomorrow!', answerMessage: 'Sorry, no relevant content was found. Please rephrase your question or provide more information.', - stopAnswer: 'Answering stopped', - answerLoading: 'Answering', + stopAnswer: 'Output stopped', + answerLoading: 'Thinking', recorderTip: `
This feature requires the use of a microphone. Browsers prohibit recording on insecure pages. Solutions are as follows:
1. Enable HTTPS to resolve;
2. If there is no HTTPS configuration, modify the browser security settings. Chrome settings as follows:
@@ -80,13 +80,13 @@ export default {
output: 'Output',
rerankerContent: 'Reranked Content',
rerankerResult: 'Reranked Results',
- paragraph: 'Paragraph',
+ paragraph: 'Segment',
noSubmit: 'User did not submit',
errMessage: 'Error Log'
},
KnowledgeSource: {
title: 'Knowledge Source',
- referenceParagraph: 'Referenced Paragraph',
+ referenceParagraph: 'Referenced Segment',
consume: 'Consumption',
consumeTime: 'Time Consumed'
},
diff --git a/ui/src/locales/lang/en-US/common.ts b/ui/src/locales/lang/en-US/common.ts
index 6734def1a..9e04e74b3 100644
--- a/ui/src/locales/lang/en-US/common.ts
+++ b/ui/src/locales/lang/en-US/common.ts
@@ -1,24 +1,24 @@
export default {
create: 'Create',
- createSuccess: 'Create successful',
+ createSuccess: 'Successful',
copy: 'Copy',
- copySuccess: 'Copy successful',
+ copySuccess: 'Successful',
copyError: 'Copy Failed',
save: 'Save',
- saveSuccess: 'Save successful',
+ saveSuccess: 'Successful',
delete: 'Delete',
- deleteSuccess: 'Deleted successful',
+ deleteSuccess: 'Successful',
setting: 'Settings',
- settingSuccess: 'Setting successful',
+ settingSuccess: 'Successful',
submit: 'Submit',
- submitSuccess: 'Submitted successfully',
+ submitSuccess: 'Successful',
edit: 'Edit',
- editSuccess: 'Edit successful',
+ editSuccess: 'Successful',
modify: 'Modify',
- modifySuccess: 'Modify successful',
+ modifySuccess: 'Successful',
cancel: 'Cancel',
confirm: 'OK',
- tip: 'Prompt',
+ tip: 'Tips',
add: 'Add',
refresh: 'Refresh',
search: 'Search',
@@ -27,9 +27,9 @@ export default {
createDate: 'Create Date',
createTime: 'Create Time',
operation: 'Operation',
- character: 'words',
+ character: 'charcters',
export: 'Export',
- exportSuccess: 'Export successful',
+ exportSuccess: 'Successful',
unavailable: '(Unavailable)',
public: 'Public',
private: 'Private',
@@ -47,8 +47,8 @@ export default {
},
status: {
label: 'Status',
- enableSuccess: 'Enable successful',
- disableSuccess: 'Disable successful'
+ enableSuccess: 'Successful',
+ disableSuccess: 'Successful'
},
inputPlaceholder: 'Please input',
title: 'Title',
diff --git a/ui/src/locales/lang/en-US/views/application-overview.ts b/ui/src/locales/lang/en-US/views/application-overview.ts
index 1c0bc22e3..baa551698 100644
--- a/ui/src/locales/lang/en-US/views/application-overview.ts
+++ b/ui/src/locales/lang/en-US/views/application-overview.ts
@@ -17,7 +17,7 @@ export default {
msgConfirm1: 'Do you want to regenerate the public access link?',
msgConfirm2:
'Regenerating the public access link will affect third-party embedded scripts changes and will require re-embedding the new script into third-party sites. Please proceed with caution!',
- refreshSuccess: 'Refresh successful'
+ refreshSuccess: 'Successful'
},
APIKeyDialog: {
saveSettings: 'Save Settings',
@@ -63,7 +63,7 @@ export default {
languageLabel: 'Language',
showSourceLabel: 'Show Source',
showExecutionDetail: 'Show Execution Detail',
- restoreDefault: 'Restore Default',
+ restoreDefault: 'Reset to default',
customThemeColor: 'Custom Theme Color',
headerTitleFontColor: 'Header Title Font Color',
default: 'Default',
diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts
index 11e7e2728..b9f2ca4ef 100644
--- a/ui/src/locales/lang/en-US/views/application-workflow.ts
+++ b/ui/src/locales/lang/en-US/views/application-workflow.ts
@@ -110,7 +110,7 @@ export default {
searchDatasetNode: {
label: 'Knowledge Search',
text: 'Associate knowledge and find relevant segments',
- paragraph_list: 'List of retrieved paragraphs',
+ paragraph_list: 'List of retrieved segments',
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
result: 'Search Result',
directly_return: 'Content of segments that meet direct response criteria',
diff --git a/ui/src/locales/lang/en-US/views/application.ts b/ui/src/locales/lang/en-US/views/application.ts
index 423e5026c..ed3d3f25c 100644
--- a/ui/src/locales/lang/en-US/views/application.ts
+++ b/ui/src/locales/lang/en-US/views/application.ts
@@ -33,17 +33,17 @@ export default {
},
form: {
appName: {
- label: 'APP Name',
+ label: 'Name',
placeholder: 'Please enter the APP name',
requiredMessage: 'APP name is required'
},
appDescription: {
- label: 'APP Description',
+ label: 'Description',
placeholder:
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage'
},
appType: {
- label: 'Please select the APP type',
+ label: 'Type',
simplePlaceholder: 'Suitable for beginners to create assistant.',
workflowPlaceholder: 'Suitable for advanced users to customize the workflow of assistant'
},
@@ -131,10 +131,10 @@ export default {
similarityThreshold: 'Similarity Threshold',
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
topReferences: 'Top N References',
- maxCharacters: 'Maximum words per Reference',
+ maxCharacters: 'Maximum Characters per Reference',
noReferencesAction: 'When there are no knowledge references',
continueQuestioning: 'Continue to ask questions to the Al model',
- provideAnswer: 'Provide a specific answer',
+ provideAnswer: 'Specify Reply Content',
designated_answer:
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
defaultPrompt1:
@@ -168,7 +168,7 @@ export default {
secretPlaceholder: 'Please enter secret',
tokenPlaceholder: 'Please enter token',
encodingAesKeyPlaceholder: 'Please enter EncodingAESKey',
- authenticationSuccessful: 'Authentication successful',
+ authenticationSuccessful: 'Successful',
urlInfo:
'-APP management-Self-built-Created APP-Receive messages-Set the "URL" received by the API'
},
@@ -204,8 +204,8 @@ export default {
},
hitTest: {
title: 'Retrieval Test',
- text: 'Ensure effective response by matching paragraphs to user inquiries.',
- emptyMessage1: 'The matching paragraph is displayed here',
+ text: 'Ensure effective response by matching segments to user inquiries.',
+ emptyMessage1: 'The matching segment is displayed here',
emptyMessage2: 'No matching sections found'
}
}
diff --git a/ui/src/locales/lang/en-US/views/dataset.ts b/ui/src/locales/lang/en-US/views/dataset.ts
index 664229ad8..c0dfd3ca7 100644
--- a/ui/src/locales/lang/en-US/views/dataset.ts
+++ b/ui/src/locales/lang/en-US/views/dataset.ts
@@ -31,12 +31,12 @@ export default {
},
form: {
datasetName: {
- label: 'Knowledge Name',
+ label: 'Name',
placeholder: 'Please enter the knowledge name',
requiredMessage: 'Please enter the knowledge name'
},
datasetDescription: {
- label: 'Knowledge Description',
+ label: 'Description',
placeholder:
'Describe the content of the knowledge. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
requiredMessage: 'Please enter the knowledge description'
@@ -47,7 +47,7 @@ export default {
requiredMessage: 'Please select the embedding model'
},
datasetType: {
- label: 'Knowledge Type',
+ label: 'Type',
generalInfo: 'Upload local documents',
webInfo: 'Sync text data from a web site'
},
@@ -64,8 +64,8 @@ export default {
},
ResultSuccess: {
title: 'Knowledge Created Successfully',
- paragraph: 'Paragraphs',
- paragraph_count: 'Paragraphs',
+ paragraph: 'Segments',
+ paragraph_count: 'Segments',
documentList: 'Document List',
loading: 'Importing',
buttons: {
diff --git a/ui/src/locales/lang/en-US/views/document.ts b/ui/src/locales/lang/en-US/views/document.ts
index aec942aa0..b08fc9383 100644
--- a/ui/src/locales/lang/en-US/views/document.ts
+++ b/ui/src/locales/lang/en-US/views/document.ts
@@ -15,12 +15,12 @@ export default {
},
tip: {
saveMessage: 'Current changes have not been saved. Confirm exit?',
- cancelSuccess: 'Batch cancellation successful',
- sendMessage: 'Sent successfully',
- vectorizationSuccess: 'Batch vectorization successful',
+ cancelSuccess: 'Successful',
+ sendMessage: 'Successful',
+ vectorizationSuccess: 'Successful',
nameMessage: 'Document name cannot be empty!',
- importMessage: 'Import successful',
- migrationSuccess: 'Move successful'
+ importMessage: 'Successful',
+ migrationSuccess: 'Successful'
},
upload: {
selectFile: 'Select File',
@@ -39,7 +39,7 @@ export default {
fileType: {
txt: {
label: 'Text File',
- tip1: '1. It is recommended to standardize the paragraph markers in the file before uploading.',
+ tip1: '1. It is recommended to standardize the segment markers in the file before uploading.',
tip2: '2. Up to 50 files can be uploaded at once, with each file not exceeding 100MB.'
},
table: {
@@ -59,11 +59,11 @@ export default {
setRules: {
title: {
setting: 'Set Segment Rules',
- preview: 'Segment Preview'
+ preview: 'Preview'
},
intelligent: {
- label: 'Intelligent Segmentation (Recommended)',
- text: 'If you are unsure how to set segmentation rules, it is recommended to use intelligent segmentation.'
+ label: 'Automatic Segmentation (Recommended)',
+ text: 'If you are unsure how to set segmentation rules, it is recommended to use automatic segmentation.'
},
advanced: {
label: 'Advanced Segmentation',
@@ -91,11 +91,11 @@ export default {
prev: 'Previous',
next: 'Next',
import: 'Start Import',
- preview: 'Generate Preview'
+ preview: 'Apply'
},
table: {
name: 'Document Name',
- char_length: 'Words',
+ char_length: 'Charcter',
paragraph: 'Segment',
all: 'All',
updateTime: 'Update Time'
@@ -105,7 +105,7 @@ export default {
SUCCESS: 'Success',
FAILURE: 'Failure',
EMBEDDING: 'Indexing',
- PENDING: 'Queued',
+ PENDING: 'Queuing',
GENERATE: 'Generating',
SYNC: 'Syncing',
REVOKE: 'Cancelling',
@@ -122,14 +122,14 @@ export default {
confirmMessage1:
'Syncing will delete existing data and retrieve new data. Please proceed with caution.',
confirmMessage2: 'Cannot sync, please set the document URL first.',
- successMessage: 'Document synced successfully'
+ successMessage: 'Successful'
},
delete: {
confirmTitle1: 'Confirm batch deletion of',
confirmTitle2: 'documents?',
confirmMessage:
'Segments within the selected documents will also be deleted. Please proceed with caution.',
- successMessage: 'Batch deletion successful',
+ successMessage: 'Successful',
confirmTitle3: 'Confirm deleting document:',
confirmMessage1: 'Under this document',
confirmMessage2: 'All segments will be deleted, please operate with caution. '
@@ -161,11 +161,11 @@ export default {
},
hitHandlingMethod: {
optimization: 'Model optimization',
- directly_return: 'Direct answer'
+ directly_return: 'Respond directly'
},
generateQuestion: {
title: 'Generate Questions',
- successMessage: 'Question generation successful',
+ successMessage: 'Successful',
tip1: 'The {data} in the prompt is a placeholder for segmented content, which is replaced by the segmented content when executed and sent to the AI model;',
tip2: 'The AI model generates relevant questions based on the segmented content. Please place the generated questions within the',
tip3: 'tags, and the system will automatically associate the questions within these tags;',
diff --git a/ui/src/locales/lang/en-US/views/function-lib.ts b/ui/src/locales/lang/en-US/views/function-lib.ts
index 0c0d063ab..7ad26f559 100644
--- a/ui/src/locales/lang/en-US/views/function-lib.ts
+++ b/ui/src/locales/lang/en-US/views/function-lib.ts
@@ -29,7 +29,7 @@ export default {
},
form: {
functionName: {
- label: 'Function Name',
+ label: 'Name',
placeholder: 'Please enter the function name',
requiredMessage: 'Please enter the function name'
},
@@ -66,13 +66,13 @@ export default {
outputParam: 'Output Parameters',
paramInfo1: 'Displayed when using the function',
paramInfo2: 'Not displayed when using the function',
- code: 'Function Content (Python)'
+ code: 'Content (Python)'
},
debug: {
run: 'Run',
output: 'Output',
runResult: 'Run Result',
- runSuccess: 'Run successful',
+ runSuccess: 'Successful',
runFailed: 'Run Failed'
}
}
diff --git a/ui/src/locales/lang/en-US/views/log.ts b/ui/src/locales/lang/en-US/views/log.ts
index b8d7794c5..378fbedc6 100644
--- a/ui/src/locales/lang/en-US/views/log.ts
+++ b/ui/src/locales/lang/en-US/views/log.ts
@@ -3,7 +3,7 @@ export default {
delete: {
confirmTitle: 'Confirm deletion of question:',
confirmMessage1: 'Deleting this question will cancel the association of',
- confirmMessage2: 'paragraphs. Please proceed with caution.'
+ confirmMessage2: 'segments. Please proceed with caution.'
},
buttons: {
clearStrategy: 'Clear Strategy',
diff --git a/ui/src/locales/lang/en-US/views/paragraph.ts b/ui/src/locales/lang/en-US/views/paragraph.ts
index edb0376ef..b4f2f1787 100644
--- a/ui/src/locales/lang/en-US/views/paragraph.ts
+++ b/ui/src/locales/lang/en-US/views/paragraph.ts
@@ -1,15 +1,15 @@
export default {
- title: 'Paragraph',
- editParagraph: 'Edit Paragraph',
- addParagraph: 'Add Paragraph',
- paragraphDetail: 'Paragraph Details',
- character_count: 'words',
+ title: 'Segment',
+ editParagraph: 'Edit Segment',
+ addParagraph: 'Add Segment',
+ paragraphDetail: 'Segment Details',
+ character_count: 'charcters',
setting: {
batchSelected: 'Batch Select',
cancelSelected: 'Cancel Selection'
},
delete: {
- confirmTitle: 'Confirm deletion of paragraph:',
+ confirmTitle: 'Confirm deletion of segment:',
confirmMessage: 'Deletion cannot be undone. Please proceed with caution.'
},
relatedProblem: {
@@ -18,13 +18,13 @@ export default {
},
form: {
paragraphTitle: {
- label: 'Paragraph Title',
- placeholder: 'Please enter the paragraph title'
+ label: 'Segment Title',
+ placeholder: 'Please enter the segment title'
},
content: {
- label: 'Paragraph Content',
- placeholder: 'Please enter the paragraph content',
- requiredMessage1: 'Please enter the paragraph content',
+ label: 'Segment Content',
+ placeholder: 'Please enter the segment content',
+ requiredMessage1: 'Please enter the segment content',
requiredMessage2: 'Content must not exceed 100,000 words'
}
}
diff --git a/ui/src/locales/lang/en-US/views/problem.ts b/ui/src/locales/lang/en-US/views/problem.ts
index bde906bae..a3ea3e099 100644
--- a/ui/src/locales/lang/en-US/views/problem.ts
+++ b/ui/src/locales/lang/en-US/views/problem.ts
@@ -8,7 +8,7 @@ export default {
placeholder: 'Enter the question, support multiple entries, one per line.',
errorMessage: 'Question cannot be empty!',
requiredMessage: 'Please enter a question',
- relatedSuccess: 'Batch association of paragraphs successful'
+ relatedSuccess: 'Successful'
},
setting: {
@@ -19,20 +19,20 @@ export default {
placeholder: 'Search by name'
},
table: {
- paragraph_count: 'Associated Paragraphs',
+ paragraph_count: 'Associated Segments',
updateTime: 'Update Time'
},
delete: {
confirmTitle: 'Confirm deletion of question:',
confirmMessage1: 'Deleting this question will cancel the association of',
- confirmMessage2: 'paragraphs. Please proceed with caution.'
+ confirmMessage2: 'segments. Please proceed with caution.'
},
relateParagraph: {
- title: 'Associate Paragraphs',
+ title: 'Associate Segments',
selectDocument: 'Select Document',
placeholder: 'Search by document name',
- selectParagraph: 'Select Paragraph',
- selectedParagraph: 'Selected Paragraphs',
+ selectParagraph: 'Select Segment',
+ selectedParagraph: 'Selected Segments',
count: 'Count'
}
}
diff --git a/ui/src/locales/lang/en-US/views/system.ts b/ui/src/locales/lang/en-US/views/system.ts
index 6869fbb08..510e0fccb 100644
--- a/ui/src/locales/lang/en-US/views/system.ts
+++ b/ui/src/locales/lang/en-US/views/system.ts
@@ -1,13 +1,13 @@
export default {
title: 'System',
test: 'Test Connection',
- testSuccess: 'Test connection successful',
+ testSuccess: 'Successful',
testFailed: 'Test connection failed',
password: 'Password',
authentication: {
title: 'Login Authentication',
ldap: {
- title: 'LDAP Settings',
+ title: 'LDAP',
address: 'LDAP Address',
serverPlaceholder: 'Please enter LDAP address',
bindDN: 'Bind DN',
@@ -21,7 +21,7 @@ export default {
enableAuthentication: 'Enable LDAP Authentication'
},
cas: {
- title: 'CAS Settings',
+ title: 'CAS',
ldpUri: 'ldpUri',
ldpUriPlaceholder: 'Please enter ldpUri',
validateUrl: 'Validation Address',
@@ -31,7 +31,7 @@ export default {
enableAuthentication: 'Enable CAS Authentication'
},
oidc: {
- title: 'OIDC Settings',
+ title: 'OIDC',
authEndpoint: 'Auth Endpoint',
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
@@ -50,7 +50,7 @@ export default {
},
oauth2: {
- title: 'OAuth2 Settings',
+ title: 'OAuth2',
authEndpoint: 'Auth Endpoint',
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
@@ -78,7 +78,7 @@ export default {
alreadyTurnedOn: 'Turned On',
notEnabled: 'Not Enabled',
validate: 'Validate',
- validateSuccess: 'Validation successful',
+ validateSuccess: 'Successful',
validateFailed: 'Validation failed',
validateFailedTip: 'Please fill in all required fields and ensure the format is correct',
appKeyPlaceholder: 'Please enter APP key',
@@ -98,7 +98,7 @@ export default {
custom: 'Custom',
pagePreview: 'Page Preview',
default: 'Default',
- restoreDefaults: 'Restore Defaults',
+ restoreDefaults: 'Reset to default',
orange: 'Orange',
green: 'Green',
purple: 'Purple',
@@ -119,7 +119,7 @@ export default {
websiteSlogan: 'Welcome Message',
websiteSloganPlaceholder: 'Please enter the welcome message',
websiteSloganTip: 'The welcome message below the product logo',
- defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
+ defaultSlogan: 'Ready-to-use, flexible RAG Chatbot',
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
logoDefaultTip: 'Default is the MaxKB login interface, supports custom settings',
platformSetting: 'Platform Settings',
diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss
index 1e4ac5db8..24e21d412 100644
--- a/ui/src/styles/element-plus.scss
+++ b/ui/src/styles/element-plus.scss
@@ -102,6 +102,7 @@
}
.el-message-box {
--el-messagebox-font-size: 16px;
+ --el-messagebox-width: 450px;
padding: 24px;
.el-message-box__header {
padding: 0;
diff --git a/ui/src/views/application-overview/index.vue b/ui/src/views/application-overview/index.vue
index 374c60e7d..ebe5041fb 100644
--- a/ui/src/views/application-overview/index.vue
+++ b/ui/src/views/application-overview/index.vue
@@ -62,13 +62,21 @@
{{ shareUrl }}
-
-