Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
current project ID
Body
ID of the model to use.
"BAAI/bge-en-icl"
Input text to embed, encoded as a string or array of tokens.
"What's a nice vector, Victor?"
The format to return the embeddings in. Can be either float or base64.
A unique identifier representing your end-user.
The service tier to use for the request. Represents the service tier for requests.
Attributes: Auto: Automatically choose the best available tier for the request (Default or OverLimit). Analyze response to determine which tier was used. Default: Return 429 errors on hitting the rate limit, do not exceed to the OverLimit tier. OverLimit: Indicate that the request was over the user limit. This tier cannot be set by user in the request, but us used in a response for tier=Auto. Flex: Do not consume rate-limit credits, but run with lower priority. May still result in 429 errors in case of if there is no resources to process.
auto, default, over-limit, flex "auto"
"flex"
Response
OK
always 'list'.
The model used for the embedding.
Token usage stats.
List of Embedding objects
The service tier used for the request. Represents the service tier for requests.
Attributes: Auto: Automatically choose the best available tier for the request (Default or OverLimit). Analyze response to determine which tier was used. Default: Return 429 errors on hitting the rate limit, do not exceed to the OverLimit tier. OverLimit: Indicate that the request was over the user limit. This tier cannot be set by user in the request, but us used in a response for tier=Auto. Flex: Do not consume rate-limit credits, but run with lower priority. May still result in 429 errors in case of if there is no resources to process.
auto, default, over-limit, flex