docsearch = pc.from_existing_index(index_name, embeddings)
AttributeError: ‘Pinecone’ object has no attribute ‘from_existing_index’
Hi @garimasrivastava0104, welcome to the Pinecone forums and thanks for your question!
Could you please share:
- What documentation or tutorial you’re following?
- What version of the Pinecone and LangChain you’re using?
Please see our up-to-date LangChain guide here, and let me know if you have issues following it.