feat: support Self-RAG #1069 (#1079)

### What problem does this PR solve?

feat: support Self-RAG #1069
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-06-06 15:30:51 +08:00
committed by GitHub
parent db35e9df4f
commit 1552dca28d
4 changed files with 15 additions and 0 deletions

View File

@ -90,6 +90,15 @@ const AssistantSetting = ({ show }: ISegmentedContentProps) => {
>
<Switch />
</Form.Item>
<Form.Item
label={t('selfRag')}
valuePropName="checked"
name={['prompt_config', 'self_rag']}
tooltip={t('selfRagTip')}
initialValue={true}
>
<Switch />
</Form.Item>
<KnowledgeBaseItem></KnowledgeBaseItem>
</section>
);