Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | List[operations.CreateEmbeddingsData] | :heavy_check_mark: | List of embedding objects | [ { “embedding”: [ 0.0023064255, -0.009327292, 0.015797347 ], “index”: 0, “object”: “embedding” } ] |
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 | :heavy_check_mark: | N/A | |
usage | Optional[operations.CreateEmbeddingsUsage] | :heavy_minus_sign: | Token usage statistics | { “prompt_tokens”: 8, “total_tokens”: 8 } |