mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-03 06:17:29 +08:00
Feat: Remove "page index" and "use kg" from chat and retrieval form. (#17627)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { SwitchFormField } from './switch-fom-field';
|
||||
|
||||
interface UseKnowledgeGraphFormFieldProps {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export function UseKnowledgeGraphFormField({
|
||||
name,
|
||||
}: UseKnowledgeGraphFormFieldProps) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<SwitchFormField
|
||||
name={name}
|
||||
label={t('chat.useKnowledgeGraph')}
|
||||
tooltip={t('chat.useKnowledgeGraphTip')}
|
||||
></SwitchFormField>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user