text-multilingual-embedding-002
Model Overview
A state-of-the-art model designed to convert textual data into numerical vector representations, capturing the semantic meaning and context of the input text. It is particularly focused on supporting multiple languages, making it suitable for global applications.
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
dimensionsnumber | nullableOptional
auto_truncatebooleanOptionalDefault:
true
task_typestring · enumOptionalPossible values:
titlestringOptional
encoding_formatstringOptional
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: 164
{
"model": "text-multilingual-embedding-002",
"input": "text",
"dimensions": 1,
"auto_truncate": true,
"task_type": "RETRIEVAL_QUERY",
"title": "text",
"encoding_format": "text"
}
201Success
No content
Last updated