重排序
嵌入 & 重排序
重排序
对搜索结果进行语义重排序
POST
重排序
Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
接口说明
对一组文档按照与查询的语义相关性进行重新排序,常用于 RAG 检索增强生成的第二阶段精排。参考 SiliconFlow Rerank API 格式实现。
支持模型
| 模型 | 说明 |
|---|---|
gte-rerank-v2 | 多语言重排序模型,推荐 |
gte-rerank-v2 | 英文为主 |
请求参数
重排序模型名称,如
gte-rerank-v2查询文本
待排序的文档列表
返回前 N 个结果,默认返回全部
是否在响应中返回文档原文