Core concepts
Embeddings
Vectorize text for search, clustering, and RAG — OpenAI-compatible /v1/embeddings.
POST
https://api.rodiumai.io/v1/embeddingsUse client.embeddings.create with a RodiumAi base_url. Input can be a string or an array of strings.
Choosing a model
Start with openai/text-embedding-3-small for cost-efficient retrieval. Confirm availability via GET /v1/models.
Examples
…Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Embedding model id (e.g. openai/text-embedding-3-small). |
| input | string | array | Required | Text or array of texts to embed. |