| title | BatchObjectData |
|---|
A single embedding object
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
document_index |
Optional[int] | ➖ | Index of the source document when input was a list of documents (contextual embeddings). Absent otherwise. |
0 |
embedding |
components.Embedding | ✔️ | Embedding vector as an array of floats or a base64 string | [ 0.0023064255, -0.009327292, 0.015797347 ] |
index |
Optional[int] | ➖ | Index of the embedding in the input list | 0 |
object |
components.ObjectEmbedding | ✔️ | N/A |