Embeddings
Openai Embeddings
Changed onpost/v1/embeddings
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/v1/embeddings
- Auth: HTTP bearer
Headers
x-deepinfra-sourcestring nullable
user-agentstring nullable
x-deepinfra-service-tierstring nullable
Per-request service tier (priority or flex) for clients that cannot set the service_tier body field. The body field wins when both are present; unrecognized values ride the default tier.
xi-api-keystring nullable
x-api-keystring nullable
Request body
Example request
{
"model": "thenlper/gte-large",
"dimensions": 1536
}Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info
added
audio_urlinput_audiovideo_urldiscriminator mapping keys to the////request property - info
added to the
////request propertyoneOflist
- info
- info
added the new optional
headerrequest parameterx-deepinfra-service-tier
- info