Embeddings
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Input text to embed, encoded as a string or a list of strings. To embed multiple inputs in a single request, pass a list of strings. The input must not exceed the max input tokens for the model, cannot be an empty string.
"The quick brown fox jumped over the lazy dog"
The name of the model used to generate the embedding.
"nugen-embed-legal"
(Applicable for only Resizable Matryoshka Embedding models) The number of dimensions the resulting output embeddings should have.
"None"
Response
A unique identifier of the response.
The list of embeddings generated by the model.
The name of the model used to generate the embedding.
The Unix time in seconds when the response was generated.
The usage information for the request.
Was this page helpful?