embeddings
Embeddings
Embeddings
post/embeddings
Request body
Response
Successful Response
Example response
{
"usage": {
"completion_tokens": 34,
"prompt_tokens": 16,
"total_tokens": 50
},
"model": "mistral-small-latest",
"id": "cmpl-e5cc70bb28c444948073e77776eb30ef",
"object": "chat.completion",
"data": [
{
"embedding": [
0.1,
0.2,
0.3
],
"object": "embedding"
}
]
}Changes
Changed in 2 of the 2 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲