mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-29 20:05:25 +08:00
docs: remove rerank provider list from model configuration docs
This commit is contained in:
@@ -55,32 +55,3 @@ Enter `Model Name` and select `Model Provider`, then submit. After that, select
|
||||
<Tip>
|
||||
Rerank models are optional. Without one, knowledge base results are used in their original retrieval order. With a rerank model configured, results are re-scored and only the top-K most relevant results are kept.
|
||||
</Tip>
|
||||
|
||||
**Supported providers and models:**
|
||||
|
||||
| Provider | Recommended Models | Notes |
|
||||
| --- | --- | --- |
|
||||
| [SiliconFlow](https://siliconflow.cn/) | `BAAI/bge-reranker-v2-m3`, `Qwen/Qwen3-Reranker-8B` | Recommended for China |
|
||||
| [Jina](https://jina.ai/) | `jina-reranker-v2-base-multilingual` | Multilingual |
|
||||
| [Cohere](https://cohere.com/) | `rerank-v3.5` | Industry leading |
|
||||
| [Voyage AI](https://voyageai.com/) | `rerank-2.5` | |
|
||||
| [GiteeAI](https://ai.gitee.com/) | `bge-reranker-v2-m3`, `Qwen3-Reranker-8B` | |
|
||||
| [Aliyun Bailian](https://bailian.console.aliyun.com/) | `qwen3-rerank`, `gte-rerank` | Requires extra args, see below |
|
||||
| [OpenRouter](https://openrouter.ai/) | `cohere/rerank-v3.5`, `cohere/rerank-4-pro` | Universal gateway |
|
||||
| [302.AI](https://share.302.ai/SuTG99) | `jina-reranker-m0`, `qwen3-rerank` | |
|
||||
| OpenAI Compatible | Any service supporting `/rerank` | Universal |
|
||||
|
||||
### Using Rerank Models with Aliyun Bailian
|
||||
|
||||
Aliyun Bailian's rerank API endpoint path differs from its LLM endpoint. You need to specify `rerank_url` in the model's **extra arguments**:
|
||||
|
||||
1. When adding a model, select the `Aliyun Bailian` provider
|
||||
2. Enter the model name (e.g., `qwen3-rerank`)
|
||||
3. Add an extra argument:
|
||||
- Key: `rerank_url`
|
||||
- Type: `string`
|
||||
- Value: `https://dashscope.aliyuncs.com/compatible-api/v1/reranks`
|
||||
|
||||
<Warning>
|
||||
Other providers (SiliconFlow, Jina, Cohere, etc.) do not require extra arguments — they use the standard `/rerank` endpoint.
|
||||
</Warning>
|
||||
|
||||
@@ -71,32 +71,3 @@ LangBot Models 是 LangBot 官方提供的模型服务。当您使用 LangBot Sp
|
||||
<Tip>
|
||||
重排序模型是可选的。不配置时,知识库检索结果将按向量相似度排序直接使用。配置后,检索结果会经过重排序模型重新打分,只保留最相关的 Top-K 条结果。
|
||||
</Tip>
|
||||
|
||||
**支持的供应商和模型:**
|
||||
|
||||
| 供应商 | 推荐模型 | 备注 |
|
||||
| --- | --- | --- |
|
||||
| [SiliconFlow](https://siliconflow.cn/) | `BAAI/bge-reranker-v2-m3`, `Qwen/Qwen3-Reranker-8B` | 国内推荐 |
|
||||
| [Jina](https://jina.ai/) | `jina-reranker-v2-base-multilingual` | 多语言支持 |
|
||||
| [Cohere](https://cohere.com/) | `rerank-v3.5` | 全球领先 |
|
||||
| [Voyage AI](https://voyageai.com/) | `rerank-2.5` | |
|
||||
| [GiteeAI](https://ai.gitee.com/) | `bge-reranker-v2-m3`, `Qwen3-Reranker-8B` | |
|
||||
| [阿里云百炼](https://bailian.console.aliyun.com/) | `qwen3-rerank`, `gte-rerank` | 需要额外参数,见下方 |
|
||||
| [OpenRouter](https://openrouter.ai/) | `cohere/rerank-v3.5`, `cohere/rerank-4-pro` | 通用网关 |
|
||||
| [302.AI](https://share.302.ai/SuTG99) | `jina-reranker-m0`, `qwen3-rerank` | |
|
||||
| OpenAI 兼容 | 任意支持 `/rerank` 的服务 | 通用 |
|
||||
|
||||
### 阿里云百炼使用重排序模型
|
||||
|
||||
阿里云百炼的重排序 API 端点路径与其 LLM 端点不同,需要在模型的**额外参数**中指定 `rerank_url`:
|
||||
|
||||
1. 添加模型时,选择 `阿里云百炼` 供应商
|
||||
2. 填入模型名称(如 `qwen3-rerank`)
|
||||
3. 在额外参数中添加一个参数:
|
||||
- Key: `rerank_url`
|
||||
- Type: `string`
|
||||
- Value: `https://dashscope.aliyuncs.com/compatible-api/v1/reranks`
|
||||
|
||||
<Warning>
|
||||
其他供应商(SiliconFlow、Jina、Cohere 等)无需填写额外参数,使用标准的 `/rerank` 端点即可。
|
||||
</Warning>
|
||||
|
||||
Reference in New Issue
Block a user