Openai Embeddings
Embeddings
Openai Embeddings
POST
Openai Embeddings
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
model name
Example:
"thenlper/gte-large"
sequences to embed
Maximum string length:
1024Example:
["I like chocolate"]The service tier used for processing the request. When set to 'priority', the request will be processed with higher priority (only applies to models that support it).
Available options:
default, priority format used when encoding
Available options:
float, base64 The number of dimensions in the embedding. If not provided, the model's default will be used.If provided bigger than model's default, the embedding will be padded with zeros.
Required range:
x >= 32Example:
1536
Response
Successful Response