bge base en v1.5
unofficialembedding
bge base en v1.5 specifications
| Context window | 154K |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Vector |
bge base 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 | 8,71 ₽ per 1M tokens |
Prices are in rubles and may change with exchange rates.
What bge base en v1.5 can do
- Streaming responses
bge base 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-base-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-base-en-v1.5-08130", "input": "Текст для векторизации"}'API endpoints
POST /v1/embeddingsprimary | Embeddings Տեքստի վեկտորային ներկայացում որոնման, կլաստերացման և հարևանության գնահատման համար։ |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
dimensions | — | — | Embedding վեկտորի չափսը՝ կարճ վեկտոր՝ ավելի քիչ տեղ և ավելի արագ որոնում, բայց ավելի կոշտ համընկնում. |
encoding_format | float | — | Ինչպե՞ս վերադարձնել վեկտորը՝ թվերի զանգվածով կամ base64 տողով: |