Documentation Index
Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
Use this file to discover all available pages before exploring further.
Lorem Ipsum
🎉 New: Standard and Enterprise orgs get a one-time $250 bulk import credit (1 TB), through July 31, 2026. See details
Use the voyage-lite-02-instruct embedding or reranking model with Pinecone: specs and index setup. The base-size text embedding model from the second.
Documentation Index
Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
Use this file to discover all available pages before exploring further.
pip install -qU voyageai==0.2.1
import voyageai
voyageai.api_key = "YOUR_VOYAGE_API_KEY"
model_id = "voyage-02-lite-instruct"
def embed(docs: list[str]) -> list[list[float]]:
if len(docs) > 8:
raise ValueError('List of documents cannot be longer than 8')
doc_embeds = voyageai.get_embeddings(docs, model=model_id)
return doc_embeds
doc_embeds = embed(docs)
Was this page helpful?