Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run ingest / Pinecone error #350

Closed
nicolasmaldonadoj opened this issue Jun 12, 2023 · 5 comments
Closed

npm run ingest / Pinecone error #350

nicolasmaldonadoj opened this issue Jun 12, 2023 · 5 comments

Comments

@nicolasmaldonadoj
Copy link

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)

@Heymusky
Copy link

Make sure to use the proper name of your index. For example mine is just named index.
image
Also set your dimensions to 1536

@oberoir080
Copy link

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.

@shemtovsamuel
Copy link

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?

@niccolley-alation
Copy link

niccolley-alation commented Aug 4, 2023

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

Copy link

dosubot bot commented Nov 3, 2023

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!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 3, 2023
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2023
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants