Authorizations
SambaNova API Key
Body
application/json
Texts to embed and parameters
Response
Successful response
Embeddings response returned by the model
The object type, which is always "list".
Available options:
list
The name of the model used to generate the embedding.
Usage metrics for the completion, embeddings,transcription or translation request
Examples:
{
"acceptance_rate": 4.058139324188232,
"completion_tokens": 350,
"completion_tokens_after_first_per_sec": 248.09314856382406,
"completion_tokens_after_first_per_sec_first_ten": 249.67922929952655,
"completion_tokens_after_first_per_sec_graph": 452.5030493415834,
"completion_tokens_per_sec": 238.91966176995348,
"end_time": 1737583289.7345645,
"is_last_response": true,
"prompt_tokens_details": { "cached_tokens": 0 },
"prompt_tokens": 43,
"start_time": 1737583288.264706,
"time_to_first_token": 0.06312894821166992,
"total_latency": 1.4649275719174653,
"total_tokens": 393,
"total_tokens_per_sec": 268.27264878740493
}
{ "prompt_tokens": 43, "total_tokens": 393 }
The list of embeddings generated by the model.