Closed Victor-Timi closed 9 months ago
Go to package.json and compare the versions of pinecone-database, install the same version as this repo.
Hi, @Victor-Timi,
I'm helping the gpt4-pdf-chatbot-langchain team manage their backlog and am marking this issue as stale. It looks like you opened an issue regarding the deprecation warning for the PineconeClient import statement. The issue arises from using the deprecated PineconeClient in the import statement, and nisuJaiswal suggested checking the package.json file and installing the same version of pinecone-database as the repository to resolve the issue.
Could you please confirm if this issue is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository? If it is, kindly let the gpt4-pdf-chatbot-langchain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days.
Thank you for your understanding and cooperation.
I just wrote my import statement which is:
import { PineconeClient } from "@pinecone-database/pinecone";
But here is what i am getting:
'PineconeClient' is deprecated.ts(6385) index.d.ts(10, 4): The declaration was marked as deprecated here.