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 Apilaplas API yet, feel free to use our Quickstart guide.
Submit a request
API Schema
post
Authorizations
Body
modelundefined · enumRequiredPossible values:
inputany ofRequired
string · min: 1Optional
string[] · min: 1Optional
encoding_formatstring · enum | nullableOptionalDefault:
float
Possible values: dimensionsnumber | nullableOptional
Responses
201Success
post
POST /v1/embeddings HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer <YOUR_LAPLASAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"model": "text-embedding-3-small",
"input": "text",
"encoding_format": "float",
"dimensions": 1
}
201Success
No content
Last updated