mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-21 13:32:49 +08:00
### What problem does this PR solve? Feat: Add data set configuration form #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
19
web/src/components/page-rank-form-field.tsx
Normal file
19
web/src/components/page-rank-form-field.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import { useTranslate } from '@/hooks/common-hooks';
|
||||
import { SliderInputFormField } from './slider-input-form-field';
|
||||
|
||||
export function PageRankFormField() {
|
||||
const { t } = useTranslate('knowledgeConfiguration');
|
||||
|
||||
return (
|
||||
<SliderInputFormField
|
||||
name={'pagerank'}
|
||||
label={t('pageRank')}
|
||||
tooltip={t('pageRankTip')}
|
||||
defaultValue={0}
|
||||
max={100}
|
||||
min={1}
|
||||
></SliderInputFormField>
|
||||
);
|
||||
}
|
||||
|
||||
export default PageRankFormField;
|
||||
Reference in New Issue
Block a user