Download OpenAPI specification:Download
OpenAI-compatible embedding service powered by vLLM
Generate embeddings for the provided input texts (OpenAI-compatible).
required | Input (string) or Array of Input (strings) (Input) |
| model required | string (Model) |
| encoding_format | string (Encoding Format) Default: "float" |
{- "input": "string",
- "model": "string",
- "encoding_format": "float"
}{- "object": "list",
- "data": [
- {
- "object": "embedding",
- "embedding": [
- 0
], - "index": 0
}
], - "model": "string",
- "usage": {
- "prompt_tokens": 0,
- "total_tokens": 0
}
}