Files
ragflow/web/src/components/toc-enhance-form-field.tsx
balibabu 198e52e990 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)
2025-10-10 18:35:43 +08:00

17 lines
381 B
TypeScript

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>
);
}