text-embedding-3-large
Model Overview
A next-generation embedding model that offers superior performance and flexibility. It converts text into high-dimensional numerical representations that are highly effective for various machine learning tasks.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
Submit a request
API Schema
post
Authorizations
Body
modelundefined · enumRequiredPossible values:
inputany ofRequired
Input text to embed, encoded as a string or array of tokens.
string · min: 1Optional
string[] · min: 1Optional
encoding_formatstring · enum | nullableOptionalDefault:
The format in which to return the embeddings.
float
Possible values: dimensionsnumber | nullableOptional
The number of dimensions the resulting output embeddings should have.
Responses
201Success
post
POST /v1/embeddings HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"model": "text-embedding-3-large",
"input": "text",
"encoding_format": "float",
"dimensions": 1
}
201Success
No content
Last updated
Was this helpful?