Feat: Translate the system prompt of the generate operator #3993 (#4283)

### What problem does this PR solve?

 Feat: Translate the system prompt of the generate operator #3993

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-30 12:07:06 +08:00
committed by GitHub
parent 8feb4c1a99
commit 713b837276
4 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const GenerateForm = ({ onValuesChange, form, node }: IOperatorForm) => {
</Form.Item>
<Form.Item
name={['prompt']}
label="System"
label={t('systemPrompt')}
initialValue={t('promptText')}
tooltip={t('promptTip', { keyPrefix: 'knowledgeConfiguration' })}
rules={[