Skip to main content

Embeddings

Get vector representations of inputs for models and algorithms that consume embeddings. Guide: Embeddings

Embedding object

Represents one embedding returned by the API. index / integer
Index of this embedding in the list.
embedding / array
The vector (list of floats). Length depends on the model—see the embeddings guide.
object / string
Always embedding.