Skip to content

Commit 6967a20

Browse files
committed
Merge remote-tracking branch 'upstream/main' into chore/i18n-patch-1
2 parents ac7da23 + 950f4a7 commit 6967a20

File tree

10 files changed

+24
-29
lines changed

10 files changed

+24
-29
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1+
<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
22
<g clip-path="url(#clip0_10835_2)">
33
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.4785 0H18.7463C13.203 0 10.0078 3.54162 10.0078 8.96931V9.9C9.36946 9.71693 8.70867 9.62403 8.04462 9.624C4.11139 9.62377 0.92308 12.8123 0.92308 16.7453C0.92308 20.6785 4.11139 23.8668 8.04462 23.8668C11.9779 23.8668 15.1662 20.6785 15.1662 16.7453C15.1662 16.2669 15.1179 15.7899 15.0224 15.321H20.4785C21.915 15.3157 23.0769 14.1496 23.0769 12.7131C23.0769 11.2763 21.915 10.1102 20.4785 10.1049H15.0508V8.73831C15.0508 6.65954 16.5519 5.15838 18.7463 5.15838H20.4785C21.8878 5.13692 23.0192 3.98862 23.0192 2.57908C23.0192 1.16977 21.8878 0.0212308 20.4785 0ZM10.1619 16.7453C10.1619 16.1838 9.93885 15.6452 9.54178 15.2481C9.14471 14.8511 8.60616 14.628 8.04462 14.628C7.48307 14.628 6.94453 14.8511 6.54746 15.2481C6.15038 15.6452 5.92731 16.1838 5.92731 16.7453C5.92731 17.3069 6.15038 17.8454 6.54746 18.2425C6.94453 18.6395 7.48307 18.8626 8.04462 18.8626C8.60616 18.8626 9.14471 18.6395 9.54178 18.2425C9.93885 17.8454 10.1619 17.3069 10.1619 16.7453Z" fill="#8358F6"/>
44
</g>
5-
<defs>
6-
<clipPath id="clip0_10835_2">
7-
<rect width="24" height="24" fill="white"/>
8-
</clipPath>
9-
</defs>
105
</svg>

ui/src/components/model-select/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ onMounted(() => {
146146
}
147147
}
148148
.model-icon {
149-
width: 20px;
149+
width: 18px;
150150
}
151151
.check-icon {
152152
position: absolute;

ui/src/locales/lang/en-US/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
professional: 'Purchase the Professional Edition',
2727
createDate: 'Create Date',
2828
createTime: 'Create Time',
29-
operation: 'Operation',
29+
operation: 'Action',
3030
character: 'characters',
3131
export: 'Export',
3232
exportSuccess: 'Successful',

ui/src/locales/lang/en-US/dynamics-form.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export default {
22
input_type_list: {
3-
TextInput: 'Text Input',
3+
TextInput: 'Input',
44
Slider: 'Slider',
55
SwitchInput: 'Switch',
66
SingleSelect: 'Single Select',
77
MultiSelect: 'Multi Select',
88
DatePicker: 'Date Picker',
9-
JsonInput: 'JSON Text Input',
9+
JsonInput: 'JSON',
1010
RadioCard: 'Radio Card',
1111
RadioRow: 'Radio Row'
1212
},

ui/src/locales/lang/en-US/views/application-workflow.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
node: 'Node',
3-
baseComponent: 'Base',
3+
baseComponent: 'Basic',
44
nodeSetting: 'Node Settings',
55
workflow: 'Workflow',
66
searchBar: {
@@ -116,9 +116,9 @@ export default {
116116
result: 'Search Result',
117117
directly_return: 'Content of segments that meet direct response criteria',
118118
selectDatasetText: 'Related knowledge displayed here',
119-
searchParam: 'Search Parameters',
119+
searchParam: 'Retrieval Parameters',
120120
searchQuestion: {
121-
label: 'Search Question',
121+
label: 'Question',
122122
placeholder: 'Please select a search question',
123123
requiredMessage: 'Please select a search question'
124124
}
@@ -165,7 +165,7 @@ export default {
165165
},
166166
higher: 'Higher',
167167
ScoreTooltip: 'The higher the Score, the stronger the relevance.',
168-
max_paragraph_char_number: 'Maximum number of words to quote',
168+
max_paragraph_char_number: 'Maximum Character',
169169
reranker_model: {
170170
label: 'Rerank',
171171
placeholder: 'Please select a rerank'

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ export default {
128128
hybridSearch: 'Hybrid Search',
129129
hybridSearchTooltip:
130130
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
131-
similarityThreshold: 'Similarity Threshold',
131+
similarityThreshold: 'Lowest Similarity',
132132
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
133-
topReferences: 'Top N References',
133+
topReferences: 'Top N Segments',
134134
maxCharacters: 'Maximum Characters per Reference',
135135
noReferencesAction: 'When there are no knowledge references',
136136
continueQuestioning: 'Continue to ask questions to the Al model',
@@ -203,9 +203,9 @@ export default {
203203
copyUrl: 'Copy the link and fill it in'
204204
},
205205
hitTest: {
206-
title: 'Retrieval Test',
207-
text: 'Ensure effective response by matching segments to user inquiries.',
208-
emptyMessage1: 'The matching segment is displayed here',
206+
title: 'Retrieval Testing',
207+
text: 'Test the hitting effect of the Knowledge based on the given query text.',
208+
emptyMessage1: 'Retrieval Testing results will show here',
209209
emptyMessage2: 'No matching sections found'
210210
}
211211
}

ui/src/locales/lang/en-US/views/dataset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
},
2828
datasetForm: {
2929
title: {
30-
info: 'Basic Information'
30+
info: 'Knowledge settings'
3131
},
3232
form: {
3333
datasetName: {

ui/src/locales/lang/en-US/views/problem.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
title: 'Questions',
33
createProblem: 'Create Question',
44
detailProblem: 'Question Details',
5-
quickCreateProblem: 'Quick Create Question',
5+
quickCreateProblem: 'Quick Create',
66
quickCreateName: 'question',
77
tip: {
88
placeholder: 'Enter the question, support multiple entries, one per line.',
@@ -12,14 +12,14 @@ export default {
1212
},
1313

1414
setting: {
15-
batchDelete: 'Batch Delete',
15+
batchDelete: 'Bulk Delete',
1616
cancelRelated: 'Cancel Association'
1717
},
1818
searchBar: {
1919
placeholder: 'Search by name'
2020
},
2121
table: {
22-
paragraph_count: 'Associated Segments',
22+
paragraph_count: 'Linked Segments',
2323
updateTime: 'Update Time'
2424
},
2525
delete: {
@@ -28,10 +28,10 @@ export default {
2828
confirmMessage2: 'segments. Please proceed with caution.'
2929
},
3030
relateParagraph: {
31-
title: 'Associate Segments',
32-
selectDocument: 'Select Document',
33-
placeholder: 'Search by document name',
34-
selectParagraph: 'Select Segment',
31+
title: 'Link to Segment',
32+
selectDocument: 'Select a Document',
33+
placeholder: 'Search document by name',
34+
selectParagraph: 'Select Segments',
3535
selectedParagraph: 'Selected Segments',
3636
count: 'Count'
3737
}

ui/src/locales/lang/en-US/views/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
editParam: 'Edit Parameter',
4242
addParam: 'Add Parameter',
4343
paramSetting: 'Model Parameter Settings',
44-
apiParamPassing: 'Parameter'
44+
apiParamPassing: 'Interface Parameters'
4545
},
4646
form: {
4747
templateName: {

ui/src/workflow/nodes/base-node/component/UserInputFieldTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
>
3434
</template>
3535
</el-table-column>
36-
<el-table-column :label="$t('dynamicsForm.paramForm.input_type.label')">
36+
<el-table-column :label="$t('dynamicsForm.paramForm.input_type.label')" width="95">
3737
<template #default="{ row }">
3838
<el-tag type="info" class="info-tag" v-if="row.input_type === 'TextInput'">{{
3939
$t('dynamicsForm.input_type_list.TextInput')

0 commit comments

Comments
 (0)