mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
Feat: Add translation text to the prompt word of the generate operator to distinguish it from the prompt word of the knowledge base #6934 (#6935)
### What problem does this PR solve? Feat: Add translation text to the prompt word of the generate operator to distinguish it from the prompt word of the knowledge base #6934 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -44,7 +44,7 @@ const GenerateForm = ({ form }: INextOperatorForm) => {
|
||||
name="prompt"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel tooltip={t('knowledgeConfiguration.promptTip')}>
|
||||
<FormLabel tooltip={t('flow.promptTip')}>
|
||||
{t('flow.systemPrompt')}
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
|
||||
@ -27,7 +27,7 @@ const GenerateForm = ({ onValuesChange, form }: IOperatorForm) => {
|
||||
name={['prompt']}
|
||||
label={t('systemPrompt')}
|
||||
initialValue={t('promptText')}
|
||||
tooltip={t('promptTip', { keyPrefix: 'knowledgeConfiguration' })}
|
||||
tooltip={t('promptTip')}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
|
||||
Reference in New Issue
Block a user