embeddings
Embeddings
Changed onEmbeddings
post/v1/embeddings
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "mistral-embed"
}Response
Successful Response
Example response
{
"id": "cmpl-e5cc70bb28c444948073e77776eb30ef",
"object": "chat.completion",
"model": "mistral-small-latest",
"data": [
{
"object": "embedding",
"embedding": [
0.1,
0.2,
0.3
],
"index": 0
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning