Closed frank0828 closed 1 year ago
Looks like your pinecone is not configured properly. Are your pinecone index and api keys set correctly in the env file?
Hi, @frank0828. I'm Dosu, and I'm helping the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, you encountered an error titled "An error occurred while fetching the data" when trying to fetch data locally after successfully storing vectors on Pinecone. It seems that dissorial suggested checking if the Pinecone index and API keys are set correctly in the env file. This suggestion may have resolved the issue.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.
Thank you for your understanding and contribution to the project. Let us know if you have any further questions or concerns.
I finally got the Vectors to store on Pinecone, but when I try to run it locally, I got " An error occurred while fetching the data. Please try again." , when I send a message. Please help me.
error [ErrorWithoutStackTrace: PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0] error - utils\pinecone-client.ts (19:10) @ initPinecone error - Error: Failed to initialize Pinecone Client at initPinecone (webpack-internal:///(api)/./utils/pinecone-client.ts:23:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async eval (webpack-internal:///(api)/./utils/pinecone-client.ts:26:18) 17 | } catch (error) { 18 | console.log('error', error);