Skip to main content

When to use it

nvidia/llama-text-embed-v2 is a state-of-the-art embedding model available natively in Pinecone. Developed by NVIDIA Research, it’s built on the Llama 3.2 1B architecture and optimized for high retrieval quality with low-latency inference. Also known as llama-3_2-nv-embedqa-1b-v2, the model distills techniques from NVIDIA’s industry-leading NV-2 (7B parameters) into an efficient, production-ready solution.
  • Retrieval quality: The model surpasses OpenAI’s text-embedding-3-large across multiple benchmarks, in some cases improving accuracy by more than 20%
  • Real-time queries: Predictable and consistent query speeds for responsive search with p99 latencies 12x faster than OpenAI Large
  • Multilingual: Supports 26 languages, including English, Spanish, Chinese, Hindi, Japanese, Korean, French, and German

Inputs, limits, and pricing

Monthly and per-minute limits depend on your plan. See Rate limits.

Quickstart

Installation

Integrated embedding on document indexes requires Python SDK 10.1.0 or later, or Node.js SDK 9.1.0 or later.

Create index

This creates a document index whose chunk_text field embeds with llama-text-embed-v2 at 1,024 dimensions, the model’s default. To use another supported size, set dimension to 2048, 768, 512, or 384.

Embed & upsert

Upsert documents with plain text on the embedded field. Pinecone embeds each value on write, up to 96 documents per request.

Query

Search with an embed clause. Pinecone embeds the query text with the field’s model and returns the closest documents.

Parameters

When you call Generate vectors, set these in the request’s parameters. On an embed field, set them in write_parameters and read_parameters, except dimension, which you set on the field itself. Pinecone sets input_type to passage for writes and query for reads by default.

Good to know

You can call the Generate vectors operation for standalone embedding to turn text into vectors without writing to an index. That differs from integrated embedding on a document index, where Pinecone embeds a field’s text when you upsert or search. To see how many embedding tokens a request consumes, see Embedding tokens.