LangChain embeddings for Forge, Voxell's hosted text-embedding API (turbo, pro, ultra tiers). Voxell's Ingot-8B-R3 ranks #1 for English on the public MTEB leaderboard.
Project description
langchain-voxell
LangChain embeddings for Forge, Voxell's hosted text-embedding API.
Voxell's Ingot-8B-R3 ranks #1 for English on the public MTEB leaderboard (English v2), with a 75.98 mean task score across 41 tasks. It is the top usable English embedding model. See the model card, or try Forge with no signup on the playground.
Why Forge
One API, three tiers. Pick your point on the quality and cost curve:
| Tier | Dim | Notes |
|---|---|---|
turbo |
1024 | fast, low cost |
pro |
2560 | balanced quality and cost |
ultra |
4096 | highest quality, top tier |
Matryoshka (MRL) dimensions are real: truncated vectors are re-normalized, so a shorter dim is a
unit-norm prefix of the full vector, which means a smaller index with minimal quality loss. Forge
logs request metadata only (model, tokens, latency), never your text or vectors.
Install
pip install langchain-voxell
Usage
from langchain_voxell import ForgeEmbeddings
# FORGE_API_KEY is read from the environment; or pass api_key=...
emb = ForgeEmbeddings(model="turbo")
doc_vectors = emb.embed_documents(["the quick brown fox", "lazy dog"])
query_vector = emb.embed_query("fast animal")
embed_query and embed_documents set the Forge input_type (query / document) for you.
Async
vectors = await emb.aembed_documents(["alpha", "beta"])
q = await emb.aembed_query("a search query")
Matryoshka (shorter vectors)
emb = ForgeEmbeddings(model="turbo", dimensions=256) # re-normalized 256-d vectors
With a vector store
from langchain_community.vectorstores import FAISS
from langchain_voxell import ForgeEmbeddings
store = FAISS.from_texts(["doc one", "doc two"], ForgeEmbeddings(model="pro"))
hits = store.similarity_search("query", k=2)
Configuration
| Arg | Default | Notes |
|---|---|---|
model |
"turbo" |
turbo | pro | ultra |
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_voxell-0.1.1.tar.gz.
File metadata
- Download URL: langchain_voxell-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a7875e0f6711d4b267bb63e78d215b2740a2b674d555d50342a7a65fdbc7f2
|
|
| MD5 |
5c8c2bcf7eac015ef6e47994a17a732b
|
|
| BLAKE2b-256 |
29e14783738b7d54b6141520a2ff516910a0fd846594b1b179a928dae7ef7441
|
Provenance
The following attestation bundles were made for langchain_voxell-0.1.1.tar.gz:
Publisher:
publish.yml on VoxellInc/langchain-voxell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_voxell-0.1.1.tar.gz -
Subject digest:
f9a7875e0f6711d4b267bb63e78d215b2740a2b674d555d50342a7a65fdbc7f2 - Sigstore transparency entry: 1792268526
- Sigstore integration time:
-
Permalink:
VoxellInc/langchain-voxell@b31591b1aef802e5dcfd5ba8a41290959a9d9c19 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/VoxellInc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b31591b1aef802e5dcfd5ba8a41290959a9d9c19 -
Trigger Event:
release
-
Statement type:
File details
Details for the file langchain_voxell-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langchain_voxell-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d9d7204bce9fc2b50fb09a21e43f77b42873e51c52be641d26a6cf78cfa06c
|
|
| MD5 |
c32111c23b01f3078f8f9b9d46f894ca
|
|
| BLAKE2b-256 |
d4fc152127c70e85029c2884e6081555c35056fdf7928a36eec537fa8aae8f5b
|
Provenance
The following attestation bundles were made for langchain_voxell-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on VoxellInc/langchain-voxell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_voxell-0.1.1-py3-none-any.whl -
Subject digest:
31d9d7204bce9fc2b50fb09a21e43f77b42873e51c52be641d26a6cf78cfa06c - Sigstore transparency entry: 1792268933
- Sigstore integration time:
-
Permalink:
VoxellInc/langchain-voxell@b31591b1aef802e5dcfd5ba8a41290959a9d9c19 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/VoxellInc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b31591b1aef802e5dcfd5ba8a41290959a9d9c19 -
Trigger Event:
release
-
Statement type: