mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: add llm Select to KeywordExtractForm #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -5,14 +5,18 @@ type FieldType = {
|
||||
top_n?: number;
|
||||
};
|
||||
|
||||
const TopNItem = () => {
|
||||
interface IProps {
|
||||
initialValue?: number;
|
||||
}
|
||||
|
||||
const TopNItem = ({ initialValue = 8 }: IProps) => {
|
||||
const { t } = useTranslate('chat');
|
||||
|
||||
return (
|
||||
<Form.Item<FieldType>
|
||||
label={t('topN')}
|
||||
name={'top_n'}
|
||||
initialValue={8}
|
||||
initialValue={initialValue}
|
||||
tooltip={t('topNTip')}
|
||||
>
|
||||
<Slider max={30} />
|
||||
|
||||
Reference in New Issue
Block a user