mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: add LLMSelect (#1270)
### What problem does this PR solve? feat: add LLMSelect #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
23
web/src/components/llm-select/index.tsx
Normal file
23
web/src/components/llm-select/index.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import { Popover, Select } from 'antd';
|
||||
import LlmSettingItems from '../llm-setting-items';
|
||||
|
||||
const LLMSelect = () => {
|
||||
const content = (
|
||||
<div>
|
||||
<LlmSettingItems handleParametersChange={() => {}}></LlmSettingItems>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<Popover content={content} trigger="click" placement="left" arrow={false}>
|
||||
{/* <Button>Click me</Button> */}
|
||||
<Select
|
||||
defaultValue="lucy"
|
||||
style={{ width: '100%' }}
|
||||
dropdownStyle={{ display: 'none' }}
|
||||
/>
|
||||
</Popover>
|
||||
);
|
||||
};
|
||||
|
||||
export default LLMSelect;
|
||||
Reference in New Issue
Block a user