Text Embeddings Inference
OpenAI compatible route. Returns a 424 status code if the model is not an embedding model.
post/v1/embeddings
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "null",
"user": "null"
}Response
Embeddings
Example response
{
"data": [
{
"object": "embedding"
}
],
"model": "thenlper/gte-base",
"object": "list"
}Changes
No recorded changes to this operation across all 1 revision of this API.