mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.86k stars 3.01k forks source link

PineconeClient is deprecated #408

Closed Victor-Timi closed 9 months ago

Victor-Timi commented 1 year ago

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.

nisuJaiswal commented 1 year ago

Go to package.json and compare the versions of pinecone-database, install the same version as this repo.

dosubot[bot] commented 9 months ago

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