bge reranker base
unofficialrerank
bge reranker base specifications
| Context window | — |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Text |
bge reranker base pricing in rubles
You pay for what you use, per token and per unit. The final request cost is returned in the API response.
| Type | Price |
|---|---|
| Input tokens | 0,39 ₽ per 1M tokens |
Prices are in rubles and may change with exchange rates.
What bge reranker base can do
- Streaming responses
bge reranker base API: connection and code examples
The service exposes a single OpenAI-compatible API. Set our base_url and the key from your dashboard.
cURL
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}'API endpoints
POST /v1/rerankprimary | Rerank Ponowne rangowanie dokumentów według ich trafności względem zapytania. |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
top_n | — | — | Ile najlepszych dokumentów zwrócić po ponownym rankingowaniu. |
return_documents | true | — | Czy zwracać teksty dokumentów wraz z ocenami trafności. |