pc = Pinecone(api_key=pinecone_api_key)
index_name=‘annvec’
index = pc.Index(index_name)
embeddings = OpenAIEmbeddings(
openai_api_key=openai_api_key
)
from langchain.vectorstores import Pinecone as PineconeStore
docsearch=PineconeStore.from_texts(
[t.page_content for t in textchunk],
embeddings,
index_name=index_name
)
PineconeConfigurationError: You haven’t specified an Api-Key.
I am getting missing API for docsearch…any help pls…I have been at this issue …seems like forever!