chore: hide rerank tab
This commit is contained in:
@@ -72,6 +72,7 @@ const InputList: React.FC<InputListProps> = ({ textList, onChange }) => {
|
|||||||
<RowTextarea
|
<RowTextarea
|
||||||
label={`${index + 1}.`}
|
label={`${index + 1}.`}
|
||||||
value={text.text}
|
value={text.text}
|
||||||
|
placeholder="Input your text"
|
||||||
onChange={(e) => handleTextChange(e.target.value, text)}
|
onChange={(e) => handleTextChange(e.target.value, text)}
|
||||||
></RowTextarea>
|
></RowTextarea>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
import IconFont from '@/components/icon-font';
|
import IconFont from '@/components/icon-font';
|
||||||
import HotKeys from '@/config/hotkeys';
|
import HotKeys from '@/config/hotkeys';
|
||||||
import {
|
import { MessageOutlined, OneToOneOutlined } from '@ant-design/icons';
|
||||||
FileSearchOutlined,
|
|
||||||
MessageOutlined,
|
|
||||||
OneToOneOutlined
|
|
||||||
} from '@ant-design/icons';
|
|
||||||
import { PageContainer } from '@ant-design/pro-components';
|
import { PageContainer } from '@ant-design/pro-components';
|
||||||
import { useIntl } from '@umijs/max';
|
import { useIntl } from '@umijs/max';
|
||||||
import { Button, Segmented, Space, Tabs, TabsProps } from 'antd';
|
import { Button, Segmented, Space, Tabs, TabsProps } from 'antd';
|
||||||
@@ -38,12 +34,12 @@ const Playground: React.FC = () => {
|
|||||||
label: intl.formatMessage({ id: 'menu.compare' }),
|
label: intl.formatMessage({ id: 'menu.compare' }),
|
||||||
value: 'compare',
|
value: 'compare',
|
||||||
icon: <OneToOneOutlined />
|
icon: <OneToOneOutlined />
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Rerank',
|
|
||||||
value: 'reranker',
|
|
||||||
icon: <FileSearchOutlined />
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// label: 'Rerank',
|
||||||
|
// value: 'reranker',
|
||||||
|
// icon: <FileSearchOutlined />
|
||||||
|
// }
|
||||||
];
|
];
|
||||||
|
|
||||||
const handleViewCode = useCallback(() => {
|
const handleViewCode = useCallback(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user