fix: optimize

This commit is contained in:
wangdan-fit2cloud 2025-02-07 16:45:33 +08:00
parent 4f9cc96eb6
commit 950f4a7ec6
6 changed files with 11 additions and 11 deletions

View File

@ -146,7 +146,7 @@ onMounted(() => {
} }
} }
.model-icon { .model-icon {
width: 20px; width: 18px;
} }
.check-icon { .check-icon {
position: absolute; position: absolute;

View File

@ -1,12 +1,12 @@
export default { export default {
input_type_list: { input_type_list: {
TextInput: 'Text Input', TextInput: 'Input',
Slider: 'Slider', Slider: 'Slider',
SwitchInput: 'Switch', SwitchInput: 'Switch',
SingleSelect: 'Single Select', SingleSelect: 'Single Select',
MultiSelect: 'Multi Select', MultiSelect: 'Multi Select',
DatePicker: 'Date Picker', DatePicker: 'Date Picker',
JsonInput: 'JSON Text Input', JsonInput: 'JSON',
RadioCard: 'Radio Card', RadioCard: 'Radio Card',
RadioRow: 'Radio Row' RadioRow: 'Radio Row'
}, },

View File

@ -1,6 +1,6 @@
export default { export default {
node: 'Node', node: 'Node',
baseComponent: 'Base', baseComponent: 'Basic',
nodeSetting: 'Node Settings', nodeSetting: 'Node Settings',
workflow: 'Workflow', workflow: 'Workflow',
searchBar: { searchBar: {
@ -116,9 +116,9 @@ export default {
result: 'Search Result', result: 'Search Result',
directly_return: 'Content of segments that meet direct response criteria', directly_return: 'Content of segments that meet direct response criteria',
selectDatasetText: 'Associated knowledge displayed here', selectDatasetText: 'Associated knowledge displayed here',
searchParam: 'Search Parameters', searchParam: 'Retrieval Parameters',
searchQuestion: { searchQuestion: {
label: 'Search Question', label: 'Question',
placeholder: 'Please select a search question', placeholder: 'Please select a search question',
requiredMessage: 'Please select a search question' requiredMessage: 'Please select a search question'
} }
@ -165,7 +165,7 @@ export default {
}, },
higher: 'Higher', higher: 'Higher',
ScoreTooltip: 'The higher the Score, the stronger the relevance.', ScoreTooltip: 'The higher the Score, the stronger the relevance.',
max_paragraph_char_number: 'Maximum number of words to quote', max_paragraph_char_number: 'Maximum Character',
reranker_model: { reranker_model: {
label: 'Rerank', label: 'Rerank',
placeholder: 'Please select a rerank' placeholder: 'Please select a rerank'

View File

@ -128,9 +128,9 @@ export default {
hybridSearch: 'Hybrid Search', hybridSearch: 'Hybrid Search',
hybridSearchTooltip: hybridSearchTooltip:
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.', 'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
similarityThreshold: 'Similarity Threshold', similarityThreshold: 'Lowest Similarity',
similarityTooltip: 'The higher the similarity, the stronger the correlation.', similarityTooltip: 'The higher the similarity, the stronger the correlation.',
topReferences: 'Top N References', topReferences: 'Top N Segments',
maxCharacters: 'Maximum Characters per Reference', maxCharacters: 'Maximum Characters per Reference',
noReferencesAction: 'When there are no knowledge references', noReferencesAction: 'When there are no knowledge references',
continueQuestioning: 'Continue to ask questions to the Al model', continueQuestioning: 'Continue to ask questions to the Al model',

View File

@ -41,7 +41,7 @@ export default {
editParam: 'Edit Parameter', editParam: 'Edit Parameter',
addParam: 'Add Parameter', addParam: 'Add Parameter',
paramSetting: 'Model Parameter Settings', paramSetting: 'Model Parameter Settings',
apiParamPassing: 'Parameter' apiParamPassing: 'Interface Parameters'
}, },
form: { form: {
templateName: { templateName: {

View File

@ -33,7 +33,7 @@
> >
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('dynamicsForm.paramForm.input_type.label')"> <el-table-column :label="$t('dynamicsForm.paramForm.input_type.label')" width="95">
<template #default="{ row }"> <template #default="{ row }">
<el-tag type="info" class="info-tag" v-if="row.input_type === 'TextInput'">{{ <el-tag type="info" class="info-tag" v-if="row.input_type === 'TextInput'">{{
$t('dynamicsForm.input_type_list.TextInput') $t('dynamicsForm.input_type_list.TextInput')