Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.Represents an embedding vector returned by the embedding endpoint.| Parameter | Type | Description |
|---|
| index | integer | The index of the embedding in the list of embeddings |
| embedding | array | The embedding vector, which is a list of floats. The length of the vector depends on the model as listed in the Embeddings guide |
| object | string | The object type, always embedding |
{
"object": "embedding",
"embedding": [
0.0023064255,
-0.009327292,
.... (1536 floats total for ada-002)
-0.0028842222
],
"index": 0
}
Modified at 2026-01-20 12:22:13