Create embeddings
embeddings_createTurn text into embedding vectors with any embedding model in the Hubris catalogue — for semantic search, RAG, deduplication and clustering. Same as POST /v1/embeddings, OpenAI shape: data[i].embedding is the vector for input[i].
Pass a list of strings to embed a batch in one call, which is faster and cheaper than one call per string. Vectors are long: 1536 numbers make about 30 KB of JSON, and the whole answer lands in your context. Embed only what you will actually store or compare, use dimensions where the model allows it, and send large batches through the HTTP API (POST /v1/embeddings).
Spends money from the account balance: billed per input token. usage.cost_rub is what this call cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to embed: one string, or a list of up to 16 strings embedded in one call. | |
| model | Yes | Model id from the catalogue, vendor included and matched exactly, e.g. "openai/text-embedding-3-small". Find one with models_search and tool: "embeddings_create". | |
| dimensions | No | Shorter vectors, only on models that support it (openai/text-embedding-3-*). Leave out otherwise. |