Embeddings
A request object for generating embeddings. This object contains suggested parameters to generate an embedding from the specified model; however, you may include other parameters as required. Note that not all providers support the same set of parameters. Adding unsupported or unnecessary parameters can cause requests to fail or limit the providers able to process them.
The model to use for the embedding.
mistral-embedA single input to embed.
Please embed this sentence.A list of inputs to embed.
["First sentence to embed.","Second sentence to embed."]The provider preference for handling the request.
balancedPossible values: The providers that are allowed to be used for the embedding.
["mistral","scaleway"]Whether to consider only providers based and regulated withing the EU. Even when false, all our endpoints are GDPR compliant.
falseExample: falseWhether to allow quantized endpoints.
trueExample: trueThe encoding to use for the output.
floatExample: floatPossible values: An embedding.
The unique identifier for the completion
cmpl_1234567890The type of object returned
listThe timestamp when the completion was created
1715155200The provider that generated the completion
mistralThe model that generated the embedding
mistral-embedInternal server error.
Last updated