text-embedding-3-small

This documentation is valid for the following list of our models:

  • text-embedding-3-small

Model Overview

An efficient and compact embedding model designed to enhance performance over its predecessor, text-embedding-ada-002. It transforms text into numerical representations that can be easily processed by machine learning models.

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
AuthorizationstringRequired

Bearer key

Body
modelundefined · enumRequiredPossible values:
inputany ofRequired

Input text to embed, encoded as a string or array of tokens.

string · min: 1Optional
or
string[] · min: 1Optional
encoding_formatstring · enum | nullableOptional

The format in which to return the embeddings.

Default: floatPossible values:
dimensionsnumber | nullableOptional

The number of dimensions the resulting output embeddings should have.

Responses
post
/v1/embeddings
201Success

No content

Last updated

Was this helpful?