bge small en v1.5
unofficialembedding
bge small en v1.5 specifications
| Context window | 512 |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Vector |
bge small en v1.5 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 | 2,6 ₽ per 1M tokens |
Prices are in rubles and may change with exchange rates.
What bge small en v1.5 can do
- Streaming responses
bge small en v1.5 API: connection and code examples
The service exposes a single OpenAI-compatible API. Set our base_url and the key from your dashboard.
OpenAI Python SDK
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.neuralbridge.ru/v1")
result = client.embeddings.create(model="baai/bge-small-en-v1.5-08130", input="Текст для векторизации")
print(len(result.data[0].embedding))cURL
curl https://api.neuralbridge.ru/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "baai/bge-small-en-v1.5-08130", "input": "Текст для векторизации"}'API endpoints
POST /v1/embeddingsprimary | Embeddings Arama, kümeleme ve benzerlik değerlendirmesi için metnin vektör temsili. |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
dimensions | — | — | Embedding vektörünün boyutu: daha kısa vektör — daha az yer ve daha hızlı arama, ancak benzerlik daha kaba. |
encoding_format | float | — | Vektörü nasıl döndürmek: sayı dizisi ya da base64 dizesi. |