Registry / ai-ml / llama-index-embeddings-nvidia

llama-index-embeddings-nvidia

JSON →
library0.5.1pypypiunverified

LlamaIndex integration for NVIDIA embedding models (e.g., NV-Embed-QA). Provides access to NVIDIA's embedding API for retrieval-augmented generation. Current version: 0.5.1. Release cadence: weekly.

pip install llama-index-embeddings-nvidia
INSTALL
IMPORT
SIG · LLAMA-INDEX-EMBEDD
L
llama-index-embeddings-nvidia
ai-mlpythonv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NvidiaEmbedding
from llama_index.embeddings.nvidia import NvidiaEmbedding
from llama_index.embeddings.nvidia import NvidiaEmbedding

Initialize the NVIDIA embedding model and embed a single text.

import os from llama_index.embeddings.nvidia import NvidiaEmbedding # Set your NVIDIA API key (or use environment variable NVIDIA_API_KEY) os.environ['NVIDIA_API_KEY'] = 'nvapi-...' embed_model = NvidiaEmbedding(model="NV-Embed-QA", truncate="END") embeddings = embed_model.get_text_embedding("Hello LlamaIndex!") print(len(embeddings))
Debug
Known issues
breakingIn version 0.5.0, the `api_key` parameter was removed from the constructor. Use environment variable or `NvidiaEmbedding(api_key="...")` no longer works.
fix
Set `NVIDIA_API_KEY` environment variable before instantiation.
affects: >=0.5.0
gotchaThe model name must match exactly with NVIDIA's model catalog. Using an invalid model will raise a 404 error from the API.
fix
Check available models at https://build.nvidia.com/explore/
affects: all
gotchaBy default, the client expects the NVIDIA API base URL to be 'https://integrate.api.nvidia.com/v1'. If using a different endpoint, you must set it via `base_url` parameter or environment variable `NVIDIA_BASE_URL`.
fix
Pass `base_url` to NvidiaEmbedding or set `NVIDIA_BASE_URL` env var.
affects: all
Upgrade
Version history
0.5.1latest on PyPI · released Apr 8, 2026
Audit
Dependencies
llama-index-corerequiredCore LlamaIndex classes and abstractions
Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

llama-index-embeddings-nvidia — pip install llama-index-embeddings-nvidia · libregistry