feat: support xinference rerank model (#1466)

### What problem does this PR solve?

support xinference rerank model
#1455 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
zhuhao
2024-07-11 18:37:41 +08:00
committed by GitHub
parent 9c023b6d8c
commit 009e18f094
4 changed files with 23 additions and 3 deletions

View File

@ -74,6 +74,7 @@ const OllamaModal = ({
<Select placeholder={t('modelTypeMessage')}>
<Option value="chat">chat</Option>
<Option value="embedding">embedding</Option>
<Option value="rerank">rerank</Option>
</Select>
</Form.Item>
<Form.Item<FieldType>