### 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)
19 lines
461 B
TypeScript
19 lines
461 B
TypeScript
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;
|