本文档由 数眼智能 提供,专注于人工智能行业的API服务商! 扫码入群即可领取免费额度!
curl --location --request POST 'https://api.shuyanai.com/v1/rerank' \
--header 'Accept: application/json' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "BAAI/bge-reranker-v2-m3",
"query": "Apple",
"documents": [
"apple",
"banana",
"fruit",
"vegetable"
]
}'{
"id": "string",
"results": [
{
"index": 0,
"relevance_score": 0,
"document": {}
}
],
"meta": {}
}