fix: 修复翻译问题

fix: 修复翻译问题
This commit is contained in:
wangdan-fit2cloud 2024-05-24 14:38:31 +08:00 committed by GitHub
commit efe37083d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,7 @@ export default {
label: '提示词',
placeholder: '请输入提示词',
tooltip:
'通过调整提示词内容,可以引导大模型聊天方向,该提示词会被固定在上下文的开头。可以使用变量:{data} 是携带知识库中已知信息;{question}是用户提出的问题。'
'通过调整提示词内容,可以引导大模型聊天方向,该提示词会被固定在上下文的开头。可以使用变量:{data} 是携带知识库中已知信息;{question} 是用户提出的问题。'
},
multipleRoundsDialogue: '多轮对话',
relatedKnowledgeBase: '关联知识库',

View File

@ -145,7 +145,10 @@
</div>
<el-tooltip effect="dark" placement="right">
<template #content>{{
$t('views.application.applicationForm.form.prompt.tooltip')
$t('views.application.applicationForm.form.prompt.tooltip', {
data: '{data}',
question: '{question}'
})
}}</template>
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
</el-tooltip>