llama-index-embeddings-forge
LlamaIndex embeddings for Forge — Voxell's hosted text-embedding API.
Why Forge
One API, three tiers — pick your point on the quality/cost curve:
| Model | Dim | Notes |
|---|---|---|
turbo |
1024 | fast, low cost |
pro |
2560 | |
ultra |
4096 | Qwen3-Embedding-8B; ~75+ avg task score on MTEB, currently #4 on MTEB (English) — the top usable model (the three above are research-only) |
Matryoshka (MRL) dimensions are real: truncated vectors are re-normalized, so a shorter dim is a
unit-norm prefix of the full vector — smaller index, minimal quality loss. Forge logs request
metadata only (model, tokens, latency) — never your text or vectors.
Install
pip install llama-index-embeddings-forge
Usage
from llama_index.embeddings.forge import ForgeEmbedding
# FORGE_API_KEY is read from the environment; or pass api_key=...
embed_model = ForgeEmbedding(model="turbo")
vector = embed_model.get_text_embedding("the quick brown fox")
query = embed_model.get_query_embedding("fast animal")
batch = embed_model.get_text_embedding_batch(["doc one", "doc two"])
As the global embed model
from llama_index.core import Settings, VectorStoreIndex, Document
from llama_index.embeddings.forge import ForgeEmbedding
Settings.embed_model = ForgeEmbedding(model="pro")
index = VectorStoreIndex.from_documents([Document(text="hello world")])
Async
vec = await embed_model.aget_text_embedding("doc")
q = await embed_model.aget_query_embedding("a search query")
Matryoshka (shorter vectors)
embed_model = ForgeEmbedding(model="turbo", dimensions=256) # re-normalized 256-d vectors
Configuration
| Arg | Default | Notes |
|---|---|---|
model |
"turbo" |
turbo | pro | ultra (stored as model_name) |
api_key |
FORGE_API_KEY env |
get one at dash.voxell.ai |
base_url |
https://api.voxell.ai |
|
dimensions |
None |
Matryoshka truncation, e.g. 256 |
timeout |
30.0 |
seconds |
License
MIT © Voxell, Inc.
Metadata
Release files for llama-index-embeddings-forge 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llama_index_embeddings_forge-0.1.0.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_embeddings_forge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / llama_index_embeddings_forge-0.1.0.tar.gz
| Download URL | llama_index_embeddings_forge-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e2c2439e4001349a3ce6d938989df7dc80114ec6c14c959d1ef9359f231d540
|
|
BLAKE2b-256 checksum How to use checksums |
3df92a8d05f49482e455255a051d2e1b87c7f3eb739b3486e80c12b9966bf4b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / llama_index_embeddings_forge-0.1.0-py3-none-any.whl
| Download URL | llama_index_embeddings_forge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
616d25b7210bcb91063fd92f08e5bb7e2d56937b9d7beb8ed9a1ae80ce17145b
|
|
BLAKE2b-256 checksum How to use checksums |
4d0124ead5ae34073fa789c5372163936d7e27f83be8eaf413f25067f4f26aad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for llama-index-embeddings-forge 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.