Embeddings¶
This section lists the implemented endpoints under this capability.
Create embeddings¶
POST /v1/embeddings
Convert text into vector embeddings.
Authentication¶
- Bearer Token (
Authorization: Bearer <token>)
Request Body¶
- Content-Type:
application/json - Schema:
EmbeddingRequest
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | yes | - |
| input | - | yes | Text to embed |
| encoding_format | string | no | - |
| dimensions | integer | no | Output vector dimensions |
Responses¶
| Status | Description | Schema |
|---|---|---|
| 200 | Embeddings created successfully | EmbeddingResponse |