Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Embeddings response containing embedding vectors

Fields

FieldTypeRequiredDescriptionExample
dataList[operations.CreateEmbeddingsData]:heavy_check_mark:List of embedding objects[
{"embedding": [0.0023064255,-0.009327292,0.015797347],"index": 0,"object": "embedding"}
]
idOptional[str]:heavy_minus_sign:Unique identifier for the embeddings responseembd-1234567890
modelstr:heavy_check_mark:The model used for embeddingsopenai/text-embedding-3-small
objectoperations.Object:heavy_check_mark:N/A
usageOptional[operations.CreateEmbeddingsUsage]:heavy_minus_sign:Token usage statistics{"prompt_tokens": 8,"total_tokens": 8}