Skip to main content

llama-index embeddings nvidia integration

Project description

NVIDIA's Embeddings connector

With this connector, you'll be able to connect to and generate from compatible models available as hosted NVIDIA NIMs, such as:

  • NVIDIA's Retrieval QA Embedding Model embed-qa-4

First, get a free API key. Go to https://build.nvidia.com, select a model, click "Get API Key". Store this key in your environment as NVIDIA_API_KEY.

Installation

pip install llama-index-embeddings-nvidia

Usage

from llama_index.embeddings.nvidia import NVIDIAEmbedding

embedder = NVIDIAEmbedding()
embedder.get_query_embedding("What's the weather like in Komchatka?")

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_nvidia-0.1.3.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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