No active indexes found in your Pinecone project
jonasmit opened this issue · 0 comments
I set up Pinecone, added both the API Key and the environment variables but seem to have issues with connecting to pinecone.
Any thoughts about how to modify this block of code or troubleshoot?
I do see the Jupyter variables for documents, embeddings and index_name in VS Code but not sure if Pinecone is being set correctly
from langchain_pinecone import PineconeVectorStore
index_name = "youtube-index"
pinecone = PineconeVectorStore.from_documents(
documents, embeddings, index_name=index_name
)
ERror:
390 f"Index '{index_name}' not found in your Pinecone project. "
391 f"Did you mean one of the following indexes: {', '.join(index_names)}"
392 )
ValueError: No active indexes found in your Pinecone project, are you sure you're using the right Pinecone API key and Environment? Please double check your Pinecone dashboard.