text-embedding-ada-002
Model Overview
An efficient and reliable embedding model designed to convert text into numerical representations. It serves as a foundational tool for various natural language processing (NLP) applications, enabling machines to understand and process human language more effectively.
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:
floatPossible values: dimensionsnumber | nullableOptional
Responses
201Success
No content
post
/v1/embeddingsPOST /v1/embeddings HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"model": "text-embedding-ada-002",
"input": "text",
"encoding_format": "float",
"dimensions": 1
}201Success
No content
Last updated