Embed text with Forge
embedGenerate vector embeddings from text for semantic search, RAG, clustering, or similarity tasks. Choose between query or document input type and adjust model quality and dimensionality.
Instructions
Generate vector embeddings for one or more texts with Forge (Voxell's hosted embedding API). Use it to turn text into vectors for semantic search, RAG, clustering, or similarity. Set input_type='query' for search queries and 'document' for content you index. Choose model by quality/cost: turbo (1024d, fast, default) -> pro (2560d) -> ultra (4096d, #4 on MTEB English, top usable). Optionally set dim to truncate (Matryoshka, re-normalized).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | A text, or array of texts, to embed. | |
| model | No | Model by quality/cost: turbo (1024d, fast, default), pro (2560d), ultra (4096d, #4 on MTEB English, top usable). | |
| dim | No | Truncate to N dimensions (Matryoshka, re-normalized) — fewer dims = smaller, cheaper vectors. Omit for the model's native size. | |
| input_type | No | 'query' applies a retrieval prefix; 'document' is raw. Default 'document'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| dim | Yes | ||
| count | Yes | ||
| tokens | Yes | ||
| embeddings | Yes |