Skip to main content

llama-index embeddings voxell integration

Project description

LlamaIndex Embeddings Integration: Voxell

Voxell Forge is a hosted text-embedding API with three tiers (turbo, pro, and ultra) on an OpenAI-compatible endpoint.

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.

Installation

pip install llama-index-embeddings-voxell

Setup

Create a free API key at dash.voxell.ai (new accounts include 10M free tokens), then set it in your environment:

export FORGE_API_KEY="your_api_key_here"

Usage

from llama_index.embeddings.voxell import VoxellEmbedding

emb = VoxellEmbedding(model="turbo")  # reads FORGE_API_KEY from the environment

vector = emb.get_text_embedding("Voxell Forge turns text into vectors.")
print(len(vector))  # 1024

query_vector = emb.get_query_embedding("How do I turn text into vectors?")

Tiers

Pick your point on the quality and cost curve:

Tier Dimensions
turbo 1024
pro 2560
ultra 4096

Shorter vectors with Matryoshka

Pass dimensions to get a shorter, re-normalized vector, which means a smaller index with minimal quality loss.

emb = VoxellEmbedding(model="turbo", dimensions=256)
short_vector = emb.get_query_embedding("a compact embedding")

Async

vector = await emb.aget_text_embedding("async text")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_embeddings_voxell-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_embeddings_voxell-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_embeddings_voxell-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_voxell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db7dbc36808f8f8a75a4c70fafe15b9cb39a3e3331b3646a56d127e448c7fcd7
MD5 9203ab087138bfec5ee7875fd5d95d65
BLAKE2b-256 d25f323dfc6d502a0143eb075e104fc6d863273405ef4882f1851b86b67a5db4

See more details on using hashes here.

Provenance

The following attestation bundles were made for llama_index_embeddings_voxell-0.1.0.tar.gz:

Publisher: publish.yml on VoxellInc/llama-index-embeddings-voxell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llama_index_embeddings_voxell-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_embeddings_voxell-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91aaf7192edce8be7bdd7db66e09d5377dcd6943a92d4a1ef49eb54bfa589714
MD5 9ae0b26c6f114fb654a0b318641bbe7e
BLAKE2b-256 0a8d6c76123eb5e074c209edec0ae0ca8554945f9ee8aac07118065c666ec23a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llama_index_embeddings_voxell-0.1.0-py3-none-any.whl:

Publisher: publish.yml on VoxellInc/llama-index-embeddings-voxell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page