mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
16 lines
3.6 KiB
Plaintext
16 lines
3.6 KiB
Plaintext
---
|
|
title: "CreateEmbeddingsResponseBody"
|
|
---
|
|
|
|
Embeddings response containing embedding vectors
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
| `data` | List[[operations.CreateEmbeddingsData](../operations/createembeddingsdata.mdx)] | :heavy_check_mark: | List of embedding objects | [<br/>\{<br/>"embedding": [<br/>0.0023064255,<br/>-0.009327292,<br/>0.015797347<br/>],<br/>"index": 0,<br/>"object": "embedding"<br/>}<br/>] |
|
|
| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for the embeddings response | embd-1234567890 |
|
|
| `model` | *str* | :heavy_check_mark: | The model used for embeddings | openai/text-embedding-3-small |
|
|
| `object` | [operations.Object](../operations/object.mdx) | :heavy_check_mark: | N/A | |
|
|
| `usage` | [Optional[operations.CreateEmbeddingsUsage]](../operations/createembeddingsusage.mdx) | :heavy_minus_sign: | Token usage statistics | \{<br/>"prompt_tokens": 8,<br/>"total_tokens": 8<br/>} | |