NeuralBridge
Sign in Download IDE
BAAI

bge reranker base

re-ranking

BAAI BGE-reranker-base re-ranking model for assessing document relevance to a query.

Specifications

Context window
—
Max tokens in response
—
Vendor
BAAI
Release
—
Login
text
Output
text

Capabilities

streaming

Parameters

top_n
How many best-matching documents to return after reranking.
return_documentsdefault: true
Whether to return document texts together with relevance scores.

Endpoints

POSThttps://api.neuralbridge.ru/v1/rerankprimary
Rerank — Re-rank documents by relevance to a query.

Code examples

bash
curl https://api.neuralbridge.ru/v1/rerank \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "baai/bge-reranker-base-08130", "query": "как настроить кэш", "documents": ["текст 1", "текст 2"], "top_n": 2}'
For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Login / 1M tokens0,39 ₽
Output / 1M tokens0,00 ₽
The request cost in rubles — in the response, field usage.cost
Identifier
baai/bge-reranker-base-08130
Get API key