Example Usage
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | operations.CreateEmbeddingsData[] | :heavy_check_mark: | List of embedding objects | [{"embedding": [0.0023064255,-0.009327292,0.015797347],"index": 0,"object": "embedding"}] |
id | string | :heavy_minus_sign: | Unique identifier for the embeddings response | embd-1234567890 |
model | string | :heavy_check_mark: | The model used for embeddings | openai/text-embedding-3-small |
object | operations.ObjectT | :heavy_check_mark: | N/A | |
usage | operations.CreateEmbeddingsUsage | :heavy_minus_sign: | Token usage statistics | {"prompt_tokens": 8,"total_tokens": 8} |