{
"model": "text-embedding-ada-002",
"input": "string",
"encoding_format": "float",
"dimensions": 0
}curl --location -g --request POST 'http://api.example.com/v1/engines//embeddings' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "text-embedding-ada-002",
"input": "string",
"encoding_format": "float",
"dimensions": 0
}'{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0
]
}
],
"model": "string",
"usage": {
"prompt_tokens": 0,
"total_tokens": 0
}
}