Closed nicolasmaldonadoj closed 1 year ago
Make sure to use the proper name of your index. For example mine is just named index. Also set your dimensions to 1536
I managed to fix the issue by changing my open ai api key, earlier I was using a free trial account and now I am using a paid one, and it works flawlessly.
Hello, I have exactly the same error, while I followed everything well I put the name index with a size of 1536 for Pinecone and I regenerate a key api pay chat gpt but it still does not work ... Can you help me?
I rotated my pinecone API key, waited 10 min as it updated, and then boom inserts galore. Oh, and make sure that the index name in the .env is the same as in the pinecone.ts
Hi, @nicolasmaldonadoj! 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 were experiencing an error while running the npm run ingest
command with Pinecone. The error message suggested that there was a problem calling the upsert
function, resulting in a failed data ingestion. Some users have suggested checking the proper name of the index and setting the dimensions correctly. It seems that the issue has been resolved by changing the OpenAI API key from a free trial account to a paid one, or by rotating the Pinecone API key.
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 gpt4-pdf-chatbot-langchain project!
Hi, Im having problems with Pinecone. I dont know what the error might be.
creating vector store... error [PineconeError: PineconeClient: Error calling upsert: PineconeError: PineconeClient: Error calling upsertRaw: FetchError: The request failed and the interceptors did not return an alternative response] /Users/nicolasmaldonado/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:46 throw new Error('Failed to ingest your data'); ^
Error: Failed to ingest your data at run (/Users/nicolasmaldonado/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:46:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at (/Users/nicolasmaldonado/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:51:3)