Feat: Added toc enhance field to chat and retrieval operator configuration #10436 (#10470)

### What problem does this PR solve?

Feat: Added toc enhance field to chat and retrieval operator
configuration #10436

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-10-10 18:35:43 +08:00
committed by GitHub
parent a50ccf77f9
commit 198e52e990
12 changed files with 33 additions and 4 deletions

View File

@ -0,0 +1,16 @@
import { useTranslation } from 'react-i18next';
import { SwitchFormField } from './switch-fom-field';
type Props = { name: string };
export function TOCEnhanceFormField({ name }: Props) {
const { t } = useTranslation();
return (
<SwitchFormField
name={name}
label={t('chat.tocEnhance')}
tooltip={t('chat.tocEnhanceTip')}
></SwitchFormField>
);
}