import { Form, Input, Select } from 'antd'; import classNames from 'classnames'; import { ISegmentedContentProps } from './interface'; import { useFetchKnowledgeList } from '@/hooks/knowledgeHook'; import styles from './index.less'; const { Option } = Select; const AssistantSetting = ({ show }: ISegmentedContentProps) => { const knowledgeList = useFetchKnowledgeList(); const knowledgeOptions = knowledgeList.map((x) => ({ label: x.name, value: x.id, })); return (
); }; export default AssistantSetting;