index.upsert(vectors=[{“id”: unique_id, “values”: embedding}])
^^^^^^^^^^^^
AttributeError: ‘function’ object has no attribute ‘upsert’
Hi @9looo7y77, and welcome to the Pinecone community forums!
Thank you for your question.
Could you please share all your relevant code, before and after this line causing the issue, as that will help us to debug what might be going wrong.
Please be careful not to post any secrets such as your Pinecone API key.
Looking forward to your response.
Best,
Zack