- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/api/v2/embeddings
This endpoint can be used to convert text chunks into embeddings.
It is a simple proxy forwarding your requests to the desired model.
Any LightOn embedding model is compatible with the OpenAI request format.
Body parameters
LightOnModelExample
LightOn model example
{
"model": "multilingual-e5-large",
"input": "Hello"
}
object
model
string Required
Model to use, must exist and be configured from the admin.
object
model
string Required
Model to use, must exist and be configured from the admin.
object
model
string Required
Model to use, must exist and be configured from the admin.
Responses
200
No response body
Was this article helpful?