mayooear / gpt4-pdf-chatbot-langchain

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

Issue with ingesting data for GPT-3-turbo language chain PDF chatbot #295

Closed jpandeinge closed 1 year ago

jpandeinge commented 1 year ago

I am encountering an error while trying to ingest data for a GPT-3-turbo language chain PDF chatbot. I have tried obtaining new API keys and Pinecone Index, but the problem persists. I am unsure if I need to subscribe to OpenAI to use GPT-3-turbo as I don't have a paid account. Here's the error message that I'm seeing:

data: { error: [Object] }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON],
  attemptNumber: 7,
  retriesLeft: 0
}
/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:44
    throw new Error('Failed to ingest your data');
          ^

Error: Failed to ingest your data
    at run (/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:44:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at <anonymous> (/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:49:3)

Node.js v18.14.0

I have tried to debug the issue, but I am still unable to resolve it. I would appreciate any help with this problem.

jpandeinge commented 1 year ago

It turns out that an OpenAI subscription account is required to use GPT-3-turbo and overcome the error.

sbouziani commented 1 year ago

It looks like you are encountering an issue while ingesting data for your GPT-3-turbo language chain PDF chatbot. Here are a few steps you can take to troubleshoot the problem:

Check your API keys and Pinecone Index: Make sure that you are using the correct API keys and that your Pinecone Index is set up correctly.

Verify your subscription: GPT-3-turbo is a paid service, so make sure that you have a paid subscription with OpenAI. Without a paid subscription, you may not be able to use GPT-3-turbo.

Check the data you are ingesting: Make sure that the data you are trying to ingest is in a compatible format and that it meets all the requirements for the chatbot.

Review your code: Review your code and confirm that there are no syntax errors or other issues. You may also want to check the OpenAI API documentation to ensure that you are using the correct API calls and methods.

If you have tried these steps and are still encountering an error, you may want to reach out to OpenAI support for assistance. They should be able to provide further guidance on resolving the issue

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Joseph Mwatukange @.> Sent: Tuesday, May 16, 2023 9:13:58 AM To: mayooear/gpt4-pdf-chatbot-langchain @.> Cc: Subscribed @.***> Subject: Re: [mayooear/gpt4-pdf-chatbot-langchain] Issue with ingesting data for GPT-3-turbo language chain PDF chatbot (Issue #295)

It turns out that an OpenAI subscription account is required to use GPT-3-turbo and overcome the error.

— Reply to this email directly, view it on GitHubhttps://github.com/mayooear/gpt4-pdf-chatbot-langchain/issues/295#issuecomment-1549205710, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A67NYRSPTKFV4C2ARKHJNH3XGMZMNANCNFSM6AAAAAAYDEQFOM. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jpandeinge commented 1 year ago

thanjk you this is resolved

It looks like you are encountering an issue while ingesting data for your GPT-3-turbo language chain PDF chatbot. Here are a few steps you can take to troubleshoot the problem: Check your API keys and Pinecone Index: Make sure that you are using the correct API keys and that your Pinecone Index is set up correctly. Verify your subscription: GPT-3-turbo is a paid service, so make sure that you have a paid subscription with OpenAI. Without a paid subscription, you may not be able to use GPT-3-turbo. Check the data you are ingesting: Make sure that the data you are trying to ingest is in a compatible format and that it meets all the requirements for the chatbot. Review your code: Review your code and confirm that there are no syntax errors or other issues. You may also want to check the OpenAI API documentation to ensure that you are using the correct API calls and methods. If you have tried these steps and are still encountering an error, you may want to reach out to OpenAI support for assistance. They should be able to provide further guidance on resolving the issue Get Outlook for Androidhttps://aka.ms/AAb9ysg ____ From: Joseph Mwatukange @.> Sent: Tuesday, May 16, 2023 9:13:58 AM To: mayooear/gpt4-pdf-chatbot-langchain @.> Cc: Subscribed @.> Subject: Re: [mayooear/gpt4-pdf-chatbot-langchain] Issue with ingesting data for GPT-3-turbo language chain PDF chatbot (Issue #295) It turns out that an OpenAI subscription account is required to use GPT-3-turbo and overcome the error. — Reply to this email directly, view it on GitHub<#295 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A67NYRSPTKFV4C2ARKHJNH3XGMZMNANCNFSM6AAAAAAYDEQFOM. You are receiving this because you are subscribed to this thread.Message ID: @.>

this is now resolved, thank you