Generate embeddings for content pieces using the specified model.
POST/v1/inference/embeddings
Generate embeddings for content pieces using the specified model.
Request​
Responses​
- 200
- 400
- 429
- 500
- default
An array of embeddings, one for each content. Each embedding is a list of floats. The dimensionality of the embedding is model-specific; you can check model metadata using /models/{model_id}.
The request was invalid or malformed
The client has sent too many requests in a given amount of time
The server encountered an unexpected error
An unexpected error occurred