I'm trying to use PineconeClient, importing from "@pinecone-database/pinecone";
But I'm getting the following error:
Module '"@pinecone-database/pinecone"' has no exported member 'PineconeClient'.ts(2305)
I tried to update but it didn't work...
I'm trying to use PineconeClient, importing from "@pinecone-database/pinecone";
But I'm getting the following error:
Module '"@pinecone-database/pinecone"' has no exported member 'PineconeClient'.ts(2305)
I tried to update but it didn't work...
Please check your @pinecone-database/pinecone library version, because from v1.1.0 they removed PineconeClient.
following is the updated way of creating pincone client,
You can refer following link for the same:
https://docs.pinecone.io/legacy/getting-started/quickstart
Please try this solution, if you still find an error let me know.